/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 103 dhcp_ipc_request_t *request = calloc(1, DHCP_IPC_REQUEST_SIZE + in dhcp_ipc_alloc_request() 137 dhcp_ipc_reply_t *reply = calloc(1, DHCP_IPC_REPLY_SIZE + buffer_size); in dhcp_ipc_alloc_reply() 806 ifnames = calloc(1, n_ifs * (LIFNAMSIZ + 1)); in get_ifnames() 808 ifc.ifc_req = calloc(n_ifs, sizeof (struct ifreq)); in get_ifnames()
|
/illumos-gate/usr/src/lib/libofmt/common/ |
H A D | ofmt.c | 112 sp = calloc(sizeof (split_t), 1); in split_str() 146 sp = calloc(sizeof (split_t), 1); in split_fields() 236 os = calloc(sizeof (ofmt_state_t) + in ofmt_open() 450 sp = calloc(sizeof (split_t *), os->os_nfields); in ofmt_print()
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 534 newp = (fs_mntlist_t *)calloc((size_t)1, in create_mntlist_entry() 594 newp = (fs_mntlist_t *)calloc((size_t)1, in create_extmntlist_entry() 659 search_entry = (struct mnttab *)calloc((size_t)1, in create_mnttab_filter() 887 value = (char *)calloc((size_t)(value_len+1), in is_option()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | saslint.h | 330 sasl_calloc_t *calloc; member 463 (gctx->sasl_allocation_utils.calloc((__nelem__), (__size__))) 468 #define sasl_sun_CALLOC(__nelem__, __size__) (calloc((__nelem__), (__size__))) 480 (_sasl_allocation_utils.calloc((__nelem__), (__size__)))
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | commp_util.h | 54 (dst) = calloc(1, (len) + 1); \
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPFindSrvTypes.c | 147 if (!(msg->iov = calloc(6, sizeof (*(msg->iov))))) { in slp_packSrvTypeRqst() 166 if (!(msg->msg = calloc(1, msgLen))) { in slp_packSrvTypeRqst()
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | service.c | 47 if ((*handle = svc = calloc(1, sizeof (*svc))) == NULL) in papiServiceCreate() 59 if ((svc->msgbuf = calloc(1, svc->msgbuf_size)) == NULL) in papiServiceCreate()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswparse.c | 193 if ((cfp = calloc(1, sizeof (struct __nsw_switchconfig_v1))) in _nsw_getoneconfig_v1() 209 if ((lkp = calloc(1, sizeof (struct __nsw_lookup_v1))) in _nsw_getoneconfig_v1()
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.c | 285 if ((zids = (zoneid_t *)calloc(*nzents, sizeof (zoneid_t))) == NULL) { in get_running_zones() 303 *zents = calloc(*nzents, sizeof (zone_entry_t)); in get_running_zones()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 326 namep = (vm_name_t *)calloc(MAX_DISK_GROUPS, nsize); in load_vxvm() 332 pathp = (vm_path_t *)calloc(MAX_DISKS_DG, psize); in load_vxvm()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/ |
H A D | libnfs_basic.c | 149 result = calloc(1, sizeof (fs_locations4)); in get_fs_locations() 152 fsl_array = calloc(fsl_count, sizeof (fs_location4)); in get_fs_locations()
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | dict.c | 273 if ((hdl = calloc(1, sizeof (dict_hdl_t))) == NULL) in dict_new() 276 if ((hdl->dh_buckets = calloc(hdl->dh_size, sizeof (dict_bucket_t *))) in dict_new()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc_ohash.c | 38 info.calloc = hash_calloc; in mandoc_ohash_init()
|
H A D | compat_ohash.h | 30 void *(*calloc)(size_t, size_t, void *); member
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 610 (struct ypbind_binding *)calloc(1, sizeof (*b)); 683 (struct netbuf *)calloc(1, sizeof (struct netbuf))) == NULL) 971 if (pdom = (struct domain *)calloc(1, sizeof (struct domain))) { 1076 b = (struct ypbind_binding *)calloc(1, sizeof (*b)); 1084 (struct netconfig *)calloc(1, sizeof (struct netconfig))); 1086 (struct netbuf *)calloc(1, sizeof (struct netbuf))); 1100 ncb->nc_lookups = (char **)calloc(nca->nc_nlookups, sizeof (char *));
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | alloc.h | 63 #define MEM_ZALLOC(AREA, SIZE) calloc((SIZE), 1)
|
/illumos-gate/usr/src/test/libmlrpc-tests/tests/netrlogon/krb5_pac_tests/ |
H A D | krb5_pac_decode.c | 57 token = calloc(1, sizeof (*token)); in main()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmstruct.h | 110 ((struct pmtab *)calloc((unsigned)1, \
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | alloc.c | 66 return (alloctest(calloc(nelem, size))); in mycalloc()
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | common.c | 39 addr = calloc(1, size); in thr_get_storage()
|
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 146 calloc(1, sizeof (struct tz_continent))) == NULL) { in get_tz_continents() 290 calloc(1, sizeof (struct tz_country))) == NULL) { in get_tz_countries() 355 if ((ptr = calloc(len + 1, 1)) == NULL) { in get_tz_countries() 391 ((cp2 = calloc(ncount, sizeof (struct tz_country))) != NULL)) { in get_tz_countries() 537 calloc(1, sizeof (struct tz_timezone))) == in get_timezones_by_country() 572 if ((ptr = calloc(1, len_tzdesc + 1)) in get_timezones_by_country()
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_util.c | 88 if ((ret = calloc(1, size)) == NULL) in safe_malloc()
|
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | newitem.c | 43 if (item = (ITEM *) calloc(1, sizeof (ITEM))) { in new_item()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | memutils.c | 58 cp = calloc(nelem, size);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 142 calloc(1, sizeof (struct sa_proto_plugin)); in proto_plugin_init() 160 (char **)calloc(num_protos, sizeof (char *)); in proto_plugin_init() 162 (struct sa_plugin_ops **)calloc(num_protos, in proto_plugin_init()
|