Searched refs:dn_slots (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
| HD | dmu_object.c | 55 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 …]
|
| HD | dnode.c | 701 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument 705 ASSERT3U(dn_slots, >, 0); in dnode_allocate() 706 ASSERT3U(dn_slots << DNODE_SHIFT, <=, in dnode_allocate() 722 (u_longlong_t)tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate() 734 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate() 761 dn->dn_num_slots = dn_slots; in dnode_allocate() 766 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_allocate() 792 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument 809 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT)); in dnode_reallocate() 837 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_reallocate() [all …]
|
| HD | dmu_recv.c | 1380 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_handle_existing_object() local 1511 if (dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) in receive_handle_existing_object() 1549 dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) { in receive_handle_existing_object() 1589 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_object() local 1602 dn_slots > in receive_object() 1618 DN_SLOTS_TO_BONUSLEN(dn_slots) < in receive_object() 1694 if (dn_slots > 1) { in receive_object() 1698 slot < drro->drr_object + dn_slots; in receive_object() 1733 dn_slots << DNODE_SHIFT, tx); in receive_object() 1742 dn_slots << DNODE_SHIFT, rwa->spill ? in receive_object()
|
| /freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
| HD | dnode.h | 431 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,
|