Home
last modified time | relevance | path

Searched refs:calloc (Results 226 – 250 of 1280) sorted by relevance

12345678910>>...52

/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c108 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 Dprobe-storage.c172 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 Dlibnvme_vuc.c55 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 Dlibnvme_log.c153 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 Dstmf.c1095 *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 Ddstream.c194 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 Druncmd.c226 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 Djob.c280 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 DMP_GetMPLogicalUnitProperties.c184 (char *)calloc(1, strlen(devLink) + 1); in getDeviceFileName()
195 (char *)calloc(1, 256); in getDeviceFileName()
/illumos-gate/usr/src/cmd/valtools/
H A Dckitem.c147 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 Dtq.c52 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 Dpath.c257 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 Dctwatch.c264 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 Dcopy_auth.c99 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 Dcfga_conf.c365 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 Dcfga_list.c343 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 Dfsstat.c467 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 Ddlmgmt_db.c477 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 Dtimer_limit.c55 timers = calloc(limit + 1, sizeof (timer_t)); in main()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Doutput.c73 if ((p = (char *)calloc(1, sz)) == 0) in _elf_outmap()
/illumos-gate/usr/src/stand/lib/sa/
H A Dmalloc.c51 calloc(size_t number, size_t size) in calloc() function
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_util.c45 if ((data = calloc(1, size)) == NULL) { in safe_malloc()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dinode.c65 inpnext = (struct fileinfo *)calloc(FEGROW + 1,
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c505 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 Dmdns_common.c206 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()

12345678910>>...52