/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_dnode.h | 64 __field(uint64_t, dn_maxblkid) 86 __entry->dn_maxblkid = dn->dn_maxblkid; 104 __entry->dn_maxblkid, __entry->dn_tx_holds, __entry->dn_holds,
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dnode_sync.c | 379 if (blkid > dn->dn_phys->dn_maxblkid) in dnode_sync_free_range_impl() 382 ASSERT(dn->dn_phys->dn_maxblkid < UINT64_MAX); in dnode_sync_free_range_impl() 383 if (blkid + nblks > dn->dn_phys->dn_maxblkid) { in dnode_sync_free_range_impl() 384 nblks = dn->dn_phys->dn_maxblkid - blkid + 1; in dnode_sync_free_range_impl() 433 dn->dn_phys->dn_maxblkid = blkid == 0 ? 0 : blkid - 1; in dnode_sync_free_range_impl() 435 off = (dn->dn_phys->dn_maxblkid + 1) * in dnode_sync_free_range_impl() 437 ASSERT(off < dn->dn_phys->dn_maxblkid || in dnode_sync_free_range_impl() 438 dn->dn_phys->dn_maxblkid == 0 || in dnode_sync_free_range_impl() 620 dn->dn_maxblkid = 0; in dnode_sync_free() 721 dn->dn_maxblkid == 0 || list_head(list) != NULL || in dnode_sync() [all …]
|
H A D | dnode.c | 463 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap() 615 dn->dn_maxblkid = dnp->dn_maxblkid; in dnode_create() 752 ASSERT0(dn->dn_maxblkid); in dnode_allocate() 839 ASSERT0(dn->dn_maxblkid); in dnode_reallocate() 916 ndn->dn_maxblkid = odn->dn_maxblkid; in dnode_move_impl() 1952 if (dn->dn_maxblkid != 0) in dnode_set_blksz() 2082 if (blkid <= dn->dn_maxblkid) in dnode_new_blkid() 2095 if (!force && blkid <= dn->dn_maxblkid) in dnode_new_blkid() 2103 dn->dn_maxblkid = blkid; in dnode_new_blkid() 2291 if ((off >> blkshift) > dn->dn_maxblkid) in dnode_free_range() [all …]
|
H A D | dmu_tx.c | 251 if (dn->dn_maxblkid == 0) { in dmu_tx_count_write() 274 if (end != start && end <= dn->dn_maxblkid && in dmu_tx_count_write() 320 if (dn->dn_maxblkid == 0) { in dmu_tx_count_append() 447 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_count_free() 450 len = (dn->dn_maxblkid + 1) * dn->dn_datablksz - off; in dmu_tx_count_free() 602 if (dn->dn_maxblkid == 0 || name == NULL) { in dmu_tx_hold_zap_impl()
|
H A D | dbuf.c | 1988 if (end_blkid > dn->dn_maxblkid && in dbuf_free_range() 1990 end_blkid = dn->dn_maxblkid; in dbuf_free_range() 2050 db->db_blkid > dn->dn_maxblkid) in dbuf_free_range() 2051 dn->dn_maxblkid = db->db_blkid; in dbuf_free_range() 2174 IMPLY(dn->dn_objset->os_raw_receive, dn->dn_maxblkid >= blkid); in dbuf_dirty_lightweight() 2176 ASSERT(dn->dn_maxblkid >= blkid); in dbuf_dirty_lightweight() 2461 dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty() 2464 ASSERT(dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty() 3357 blkid > (dn->dn_phys->dn_maxblkid >> (level * epbs)))) { in dbuf_findbp() 3379 if (blkid > (dn->dn_phys->dn_maxblkid >> (level * epbs))) in dbuf_findbp() [all …]
|
H A D | dmu_zfetch.c | 285 (zf->zf_dnode->dn_maxblkid << zf->zf_dnode->dn_datablkshift) / in dmu_zfetch_stream_create() 508 uint64_t maxblkid = zf->zf_dnode->dn_maxblkid; in dmu_zfetch_prepare()
|
H A D | dmu.c | 598 if (i == nblks - 1 && blkid + i < dn->dn_maxblkid && in dmu_buf_hold_array_by_dnode() 1014 object_size = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in dmu_free_long_range_impl() 1125 dn->dn_maxblkid = 0; in dmu_free_long_range() 1183 if (dn->dn_maxblkid == 0) { in dmu_read_impl() 1699 uint64_t l1blks = 1 + (dn->dn_maxblkid / nbps); in dmu_object_cached_size() 2758 doi->doi_max_offset = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in __dmu_object_info_from_dnode()
|
H A D | dmu_object.c | 472 ASSERT0(dn->dn_maxblkid); in dmu_object_zapify()
|
H A D | dmu_send.c | 654 (DMU_META_DNODE(dscp->dsc_os)->dn_maxblkid + 1); in dump_freeobjects() 767 drro->drr_maxblkid = dnp->dn_maxblkid; in dump_dnode() 797 if (dump_free(dscp, object, (dnp->dn_maxblkid + 1) * in dump_dnode() 1132 span * zb->zb_blkid > dnp->dn_maxblkid)) { in send_cb() 1847 MIN(dn->dn_maxblkid, range->end_blkid); in send_reader_thread()
|
H A D | dmu_traverse.c | 421 if (osp->os_meta_dnode.dn_maxblkid == 0) in traverse_visitbp()
|
H A D | dmu_redact.c | 928 uint64_t maxblkid = dn->dn_phys->dn_maxblkid; in perform_redaction()
|
H A D | dsl_crypt.c | 2549 fnvlist_add_uint64(nvl, "mdn_maxblkid", mdn->dn_maxblkid); in dsl_crypto_populate_key_nvlist()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dnode.h | 234 uint64_t dn_maxblkid; /* largest allocated block ID */ member 318 uint64_t dn_maxblkid; member
|
/freebsd/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/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 968 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates()
|
/freebsd/usr.sbin/makefs/ |
H A D | zfs.c | 673 dnode->dn_maxblkid = ndatablks > 0 ? ndatablks - 1 : 0; in dnode_cursor_init()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 1075 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates()
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 1080 uint64_t dn_maxblkid; /* largest allocated block ID */ member
|
/freebsd/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/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 3956 (longlong_t)dn->dn_phys->dn_maxblkid); in dump_object()
|