/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_uobj.c | 328 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_41/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_response.c | 100 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_41/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 413 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_41/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 539 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_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky.c | 239 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_41/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 125 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_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 990 size_t newsz; in libzfs_add_handle() local 993 newsz = cbp->cb_alloc ? cbp->cb_alloc * 2 : 64; in libzfs_add_handle() 996 newsz * sizeof (void *)); in libzfs_add_handle() 998 cbp->cb_alloc = newsz; in libzfs_add_handle()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu.c | 777 int newsz = offset > dn->dn_datablksz ? 0 : in dmu_read() local 779 bzero((char *)buf + newsz, size - newsz); in dmu_read() 780 size = newsz; in dmu_read()
|
H A D | zap_micro.c | 506 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir() local 507 if (newsz > MZAP_MAX_BLKSZ) { in zap_lockdir() 513 err = dmu_object_set_blocksize(os, obj, newsz, 0, tx); in zap_lockdir()
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | dwarf.c | 1068 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_41/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 1903 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_41/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 9197 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_41/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 1185 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()
|