| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | conn.c | 62 conn = calloc(1, sizeof(struct conn)); in conn_init() 66 conn->welcome = calloc(1, CONN_WELCOME_LEN_MAX + 1); in conn_init() 67 conn->prompt = calloc(1, CONN_PROMPT_LEN_MAX + 1); in conn_init() 68 conn->buf = calloc(1, p->buf_size); in conn_init() 69 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in conn_init() 70 conn->msg_out = calloc(1, p->msg_out_len_max + 1); in conn_init()
|
| H A D | swq.c | 62 swq = calloc(1, sizeof(struct swq)); in swq_create()
|
| H A D | mempool.c | 67 mempool = calloc(1, sizeof(struct mempool)); in mempool_create()
|
| H A D | tap.c | 87 tap = calloc(1, sizeof(struct tap)); in tap_create()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | conn.c | 63 conn = calloc(1, sizeof(struct softnic_conn)); in softnic_conn_init() 67 conn->welcome = calloc(1, CONN_WELCOME_LEN_MAX + 1); in softnic_conn_init() 68 conn->prompt = calloc(1, CONN_PROMPT_LEN_MAX + 1); in softnic_conn_init() 69 conn->buf = calloc(1, p->buf_size); in softnic_conn_init() 70 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in softnic_conn_init() 71 conn->msg_out = calloc(1, p->msg_out_len_max + 1); in softnic_conn_init()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | conn.c | 63 conn = calloc(1, sizeof(struct conn)); in conn_init() 67 conn->welcome = calloc(1, CONN_WELCOME_LEN_MAX + 1); in conn_init() 68 conn->prompt = calloc(1, CONN_PROMPT_LEN_MAX + 1); in conn_init() 69 conn->buf = calloc(1, p->buf_size); in conn_init() 70 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in conn_init() 71 conn->msg_out = calloc(1, p->msg_out_len_max + 1); in conn_init()
|
| H A D | obj.c | 75 mempool = calloc(1, sizeof(struct mempool)); in mempool_create() 299 link = calloc(1, sizeof(struct link)); in link_create() 419 pipeline = calloc(1, sizeof(struct pipeline)); in pipeline_create() 461 obj = calloc(1, sizeof(struct obj)); in obj_init()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/ |
| H A D | overflow.c | 27 assert_ptr_null(calloc(1, max_size_class + 1), in TEST_BEGIN() 29 assert_ptr_null(calloc(1, SIZE_T_MAX), in TEST_BEGIN()
|
| /f-stack/dpdk/lib/librte_port/ |
| H A D | rte_swx_port_ethdev.c | 68 p = calloc(1, sizeof(struct reader)); in reader_create() 71 p->pkts = calloc(params->burst_size, sizeof(struct rte_mbuf *)); in reader_create() 200 p = calloc(1, sizeof(struct writer)); in writer_create() 203 p->pkts = calloc(params->burst_size, sizeof(struct rte_mbuf *)); in writer_create()
|
| H A D | rte_swx_port_source_sink.c | 88 p = calloc(1, sizeof(struct source)); in source_create() 92 p->pkts = calloc(n_pkts_max, sizeof(struct rte_mbuf *)); in source_create() 251 p = calloc(1, sizeof(struct sink)); in sink_create()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_barrier.c | 201 pt = calloc(n + 1, sizeof(*pt)); in plock_test() 202 lpt = calloc(n, sizeof(*lpt)); in plock_test() 203 sum = calloc(n + 1, sizeof(*sum)); in plock_test()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_swx_ctl.c | 153 key_mask = calloc(1, key_size); in table_params_get() 206 entry = calloc(1, sizeof(struct rte_swx_table_entry)); in table_entry_alloc() 212 entry->key = calloc(1, table->params.key_size); in table_entry_alloc() 217 entry->key_mask = calloc(1, table->params.key_size); in table_entry_alloc() 225 entry->action_data = calloc(1, table->params.action_data_size); in table_entry_alloc() 311 new_entry = calloc(1, sizeof(struct rte_swx_table_entry)); in table_entry_duplicate() 666 ctl->ts_next = calloc(ctl->info.n_tables, in table_state_create() 737 ctl = calloc(1, sizeof(struct rte_swx_ctl_pipeline)); in rte_swx_ctl_pipeline_create() 769 a->args = calloc(a->info.n_args, in rte_swx_ctl_pipeline_create() 818 t->mf = calloc(t->info.n_match_fields, in rte_swx_ctl_pipeline_create() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_trunc/ |
| H A D | file_trunc.c | 176 buf = (char *)calloc(1, bsize); in do_write() 177 rbuf = (char *)calloc(1, bsize); in do_write()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/include/ |
| H A D | stdlib.h | 50 #define calloc(n, sz) NULL macro
|
| /f-stack/freebsd/contrib/openzfs/lib/libshare/ |
| H A D | libshare.c | 55 fstype = calloc(1, sizeof (sa_fstype_t)); in register_fstype() 321 impl_share = calloc(1, sizeof (struct sa_share_impl)); in alloc_share() 339 impl_share->sa_fsinfo = calloc(fstypes_count, in alloc_share()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_strings.c | 74 zsp = calloc(1, sizeof (*zsp)); in zed_strings_create() 118 np = calloc(1, sizeof (*np)); in _zed_strings_node_create()
|
| /f-stack/freebsd/contrib/zstd/lib/freebsd/ |
| H A D | stdlib.h | 41 #define calloc(a, b) (mallocarray)((a), (b), M_ZSTD, M_WAITOK | M_ZERO) macro
|
| /f-stack/tools/ifconfig/ |
| H A D | ifgroup.c | 107 (struct ifg_req *)calloc(len / sizeof(struct ifg_req), in getifgroups() 166 if ((ifgr.ifgr_groups = calloc(1, len)) == NULL) in printgroup()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | zmalloc.c | 62 #define calloc(count,size) tc_calloc(count,size) macro 67 #define calloc(count,size) je_calloc(count,size) macro 131 void *ptr = calloc(1, size+PREFIX_SIZE); in zcalloc()
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | zutil.c | 301 extern voidp calloc OF((uInt items, uInt size)); 312 (voidpf)calloc(items, size);
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_util.c | 44 if ((data = calloc(1, size)) == NULL) { in safe_malloc()
|
| /f-stack/freebsd/netpfil/ipfw/test/ |
| H A D | main.c | 549 c->sched = calloc(1, c->schk_len); /* one parent scheduler */ in init() 550 c->si = calloc(1, c->si_len); /* one scheduler instance */ in init() 551 c->fs = calloc(c->flowsets, sizeof(struct dn_fsk)); in init() 552 c->q = calloc(c->flows, c->q_len); /* one queue per flow */ in init() 553 c->q_wfi = calloc(c->flows, sizeof(double)); /* stats, one per flow */ in init() 723 m = c->tosend = calloc(1, sizeof(struct mbuf)); in controller()
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | zstd_deps.h | 55 #define ZSTD_calloc(n,s) calloc((n), (s))
|
| /f-stack/tools/libutil/ |
| H A D | kinfo_getvmobject.c | 77 list = calloc(cnt, sizeof(*list)); in kinfo_getvmobject()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/randfree_file/ |
| H A D | randfree_file.c | 92 buf = (char *)calloc(1, filesize); in main()
|