/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetProprietaryLBOidListPlugin.c | 60 objList = (uint64_t *)calloc(1, DEFAULT_BUFFER_SIZE_LOADBALANCE); in MP_GetProprietaryLoadBalanceOidListPlugin() 163 objList = (uint64_t *)calloc(1, numOBJ * sizeof (uint64_t)); in MP_GetProprietaryLoadBalanceOidListPlugin()
|
H A D | MP_GetAssociatedTPGOidList.c | 78 objList = (uint64_t *)calloc(1, DEFAULT_BUFFER_SIZE_TPG); in getAssociatedTPGOidList() 184 objList = (uint64_t *)calloc(1, numOBJ * sizeof (uint64_t)); in getAssociatedTPGOidList()
|
H A D | MP_GetTargetPortOidList.c | 83 objList = (uint64_t *)calloc(1, DEFAULT_BUFFER_SIZE_TPG); in getTargetPortOidList() 189 objList = (uint64_t *)calloc(1, numOBJ * sizeof (uint64_t)); in getTargetPortOidList()
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns_cmn_kvp.c | 60 if ((kvp = calloc(1, sizeof (*kvp))) != NULL) { in ns_kvp_create() 249 ((kvp = calloc(1, sizeof (*kvp))) != NULL)) { in ns_set_value_from_string()
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | charmap.c | 209 if ((n = calloc(1, sizeof (*n))) == NULL) { in add_charmap_impl() 224 if ((n == NULL) && ((n = calloc(1, sizeof (*n))) == NULL)) { in add_charmap_impl()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | ps_include.c | 45 : calloc(n, sizeof (Section)))) 54 extern char *calloc(), *realloc();
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fmemopen.c | 210 if ((fmp = calloc(1, sizeof (fmemopen_t))) == NULL) { in fmemopen() 216 fmp->fmo_buf = calloc(size, sizeof (uint8_t)); in fmemopen()
|
H A D | open_wmemstream.c | 177 wmemp = calloc(1, sizeof (wmemstream_t)); in open_wmemstream() 183 wmemp->wmstr_buf = calloc(wmemp->wmstr_alloc, sizeof (wchar_t)); in open_wmemstream()
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | rem_drv.c | 84 basedir = calloc(strlen(optarg) + 1, 1); in main() 104 driver_name = calloc(strlen(argv[optind]) + 1, 1); in main()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | bus.c | 185 buses = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_buses() 230 controllers = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_controllers()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdlib.h | 45 extern void *calloc(size_t, size_t);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | qstrdup.c | 49 pt = calloc((strlen(s) + 1), sizeof (char)); in qstrdup()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | secutil.c | 17 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){ in hexa_print()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | calloc.c | 39 calloc(size_t num, size_t size) in calloc() function
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 395 *ppList = (IMA_OID_LIST*)calloc(1, sizeof (IMA_OID_LIST)); in IMA_GetLhbaOidList() 493 *ppList = (IMA_OID_LIST*) calloc(1, sizeof (IMA_OID_LIST)); in IMA_GetNonSharedNodeOidList() 816 idlp = (iscsi_addr_list_t *)calloc(1, addr_list_size); in IMA_GetDiscoveryAddressOidList() 834 *ppList = (IMA_OID_LIST *)calloc(1, sizeof (IMA_OID_LIST) + in IMA_GetDiscoveryAddressOidList() 966 idlp = (iscsi_addr_list_t *)calloc(1, addr_list_size); in IMA_RemoveDiscoveryAddress() 1205 idlp = (iscsi_addr_list_t *)calloc(1, addr_list_size); in IMA_GetDiscoveryAddressProperties() 2510 idlp = (iscsi_target_list_t *)calloc(1, target_list_size); in get_target_oid_list() 2598 illp = (iscsi_lun_list_t *)calloc(1, lun_list_size); in get_target_lun_oid_list() 2714 *ppList = (IMA_OID_LIST*)calloc(1, sizeof (IMA_OID_LIST)); in IMA_GetPhbaOidList() 3090 calloc(1, sizeof (SUN_IMA_DISC_ADDR_PROP_LIST) + in getDiscoveryAddressPropertiesList() [all …]
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | libaudio_impl.h | 65 (type *)(long)calloc((unsigned)(number), sizeof (type))
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devtree_hba_disco.c | 113 if ((port_ptr = (struct sun_sas_port *)calloc(1, in add_hba_port_info() 120 (struct SMHBA_SAS_Port *)calloc(1, sizeof (struct SMHBA_SAS_Port))) in add_hba_port_info() 409 if ((new_hba = (struct sun_sas_hba *)calloc(1, in devtree_get_one_hba() 643 if ((wa.flag = (boolean_t *)calloc(1, in devtree_get_all_hbas()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | arcs.c | 78 arcp = (arctype *)calloc(1, sizeof (*arcp)); in addarc() 266 cyclenl = (nltype *) calloc(ncycle + 1, sizeof (nltype)); in cyclelink() 641 topsortnlp = (nltype **) calloc(total_names, sizeof (nltype *)); in doarcs() 682 timesortnlp = (nltype **) calloc(total_names + ncycle, in doarcs()
|
/illumos-gate/usr/src/lib/lib9p/common/transport/ |
H A D | socket.c | 187 svr->ev_kev = calloc(nsockets, sizeof(struct kevent)); in l9p_init_event_svr() 193 svr->ev_event = calloc(nsockets, sizeof(struct kevent)); in l9p_init_event_svr() 217 svr->ev_pe = calloc(nsockets, sizeof(port_event_t)); in l9p_init_event_svr() 242 *socketsp = calloc(naddrs, sizeof(int)); in l9p_bind_addrs()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_feature.c | 164 disc = calloc(1, sizeof (nvme_feat_disc_t)); in nvme_feat_disc_dup() 264 iter = calloc(1, sizeof (nvme_feat_iter_t)); in nvme_feat_discover_init() 333 req = calloc(1, sizeof (nvme_get_feat_req_t)); in nvme_get_feat_req_init() 389 req = calloc(1, sizeof (nvme_get_feat_req_t)); in nvme_get_feat_req_init_by_disc()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | mkdevalloc.c | 1259 tape = (struct tape *)calloc(DFLT_NTAPE, sizeof (struct tape)); in initmem() 1260 audio = (struct audio *)calloc(DFLT_NAUDIO, sizeof (struct audio)); in initmem() 1261 cd = (struct cd *)calloc(DFLT_NCD, sizeof (struct cd)); in initmem() 1262 fp = (struct fp *)calloc(DFLT_NFP, sizeof (struct fp)); in initmem() 1264 rmdisk = (struct rmdisk *)calloc(DFLT_RMDISK, in initmem() 1268 rmdisk_r = (struct rmdisk *)calloc(DFLT_RMDISK, in initmem() 1289 new = (void *)calloc(n + DELTA, size); in expandmem()
|
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd_rcm.c | 328 oldcpus = (cpuid_t *)calloc(newncpus, sizeof (cpuid_t)); in drd_rcm_add_cpu_notify() 409 newcpus = (cpuid_t *)calloc(oldncpus, sizeof (cpuid_t)); in drd_rcm_del_cpu_request() 601 rlist = (char **)calloc((nrsrc + 1), sizeof (char *)); in drd_rcm_restore_cpu_notify() 697 oldcpus = (cpuid_t *)calloc(newncpus + cidx, sizeof (cpuid_t)); in drd_rcm_del_cpu_notify() 759 rlist = (char **)calloc((nrsrc + 1), sizeof (char *)); in drd_rcm_cpu_rlist_init() 880 if ((cp = (cpuid_t *)calloc(maxncpu, sizeof (cpuid_t))) == NULL) { in get_sys_cpuids() 1163 table = calloc(table_size, sizeof (char)); in rcm_info_table()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | fakewin.h | 42 #define calloc _fcalloc macro
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSoftCommon.c | 58 session_p = calloc(1, sizeof (soft_session_t)); in do_soft_digest() 114 session_p = calloc(1, sizeof (soft_session_t)); in do_soft_hmac_init()
|
/illumos-gate/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_updrec.c | 121 if ((r = calloc(1, sizeof (*r))) == 0 || in copy_list() 228 if ((o = calloc(1, sizeof (*o))) != 0) { in res_mkupdrec()
|