Searched refs:dn_slots (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | 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() 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() 281 if (dn_slots == 0) in dmu_object_claim_dnsize() 282 dn_slots = DNODE_MIN_SLOTS; in dmu_object_claim_dnsize() 319 if (dn_slots == 0) in dmu_object_reclaim_dnsize() [all …]
|
| H A D | dnode.c | 575 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument 579 ASSERT3U(dn_slots, >, 0); in dnode_allocate() 580 ASSERT3U(dn_slots << DNODE_SHIFT, <=, in dnode_allocate() 595 dn->dn_objset, dn->dn_object, tx->tx_txg, blocksize, ibs, dn_slots); in dnode_allocate() 607 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate() 634 dn->dn_num_slots = dn_slots; in dnode_allocate() 639 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_allocate() 665 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument 682 ASSERT3U(bonuslen, <=, DN_BONUS_SIZE(dn_slots << DNODE_SHIFT)); in dnode_reallocate() 710 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_reallocate() [all …]
|
| H A D | dmu_recv.c | 1364 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_handle_existing_object() local 1495 if (dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) in receive_handle_existing_object() 1531 dn_slots != doi->doi_dnodesize >> DNODE_SHIFT) { in receive_handle_existing_object() 1571 uint8_t dn_slots = drro->drr_dn_slots != 0 ? in receive_object() local 1584 dn_slots > in receive_object() 1600 DN_SLOTS_TO_BONUSLEN(dn_slots) < in receive_object() 1664 if (dn_slots > 1) { in receive_object() 1668 slot < drro->drr_object + dn_slots; in receive_object() 1703 dn_slots << DNODE_SHIFT, tx); in receive_object() 1712 dn_slots << DNODE_SHIFT, rwa->spill ? in receive_object()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | dnode.h | 422 int dnode_hold_impl(struct objset *dd, uint64_t object, int flag, int dn_slots, 432 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 434 dmu_object_type_t bonustype, int bonuslen, int dn_slots,
|