Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/contrib/openzfs/module/zfs/
HDdmu_object.c55 int dn_slots = dnodesize >> DNODE_SHIFT; in dmu_object_alloc_impl() local
64 if (dn_slots == 0) { in dmu_object_alloc_impl()
65 dn_slots = DNODE_MIN_SLOTS; in dmu_object_alloc_impl()
67 ASSERT3S(dn_slots, >=, DNODE_MIN_SLOTS); in dmu_object_alloc_impl()
68 ASSERT3S(dn_slots, <=, DNODE_MAX_SLOTS); in dmu_object_alloc_impl()
103 (P2PHASE(object + dn_slots - 1, dnodes_per_chunk) < in dmu_object_alloc_impl()
104 dn_slots)) { in dmu_object_alloc_impl()
174 object = atomic_add_64_nv(cpuobj, dn_slots) - dn_slots; in dmu_object_alloc_impl()
183 dn_slots, tag, &dn); in dmu_object_alloc_impl()
193 bonuslen, dn_slots, tx); in dmu_object_alloc_impl()
[all …]
HDdnode.c692 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument
696 ASSERT3U(dn_slots, >, 0); in dnode_allocate()
697 ASSERT3U(dn_slots << DNODE_SHIFT, <=, in dnode_allocate()
713 (u_longlong_t)tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate()
725 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate()
752 dn->dn_num_slots = dn_slots; in dnode_allocate()
757 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_allocate()
783 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument
800 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT)); in dnode_reallocate()
828 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_reallocate()
[all …]
HDdmu_recv.c1642 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_handle_existing_object() local
1773 if (dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) in receive_handle_existing_object()
1811 dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) { in receive_handle_existing_object()
1851 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_object() local
1864 dn_slots > in receive_object()
1880 DN_SLOTS_TO_BONUSLEN(dn_slots) < in receive_object()
1958 if (dn_slots > 1) { in receive_object()
1962 slot < drro->drr_object + dn_slots; in receive_object()
1997 dn_slots << DNODE_SHIFT, tx); in receive_object()
2006 dn_slots << DNODE_SHIFT, rwa->spill ? in receive_object()
/freebsd-14-stable/sys/contrib/openzfs/include/sys/
HDdnode.h431 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots,
442 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx);
444 dmu_object_type_t bonustype, int bonuslen, int dn_slots,