Home
last modified time | relevance | path

Searched refs:dn_nblkptr (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dnode.h54 __field(uint8_t, dn_nblkptr)
76 __entry->dn_nblkptr = dn->dn_nblkptr;
99 __entry->dn_bonustype, __entry->dn_nblkptr, __entry->dn_checksum,
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddnode_sync.c46 int nblkptr = dn->dn_phys->dn_nblkptr; in dnode_increase_indirection()
389 if (blkid >= dn->dn_phys->dn_nblkptr) { in dnode_sync_free_range_impl()
393 ASSERT3U(blkid + nblks, <=, dn->dn_phys->dn_nblkptr); in dnode_sync_free_range_impl()
402 ASSERT(start < dn->dn_phys->dn_nblkptr); in dnode_sync_free_range_impl()
692 dnp->dn_nblkptr = dn->dn_nblkptr; in dnode_sync()
843 if (dn->dn_next_nblkptr[txgoff] > dnp->dn_nblkptr) { in dnode_sync()
845 memset(dnp->dn_blkptr + dnp->dn_nblkptr, 0, in dnode_sync()
847 (dn->dn_next_nblkptr[txgoff] - dnp->dn_nblkptr)); in dnode_sync()
851 ASSERT(dn->dn_next_nblkptr[txgoff] < dnp->dn_nblkptr); in dnode_sync()
853 for (i = 0; i < dnp->dn_nblkptr; i++) { in dnode_sync()
[all …]
H A Ddnode.c423 ASSERT3U(dn->dn_nblkptr, >=, 1); in dnode_verify()
424 ASSERT3U(dn->dn_nblkptr, <=, DN_MAX_NBLKPTR); in dnode_verify()
429 ASSERT3U((dn->dn_nblkptr - 1) * sizeof (blkptr_t) + in dnode_verify()
470 ASSERT(dnp->dn_nblkptr <= DN_MAX_NBLKPTR); in dnode_byteswap()
471 for (i = 0; i < dnp->dn_nblkptr * sizeof (blkptr_t)/8; i++) in dnode_byteswap()
518 (dn->dn_nblkptr-1) * sizeof (blkptr_t)); in dnode_setbonuslen()
608 dn->dn_nblkptr = dnp->dn_nblkptr; in dnode_create()
778 dn->dn_nblkptr = 1; in dnode_allocate()
780 dn->dn_nblkptr = MIN(DN_MAX_NBLKPTR, in dnode_allocate()
856 if (dn->dn_nblkptr != nblkptr) in dnode_reallocate()
[all …]
H A Ddbuf.c2198 ASSERT3U(blkid, <, dn->dn_nblkptr); in dbuf_dirty_lightweight()
2500 ASSERT(db->db_blkid < dn->dn_nblkptr); in dbuf_dirty()
3346 highbit64(dn->dn_phys->dn_nblkptr) <= 64); in dbuf_findbp()
3348 blkid >= ((uint64_t)dn->dn_phys->dn_nblkptr << in dbuf_findbp()
3380 ASSERT(dn->dn_phys->dn_nblkptr == 0 || in dbuf_findbp()
3381 blkid < dn->dn_phys->dn_nblkptr); in dbuf_findbp()
3428 (dn->dn_nblkptr-1) * sizeof (blkptr_t); in dbuf_create()
3712 if (level >= nlevels || dn->dn_phys->dn_nblkptr == 0) in dbuf_prefetch_impl()
3756 ASSERT3U(curblkid, <, dn->dn_phys->dn_nblkptr); in dbuf_prefetch_impl()
4361 ASSERT(db->db_blkid < dn->dn_phys->dn_nblkptr); in dbuf_check_blkptr()
[all …]
H A Ddmu_traverse.c502 for (j = 0; j < dnp->dn_nblkptr; j++) { in prefetch_dnode_metadata()
535 for (j = 0; j < dnp->dn_nblkptr; j++) { in traverse_dnode()
H A Ddsl_crypt.c2058 mdn->dn_indblkshift != ibs || mdn->dn_nblkptr != nblkptr)) { in dsl_crypto_recv_raw_objset_check()
2547 fnvlist_add_uint64(nvl, "mdn_nblkptr", mdn->dn_nblkptr); in dsl_crypto_populate_key_nvlist()
H A Ddmu.c2732 doi->doi_nblkptr = dn->dn_nblkptr; in __dmu_object_info_from_dnode()
2736 for (int i = 0; i < dnp->dn_nblkptr; i++) in __dmu_object_info_from_dnode()
H A Ddmu_objset.c1125 while ((uint64_t)mdn->dn_nblkptr << in dmu_objset_create_impl_dnstats()
1616 for (int i = 0; i < dnp->dn_nblkptr; i++) in dmu_objset_write_ready()
H A Ddsl_scan.c1961 if (dnp->dn_nblkptr == 0 && !(dnp->dn_flags & DNODE_FLAG_SPILL_BLKPTR)) in dsl_scan_prefetch_dnode()
1968 for (i = 0; i < dnp->dn_nblkptr; i++) { in dsl_scan_prefetch_dnode()
2301 for (j = 0; j < dnp->dn_nblkptr; j++) { in dsl_scan_visitdnode()
H A Ddmu_send.c769 drro->drr_nblkptr = dnp->dn_nblkptr; in dump_dnode()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddnode.h128 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
222 uint8_t dn_nblkptr; /* length of dn_blkptr */ member
308 uint8_t dn_nblkptr; /* number of blkptrs (immutable) */ member
/freebsd/usr.sbin/makefs/zfs/
H A Dobjset.c72 dnode->dn_nblkptr = 1; in dnode_init()
H A Dvdev.c349 sma[i].dnode->dn_nblkptr = 3; in vdev_spacemap_write()
H A Dfs.c360 assert(dnode->dn_nblkptr == 1); in fs_populate_sattrs()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h1051 (((dnp)->dn_nblkptr - 1) * sizeof (blkptr_t))))
1069 uint8_t dn_nblkptr; /* length of dn_blkptr */ member
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c975 for (i = 0; i < dnp->dn_nblkptr; i++) { in zio_crypt_do_dnode_hmac_updates()
1502 for (j = 0; j < dnp->dn_nblkptr; j++) { in zio_crypt_init_uios_dnode()
/freebsd/usr.sbin/makefs/
H A Dzfs.c648 assert(dnode->dn_nblkptr == 1); in dnode_cursor_init()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c1090 for (i = 0; i < dnp->dn_nblkptr; i++) { in zio_crypt_do_dnode_hmac_updates()
1718 for (j = 0; j < dnp->dn_nblkptr; j++) { in zio_crypt_init_uios_dnode()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2610 for (int j = 0; j < dnp->dn_nblkptr; j++) { in dump_indirect()