/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 108 calloc(req_list_len + MAX_EXTRA_ATTRS + 1, sizeof (*new_list)); in copy_and_augment_attr_list() 409 llvals = calloc(nattrs, sizeof (directory_values_rpc)); in directory_provider_ad_cb1() 486 dav = calloc(n, sizeof (directory_value_rpc)); in bv_list_dav()
|
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 172 if ((wspeeds = (char **)calloc(n_wspeeds + 1, sizeof (char *))) == NULL) { in get_cdrom_properties() 176 if ((wspeeds_mem = (char *)calloc(n_wspeeds, WSPLEN)) == NULL) { in get_cdrom_properties() 207 if ((dst = calloc(1, len + 1)) != NULL) { in rtrim_copy()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_vuc.c | 55 disc = calloc(1, sizeof (nvme_vuc_disc_t)); in nvme_vuc_disc_dup() 146 iter = calloc(1, sizeof (nvme_vuc_iter_t)); in nvme_vuc_discover_init() 267 req = calloc(1, sizeof (nvme_vuc_req_t)); in nvme_vuc_req_init()
|
H A D | libnvme_log.c | 153 disc = calloc(1, sizeof (nvme_log_disc_t)); in nvme_log_disc_dup() 329 iter = calloc(1, sizeof (nvme_log_iter_t)); in nvme_log_discover_init() 404 req = calloc(1, sizeof (nvme_log_req_t)); in nvme_log_req_init() 458 req = calloc(1, sizeof (nvme_log_req_t)); in nvme_log_req_init_by_disc()
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | stmf.c | 1095 *hdl = calloc(1, sizeof (luResourceImpl)); in stmfCreateLuResource() 1172 sbdLu = (sbd_create_and_reg_lu_t *)calloc(1, in createDiskLu() 1393 sbdLu = (sbd_import_lu_t *)calloc(1, in importDiskLu() 1877 sbdLu = (sbd_modify_lu_t *)calloc(1, in modifyDiskLu() 2200 *hdl = calloc(1, sizeof (luResourceImpl)); in getDiskAllProps() 2206 sbdProps = calloc(1, sbdPropsSize); in getDiskAllProps() 2420 sbdProps = calloc(1, sbdPropsSize); in getDiskGlobalProp() 3741 *groupProps = (stmfGroupProperties *)calloc(1, in groupMemberListIoctl() 4298 *targetList = (stmfDevidList *)calloc(1, in stmfGetTargetList() 4459 fLuList = (slist_lu_t *)calloc(1, fLuListSize); in stmfGetLogicalUnitList() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 194 if ((ds_header = (char *)calloc(BLK_SIZE, 1)) == NULL) { in ds_readbuf() 272 ds_toc = (struct dstoc *)calloc(1, sizeof (struct dstoc)); in ds_getinfo() 314 if ((ds_header = (char *)calloc(BLK_SIZE, 1)) == NULL) { in ds_init() 435 toc_pt = (struct dstoc *)calloc(1, sizeof (struct dstoc)); in ds_init()
|
H A D | runcmd.c | 226 buffer = (char *)calloc(len, sizeof (char)); in epopen() 358 buffer = calloc(1, bufferSize); in e_ExecCmdArray()
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | job.c | 280 if ((*job = j = calloc(1, sizeof (*j))) == NULL) in internal_job_submit() 441 if ((*job = j = calloc(1, sizeof (*j))) == NULL) in papiJobStreamClose() 490 if ((*job = j = calloc(1, sizeof (*j))) == NULL) in papiJobQuery() 639 if ((*job = j = calloc(1, sizeof (*j))) == NULL) in papiJobModify()
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetMPLogicalUnitProperties.c | 184 (char *)calloc(1, strlen(devLink) + 1); in getDeviceFileName() 195 (char *)calloc(1, 256); in getDeviceFileName()
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckitem.c | 147 invis = (char **)calloc(invismaxsize, sizeof (char *)); in main() 352 item = (char **)calloc(mmax+1, sizeof (char *)); in main()
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 52 return (calloc(1, sizeof (iu_tq_t))); in iu_tq_create() 196 iu_timer_node_t *node = calloc(1, sizeof (iu_timer_node_t)); in iu_schedule_timer_ms()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | path.c | 257 controllers = (descriptor_t **)calloc(2, sizeof (descriptor_t *)); in get_assoc_controllers() 293 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_drives()
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 264 wfd = calloc(argc, sizeof (struct pollfd)); in main() 267 ids = calloc(argc, sizeof (ctid_t)); in main()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_auth.c | 99 if (!(tempauthdat = (krb5_authdata **) calloc(nelems+nelems2+1, in krb5_merge_authdata() 266 fctx.out = calloc(fctx.space+1, sizeof (krb5_authdata *)); in krb5int_find_authdata()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_conf.c | 365 if ((cp = (char *)calloc(tlen + 1, sizeof (char))) == (char *)NULL) { in ib_get_string() 430 recp = (ib_svc_rec_t *)calloc(1, sizeof (ib_svc_rec_t)); in ib_service_record_add() 732 if ((*errmsg = calloc(MAXPATHLEN, 1)) == (char *)NULL) { in ib_init_file() 858 if ((sbuf = (char *)calloc(12, sizeof (char))) == NULL) { in ib_add_service() 975 if ((sbuf = (char *)calloc(num_svcs * 8, sizeof (char))) == NULL) { in ib_delete_service()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_list.c | 343 nodepath = calloc(1, len); in stat_dev() 429 listp = calloc(1, sizeof (ldata_list_t)); in create_pathinfo_ldata() 629 listp = calloc(1, sizeof (ldata_list_t)); in do_stat_bus() 726 listp = calloc(1, sizeof (ldata_list_t)); in do_stat_dev() 898 ldatap = calloc(nelem, sizeof (cfga_list_data_t)); in list_ext_postprocess()
|
/illumos-gate/usr/src/cmd/stat/fsstat/ |
H A D | fsstat.c | 467 if ((*fstypep = calloc(nfstype, sizeof (char *))) == NULL) { in build_fstype_list() 527 if ((*entityp = calloc((argc - optind), sizeof (entity_t))) == NULL) { in parse_operands() 724 ep->e_vs = calloc(VS_SIZE, sizeof (vopstats_t)); in set_ksnames() 762 ep->e_vs = calloc(VS_SIZE, sizeof (vopstats_t)); in set_ksnames() 921 if ((entities = calloc(nfstypes, sizeof (entity_t))) == NULL) { in main()
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 477 char *ptr = calloc(MAXLINKATTRVALLEN, sizeof (char)); in read_str() 495 boolean_t *ptr = calloc(1, sizeof (boolean_t)); in read_boolean() 509 int64_t *ptr = calloc(1, sizeof (int64_t)); in read_int64() 526 if ((req = calloc(1, sizeof (dlmgmt_db_req_t))) == NULL) { in dlmgmt_db_req_alloc() 986 if ((newval = calloc(MAXLINKATTRVALLEN, sizeof (char))) == NULL) in dlmgmt_attr_rename() 1216 newlink = calloc(1, sizeof (*newlink)); in process_db_read() 1389 new_attr_val = calloc(MAXLINKATTRVALLEN, sizeof (char)); in linkattr_upgrade()
|
/illumos-gate/usr/src/test/os-tests/tests/timer/ |
H A D | timer_limit.c | 55 timers = calloc(limit + 1, sizeof (timer_t)); in main()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | output.c | 73 if ((p = (char *)calloc(1, sz)) == 0) in _elf_outmap()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | malloc.c | 51 calloc(size_t number, size_t size) in calloc() function
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_util.c | 45 if ((data = calloc(1, size)) == NULL) { in safe_malloc()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | inode.c | 65 inpnext = (struct fileinfo *)calloc(FEGROW + 1,
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 505 if ((ad = calloc(1, sizeof (*ad))) == NULL) in adutils_ad_alloc() 790 new = (adutils_host_t *)calloc(1, sizeof (*new)); in adutils_add_ds() 971 new_state = calloc(1, sizeof (adutils_query_state_t) + in adutils_lookup_batch_start() 1169 if ((ep = calloc(1, sizeof (*ep))) == NULL) in make_entry() 1186 ep->attr_nvpairs = calloc(ep->num_nvpairs, sizeof (*ep->attr_nvpairs)); in make_entry() 1197 ap->attr_values = calloc(ap->num_values, sizeof (*ap->attr_values)); in make_entry() 1224 ap->attr_values = calloc(ap->num_values, in make_entry() 1287 res = calloc(1, sizeof (*res)); in add_entry()
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 206 calloc(1, remlen); in _nss_mdns_querynamereply() 331 buffer = qdata->buffer = calloc(1, remlen); in _nss_mdns_queryaddrreply() 436 if ((be = (mdns_backend_ptr_t)calloc(1, sizeof (*be))) == NULL) in _nss_mdns_constr() 725 if ((be = (mdns_backend_ptr_t)calloc(1, sizeof (*be))) == NULL) in _nss_mdns_gethost_withttl()
|