Searched refs:newsz (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_mount.c | 1034 size_t newsz; in libzfs_add_handle() local 1037 newsz = cbp->cb_alloc != 0 ? cbp->cb_alloc * 2 : 64; in libzfs_add_handle() 1040 newsz * sizeof (zfs_handle_t *)); in libzfs_add_handle() 1042 cbp->cb_alloc = newsz; in libzfs_add_handle()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu.c | 989 uint64_t newsz = offset > dn->dn_datablksz ? 0 : in dmu_read_impl() local 991 bzero((char *)buf + newsz, size - newsz); in dmu_read_impl() 992 size = newsz; in dmu_read_impl()
|
| H A D | zap_micro.c | 563 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir_impl() local 564 if (newsz > MZAP_MAX_BLKSZ) { in zap_lockdir_impl() 573 VERIFY0(dmu_object_set_blocksize(os, obj, newsz, 0, tx)); in zap_lockdir_impl()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_stats.c | 334 static inline void * stats_realloc(void *ptr, size_t oldsz, size_t newsz, 393 stats_realloc(void *ptr, size_t oldsz, size_t newsz, int flags) in stats_realloc() argument 400 ptr = realloc(ptr, newsz, M_STATS, flags); in stats_realloc() 402 ptr = realloc(ptr, newsz); in stats_realloc() 405 memset(ptr, '\0', newsz); in stats_realloc() 406 else if (newsz > oldsz) in stats_realloc() 407 memset(BLOB_OFFSET(ptr, oldsz), '\0', newsz - oldsz); in stats_realloc()
|