/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_dnode.h | 54 __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 D | dnode_sync.c | 46 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 D | dnode.c | 423 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 D | dbuf.c | 2198 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 D | dmu_traverse.c | 502 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 D | dsl_crypt.c | 2058 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 D | dmu.c | 2732 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 D | dmu_objset.c | 1125 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 D | dsl_scan.c | 1961 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 D | dmu_send.c | 769 drro->drr_nblkptr = dnp->dn_nblkptr; in dump_dnode()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dnode.h | 128 (((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 D | objset.c | 72 dnode->dn_nblkptr = 1; in dnode_init()
|
H A D | vdev.c | 349 sma[i].dnode->dn_nblkptr = 3; in vdev_spacemap_write()
|
H A D | fs.c | 360 assert(dnode->dn_nblkptr == 1); in fs_populate_sattrs()
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 1051 (((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 D | zio_crypt.c | 975 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 D | zfs.c | 648 assert(dnode->dn_nblkptr == 1); in dnode_cursor_init()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 1090 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 D | zdb.c | 2610 for (int j = 0; j < dnp->dn_nblkptr; j++) { in dump_indirect()
|