Home
last modified time | relevance | path

Searched refs:dn_maxblkid (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode_sync.c373 if (blkid > dn->dn_phys->dn_maxblkid) in dnode_sync_free_range_impl()
376 ASSERT(dn->dn_phys->dn_maxblkid < UINT64_MAX); in dnode_sync_free_range_impl()
377 if (blkid + nblks > dn->dn_phys->dn_maxblkid) { in dnode_sync_free_range_impl()
378 nblks = dn->dn_phys->dn_maxblkid - blkid + 1; in dnode_sync_free_range_impl()
426 dn->dn_phys->dn_maxblkid = blkid == 0 ? 0 : blkid - 1; in dnode_sync_free_range_impl()
428 uint64_t off = (dn->dn_phys->dn_maxblkid + 1) * in dnode_sync_free_range_impl()
430 ASSERT(off < dn->dn_phys->dn_maxblkid || in dnode_sync_free_range_impl()
431 dn->dn_phys->dn_maxblkid == 0 || in dnode_sync_free_range_impl()
601 dn->dn_maxblkid = 0; in dnode_sync_free()
696 dn->dn_maxblkid == 0 || list_head(list) != NULL || in dnode_sync()
[all …]
H A Ddnode.c333 dnp->dn_maxblkid = BSWAP_64(dnp->dn_maxblkid); in dnode_byteswap()
470 dn->dn_maxblkid = dnp->dn_maxblkid; in dnode_create()
605 ASSERT0(dn->dn_maxblkid); in dnode_allocate()
695 ASSERT(dn->dn_maxblkid == 0 && in dnode_reallocate()
773 ndn->dn_maxblkid = odn->dn_maxblkid; in dnode_move_impl()
1757 if (dn->dn_maxblkid != 0) in dnode_set_blksz()
1883 if (blkid <= dn->dn_maxblkid) in dnode_new_blkid()
1896 if (!force && blkid <= dn->dn_maxblkid) in dnode_new_blkid()
1904 dn->dn_maxblkid = blkid; in dnode_new_blkid()
2030 if ((off >> blkshift) > dn->dn_maxblkid) in dnode_free_range()
[all …]
H A Ddmu_zfetch.c218 zf->zf_dnode->dn_maxblkid * zf->zf_dnode->dn_datablksz / in dmu_zfetch_stream_create()
309 if (zf->zf_dnode->dn_maxblkid < 2) { in dmu_zfetch()
H A Ddmu_tx.c230 if (dn->dn_maxblkid == 0) { in dmu_tx_count_write()
253 if (end != start && end <= dn->dn_maxblkid && in dmu_tx_count_write()
364 if (off >= (dn->dn_maxblkid + 1) * dn->dn_datablksz) in dmu_tx_hold_free_impl()
367 len = (dn->dn_maxblkid + 1) * dn->dn_datablksz - off; in dmu_tx_hold_free_impl()
492 if (dn->dn_maxblkid == 0 || name == NULL) { in dmu_tx_hold_zap_impl()
H A Ddbuf.c1509 if (end_blkid > dn->dn_maxblkid && in dbuf_free_range()
1511 end_blkid = dn->dn_maxblkid; in dbuf_free_range()
1570 db->db_blkid > dn->dn_maxblkid) in dbuf_free_range()
1571 dn->dn_maxblkid = db->db_blkid; in dbuf_free_range()
1920 dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty()
1923 ASSERT(dn->dn_maxblkid >= db->db_blkid); in dbuf_dirty()
2473 blkid > (dn->dn_phys->dn_maxblkid >> (level * epbs)))) { in dbuf_findbp()
2492 if (blkid > (dn->dn_phys->dn_maxblkid >> (level * epbs))) in dbuf_findbp()
2761 if (blkid > dn->dn_maxblkid) in dbuf_prefetch_impl()
2776 if (dn->dn_phys->dn_maxblkid < blkid << (epbs * level)) in dbuf_prefetch_impl()
[all …]
H A Ddmu_object.c428 ASSERT0(dn->dn_maxblkid); in dmu_object_zapify()
H A Ddmu.c840 uint64_t object_size = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in dmu_free_long_range_impl()
943 dn->dn_maxblkid = 0; in dmu_free_long_range()
1003 if (dn->dn_maxblkid == 0) { in dmu_read_impl()
2481 doi->doi_max_offset = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in dmu_object_info_from_dnode()
H A Ddmu_send.c534 drro->drr_maxblkid = dnp->dn_maxblkid; in dump_dnode()
562 if (dump_free(dsp, object, (dnp->dn_maxblkid + 1) * in dump_dnode()
H A Ddmu_traverse.c376 if (osp->os_meta_dnode.dn_maxblkid == 0) in traverse_visitbp()
H A Dzio_crypt.c1078 adnp->dn_maxblkid = BSWAP_64(adnp->dn_maxblkid); in zio_crypt_do_dnode_hmac_updates()
H A Ddsl_crypt.c2536 fnvlist_add_uint64(nvl, "mdn_maxblkid", mdn->dn_maxblkid); in dsl_crypto_populate_key_nvlist()
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Ddnode.h72 uint64_t dn_maxblkid; /* largest allocated block ID */ member
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h223 uint64_t dn_maxblkid; /* largest allocated block ID */ member
286 uint64_t dn_maxblkid; member
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c2356 if (dnode->dn_maxblkid == 0) { in dnode_read()
2375 if (bn > dnode->dn_maxblkid) { in dnode_read()
2378 (unsigned long long)dnode->dn_maxblkid); in dnode_read()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h1044 uint64_t dn_maxblkid; /* largest allocated block ID */ member
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2338 (longlong_t)dn->dn_phys->dn_maxblkid); in dump_object()