Searched refs:dn_datablkshift (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 243 uint64_t start = off >> dn->dn_datablkshift; in dmu_tx_count_write() 252 uint64_t end = (off + len - 1) >> dn->dn_datablkshift; in dmu_tx_count_write() 378 if (dn->dn_datablkshift == 0) { in dmu_tx_hold_free_impl() 383 if (!IS_P2ALIGNED(off, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl() 386 if (!IS_P2ALIGNED(off + len, 1 << dn->dn_datablkshift)) in dmu_tx_hold_free_impl() 394 int shift = dn->dn_datablkshift + dn->dn_indblkshift - in dmu_tx_hold_free_impl() 406 if (dn->dn_datablkshift == 0) in dmu_tx_hold_free_impl() 607 int datablkshift = dn->dn_datablkshift ? in dmu_tx_dirty_buf() 608 dn->dn_datablkshift : SPA_MAXBLOCKSHIFT; in dmu_tx_dirty_buf()
|
H A D | dnode.c | 288 if (dn->dn_datablkshift) { in dnode_verify() 289 ASSERT3U(dn->dn_datablkshift, >=, SPA_MINBLOCKSHIFT); in dnode_verify() 290 ASSERT3U(dn->dn_datablkshift, <=, SPA_MAXBLOCKSHIFT); in dnode_verify() 291 ASSERT3U(1<<dn->dn_datablkshift, ==, dn->dn_datablksz); in dnode_verify() 300 ASSERT3U(ISP2(dn->dn_datablksz), ==, dn->dn_datablkshift != 0); in dnode_verify() 431 dn->dn_datablkshift = ISP2(size) ? highbit64(size - 1) : 0; in dnode_setdblksz() 460 dn->dn_datablkshift = 0; in dnode_create() 771 ndn->dn_datablkshift = odn->dn_datablkshift; in dnode_move_impl() 2009 blkshift = dn->dn_datablkshift; in dnode_free_range() 2167 int shift = dn->dn_datablkshift + dn->dn_indblkshift - in dnode_free_range() [all …]
|
H A D | dmu_zfetch.c | 382 zfetch_max_distance >> zf->zf_dnode->dn_datablkshift; in dmu_zfetch() 404 max_dist_blks = zfetch_max_idistance >> zf->zf_dnode->dn_datablkshift; in dmu_zfetch()
|
H A D | zio_inject.c | 689 record->zi_start >>= dn->dn_datablkshift; in zio_calculate_range() 690 record->zi_end >>= dn->dn_datablkshift; in zio_calculate_range()
|
H A D | dmu.c | 569 if (dn->dn_datablkshift) { in dmu_buf_hold_array_by_dnode() 570 int blkshift = dn->dn_datablkshift; in dmu_buf_hold_array_by_dnode() 748 if (level > 0 || dn->dn_datablkshift != 0) { in dmu_prefetch() 1230 dn->dn_datablkshift); in dmu_object_remap_indirects()
|
H A D | dbuf.c | 956 if (dn->dn_datablkshift != 0 && dn->dn_indblkshift != 0) { in dbuf_whichblock() 976 return (offset >> (dn->dn_datablkshift + level * in dbuf_whichblock()
|
H A D | dmu_objset.c | 1058 (mdn->dn_datablkshift - DNODE_SHIFT + (levels - 1) * in dmu_objset_create_impl_dnstats()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dnode.h | 282 uint8_t dn_datablkshift; /* zero if blksz not power of 2! */ member
|