| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_dnode.h | 63 __field(uint64_t, dn_maxblkid) 85 __entry->dn_maxblkid = dn->dn_maxblkid; 103 __entry->dn_maxblkid, __entry->dn_tx_holds, __entry->dn_holds,
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode_sync.c | 378 if (blkid > dn->dn_phys->dn_maxblkid) in dnode_sync_free_range_impl() 381 ASSERT(dn->dn_phys->dn_maxblkid < UINT64_MAX); in dnode_sync_free_range_impl() 382 if (blkid + nblks > dn->dn_phys->dn_maxblkid) { in dnode_sync_free_range_impl() 383 nblks = dn->dn_phys->dn_maxblkid - blkid + 1; in dnode_sync_free_range_impl() 432 dn->dn_phys->dn_maxblkid = blkid == 0 ? 0 : blkid - 1; in dnode_sync_free_range_impl() 434 off = (dn->dn_phys->dn_maxblkid + 1) * in dnode_sync_free_range_impl() 436 ASSERT(off < dn->dn_phys->dn_maxblkid || in dnode_sync_free_range_impl() 437 dn->dn_phys->dn_maxblkid == 0 || in dnode_sync_free_range_impl() 612 dn->dn_maxblkid = 0; in dnode_sync_free() 782 0, dn->dn_maxblkid + 1)); in dnode_sync() [all …]
|
| H A D | dnode.c | 454 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap() 595 dn->dn_maxblkid = dnp->dn_maxblkid; in dnode_create() 727 ASSERT0(dn->dn_maxblkid); in dnode_allocate() 814 ASSERT0(dn->dn_maxblkid); in dnode_reallocate() 891 ndn->dn_maxblkid = odn->dn_maxblkid; in dnode_move_impl() 1899 if (dn->dn_maxblkid != 0) in dnode_set_blksz() 2029 if (blkid <= dn->dn_maxblkid) in dnode_new_blkid() 2042 if (!force && blkid <= dn->dn_maxblkid) in dnode_new_blkid() 2050 dn->dn_maxblkid = blkid; in dnode_new_blkid() 2241 ASSERT(dn->dn_maxblkid == 0); in dnode_free_range() [all …]
|
| H A D | dmu_tx.c | 249 if (dn->dn_maxblkid == 0) { in dmu_tx_count_write() 272 if (end != start && end <= dn->dn_maxblkid && in dmu_tx_count_write() 318 if (dn->dn_maxblkid == 0) { in dmu_tx_count_append() 445 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_count_free() 448 len = (dn->dn_maxblkid + 1) * dn->dn_datablksz - off; in dmu_tx_count_free() 601 if (dn->dn_maxblkid == 0 || name == NULL) { in dmu_tx_hold_zap_impl()
|
| H A D | dbuf.c | 1956 if (end_blkid > dn->dn_maxblkid && in dbuf_free_range() 1958 end_blkid = dn->dn_maxblkid; in dbuf_free_range() 2018 db->db_blkid > dn->dn_maxblkid) in dbuf_free_range() 2019 dn->dn_maxblkid = db->db_blkid; in dbuf_free_range() 2142 ASSERT(dn->dn_maxblkid >= blkid); in dbuf_dirty_lightweight() 2426 dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty() 2429 ASSERT(dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty() 3520 if (blkid > dn->dn_maxblkid) in dbuf_prefetch_impl() 4361 if (blkid > dn->dn_phys->dn_maxblkid) { in dbuf_lightweight_ready() 4363 dn->dn_phys->dn_maxblkid = blkid; in dbuf_lightweight_ready() [all …]
|
| H A D | dmu_zfetch.c | 284 (zf->zf_dnode->dn_maxblkid << zf->zf_dnode->dn_datablkshift) / in dmu_zfetch_stream_create() 506 uint64_t maxblkid = zf->zf_dnode->dn_maxblkid; in dmu_zfetch_prepare()
|
| H A D | dmu.c | 593 if (i == nblks - 1 && blkid + i < dn->dn_maxblkid && in dmu_buf_hold_array_by_dnode() 903 object_size = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in dmu_free_long_range_impl() 1014 dn->dn_maxblkid = 0; in dmu_free_long_range() 1072 if (dn->dn_maxblkid == 0) { in dmu_read_impl() 2421 doi->doi_max_offset = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in __dmu_object_info_from_dnode()
|
| H A D | dmu_object.c | 471 ASSERT0(dn->dn_maxblkid); in dmu_object_zapify()
|
| H A D | dmu_send.c | 649 (DMU_META_DNODE(dscp->dsc_os)->dn_maxblkid + 1); in dump_freeobjects() 762 drro->drr_maxblkid = dnp->dn_maxblkid; in dump_dnode() 792 if (dump_free(dscp, object, (dnp->dn_maxblkid + 1) * in dump_dnode() 1171 span * zb->zb_blkid > dnp->dn_maxblkid)) { in send_cb() 1844 MIN(dn->dn_maxblkid, range->end_blkid); in send_reader_thread()
|
| H A D | dmu_traverse.c | 419 if (osp->os_meta_dnode.dn_maxblkid == 0) in traverse_visitbp()
|
| H A D | dmu_redact.c | 925 uint64_t maxblkid = dn->dn_phys->dn_maxblkid; in perform_redaction()
|
| H A D | dsl_crypt.c | 2548 fnvlist_add_uint64(nvl, "mdn_maxblkid", mdn->dn_maxblkid); in dsl_crypto_populate_key_nvlist()
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | dnode.h | 233 uint64_t dn_maxblkid; /* largest allocated block ID */ member 317 uint64_t dn_maxblkid; member
|
| /freebsd-14.2/usr.sbin/makefs/zfs/ |
| H A D | zap.c | 225 dnode->dn_maxblkid = 0; in zap_micro_write() 517 dnode->dn_maxblkid = lblkcnt + 1; in zap_fat_write()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 967 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates()
|
| /freebsd-14.2/usr.sbin/makefs/ |
| H A D | zfs.c | 673 dnode->dn_maxblkid = ndatablks > 0 ? ndatablks - 1 : 0; in dnode_cursor_init()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 1074 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates()
|
| /freebsd-14.2/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 1080 uint64_t dn_maxblkid; /* largest allocated block ID */ member
|
| /freebsd-14.2/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 2338 if (dnode->dn_maxblkid == 0) { in dnode_read() 2357 if (bn > dnode->dn_maxblkid) in dnode_read()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 3856 (longlong_t)dn->dn_phys->dn_maxblkid); in dump_object()
|