Home
last modified time | relevance | path

Searched refs:dn_slots (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c56 int dn_slots = dnodesize >> DNODE_SHIFT; in dmu_object_alloc_impl() local
65 if (dn_slots == 0) { in dmu_object_alloc_impl()
66 dn_slots = DNODE_MIN_SLOTS; in dmu_object_alloc_impl()
68 ASSERT3S(dn_slots, >=, DNODE_MIN_SLOTS); in dmu_object_alloc_impl()
69 ASSERT3S(dn_slots, <=, DNODE_MAX_SLOTS); in dmu_object_alloc_impl()
104 (P2PHASE(object + dn_slots - 1, dnodes_per_chunk) < in dmu_object_alloc_impl()
105 dn_slots)) { in dmu_object_alloc_impl()
175 object = atomic_add_64_nv(cpuobj, dn_slots) - dn_slots; in dmu_object_alloc_impl()
184 dn_slots, tag, &dn); in dmu_object_alloc_impl()
194 bonuslen, dn_slots, tx); in dmu_object_alloc_impl()
[all …]
H A Ddnode.c723 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument
727 ASSERT3U(dn_slots, >, 0); in dnode_allocate()
728 ASSERT3U(dn_slots << DNODE_SHIFT, <=, in dnode_allocate()
744 (u_longlong_t)tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate()
757 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate()
784 dn->dn_num_slots = dn_slots; in dnode_allocate()
789 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_allocate()
813 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument
830 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT)); in dnode_reallocate()
858 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_reallocate()
[all …]
H A Ddmu_recv.c1711 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_handle_existing_object() local
1842 if (dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) in receive_handle_existing_object()
1880 dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) { in receive_handle_existing_object()
1920 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_object() local
1933 dn_slots > in receive_object()
1949 DN_SLOTS_TO_BONUSLEN(dn_slots) < in receive_object()
2027 if (dn_slots > 1) { in receive_object()
2031 slot < drro->drr_object + dn_slots; in receive_object()
2066 dn_slots << DNODE_SHIFT, tx); in receive_object()
2075 dn_slots << DNODE_SHIFT, rwa->spill ? in receive_object()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddnode.h427 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots,
437 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx);
439 dmu_object_type_t bonustype, int bonuslen, int dn_slots,