Home
last modified time | relevance | path

Searched refs:newsz (Results 1 – 15 of 15) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_uobj.c328 uint_t newsz; in sol_ofs_uobj_add() local
330 newsz = uo_tbl->uobj_tbl_num_blks + SOL_OFS_UO_BLKSZ; in sol_ofs_uobj_add()
333 newsz); in sol_ofs_uobj_add()
335 p = kmem_zalloc(newsz * sizeof (*p), KM_NOSLEEP); in sol_ofs_uobj_add()
352 uo_tbl->uobj_tbl_num_blks = newsz; in sol_ofs_uobj_add()
/titanic_50/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_response.c100 size_t newsz; in uuid_cache_grow() local
104 newsz = sizeof (struct smf_uuid_cache) + (n - 1) * in uuid_cache_grow()
107 newcache = fmd_hdl_zalloc(hdl, newsz, FMD_SLEEP); in uuid_cache_grow()
122 fmd_buf_create(hdl, NULL, UUID_CACHE_BUFNAME, newsz); in uuid_cache_grow()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_confmgr.c413 int newsz = 0; in __print2buf() local
420 newsz = strlen(toprint) + line->len + 1; in __print2buf()
422 newsz += strlen(sep); in __print2buf()
424 if (line->alloc == 0 || newsz > line->alloc) { in __print2buf()
426 newmax = (((newsz+(BUFSIZ-1))/BUFSIZ)+1) * BUFSIZ; in __print2buf()
455 line->len = newsz; in __print2buf()
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dhtable.c539 uint32_t oldsz, newsz, mask; in enlarge_htab() local
548 newsz = (1 << logsize); in enlarge_htab()
550 newsz * tab->chunks, sizeof (htab_item_t *)); in enlarge_htab()
553 mask = newsz - 1; in enlarge_htab()
562 itemp = &items[(i * newsz) + in enlarge_htab()
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c239 size_t bytes, newsz, nptrs; in leaky_grep() local
336 newsz = lmp->lkm_limit - nbase; in leaky_grep()
338 nptrs = newsz / sizeof (uintptr_t); in leaky_grep()
339 newsz = nptrs * sizeof (uintptr_t); in leaky_grep()
342 mdb_vread(cur - nptrs, newsz, nbase) != -1) { in leaky_grep()
/titanic_50/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c125 size_t newsz = 0; in main() local
223 rv = nvlist_size(mapnvl, &newsz, NV_ENCODE_NATIVE); in main()
235 if ((ondiskbuf = calloc(1, newsz)) == NULL) { in main()
244 rv = nvlist_pack(mapnvl, &ondiskbuf, &newsz, in main()
267 if (write(mapfd, ondiskbuf, newsz) != newsz) { in main()
/titanic_50/usr/src/lib/libctf/common/
H A Dctf_lib.c169 size_t newsz; in ctf_zdata_grow() local
173 newsz = czd->czd_allocsz + CTF_COMPRESS_CHUNK; in ctf_zdata_grow()
174 ndata = ctf_data_alloc(newsz); in ctf_zdata_grow()
181 czd->czd_allocsz = newsz; in ctf_zdata_grow()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c991 size_t newsz; in libzfs_add_handle() local
994 newsz = cbp->cb_alloc ? cbp->cb_alloc * 2 : 64; in libzfs_add_handle()
997 newsz * sizeof (void *)); in libzfs_add_handle()
999 cbp->cb_alloc = newsz; in libzfs_add_handle()
/titanic_50/usr/src/common/ctf/
H A Dctf_create.c2144 ctf_set_size(ctf_file_t *fp, ctf_id_t id, const ulong_t newsz) in ctf_set_size() argument
2164 if (newsz < oldsz) in ctf_set_size()
2167 if (newsz > CTF_MAX_SIZE) { in ctf_set_size()
2169 dtd->dtd_data.ctt_lsizehi = CTF_SIZE_TO_LSIZE_HI(newsz); in ctf_set_size()
2170 dtd->dtd_data.ctt_lsizelo = CTF_SIZE_TO_LSIZE_LO(newsz); in ctf_set_size()
2172 dtd->dtd_data.ctt_size = (ushort_t)newsz; in ctf_set_size()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddmu.c784 int newsz = offset > dn->dn_datablksz ? 0 : in dmu_read() local
786 bzero((char *)buf + newsz, size - newsz); in dmu_read()
787 size = newsz; in dmu_read()
H A Dzap_micro.c507 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir() local
508 if (newsz > MZAP_MAX_BLKSZ) { in zap_lockdir()
514 err = dmu_object_set_blocksize(os, obj, newsz, 0, tx); in zap_lockdir()
/titanic_50/usr/src/tools/ctf/cvt/
H A Ddwarf.c1068 size_t newsz = 7 + strlen(old) + 1; in die_sou_create() local
1069 char *new = xmalloc(newsz); in die_sou_create()
1070 (void) snprintf(new, newsz, "orphan %s", old); in die_sou_create()
/titanic_50/usr/src/cmd/svc/configd/
H A Dfile_object.c1903 size_t newsz = (csip->csi_array_size > 0) ? in check_snapshot_fill_cb() local
1905 check_snapshot_elem_t *new = uu_zalloc(newsz * sizeof (*new)); in check_snapshot_fill_cb()
1914 csip->csi_array_size = newsz; in check_snapshot_fill_cb()
/titanic_50/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c9197 uint_t newsz = (uint_t)daplka_resource.daplka_rc_sz + in daplka_resource_reserve() local
9201 newsz); in daplka_resource_reserve()
9203 p = kmem_zalloc(newsz * sizeof (*p), daplka_km_flags); in daplka_resource_reserve()
9221 daplka_resource.daplka_rc_sz = (int)newsz; in daplka_resource_reserve()
/titanic_50/usr/src/uts/common/io/rsm/
H A Drsm.c1185 uint_t newsz = (uint_t)rsm_resource.rsmrc_sz + in rsmresource_alloc() local
1197 newsz * sizeof (*p), in rsmresource_alloc()
1215 rsm_resource.rsmrc_sz = (int)newsz; in rsmresource_alloc()