/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_object.c | 47 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_impl() argument 177 bonustype, bonuslen, dn_slots, tx); in dmu_object_alloc_impl() 202 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() argument 204 return (dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype, in dmu_object_alloc() 210 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_ibs() argument 214 bonustype, bonuslen, 0, tx)); in dmu_object_alloc_ibs() 219 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_dnsize() argument 221 return (dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype, in dmu_object_alloc_dnsize() 227 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim() argument 229 return (dmu_object_claim_dnsize(os, object, ot, blocksize, bonustype, in dmu_object_claim() [all …]
|
H A D | zap_micro.c | 690 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim() argument 692 return (zap_create_claim_dnsize(os, obj, ot, bonustype, bonuslen, in zap_create_claim() 698 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in zap_create_claim_dnsize() argument 701 0, ot, bonustype, bonuslen, dnodesize, tx)); in zap_create_claim_dnsize() 707 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim_norm() argument 709 return (zap_create_claim_norm_dnsize(os, obj, normflags, ot, bonustype, in zap_create_claim_norm() 715 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, in zap_create_claim_norm_dnsize() argument 720 err = dmu_object_claim_dnsize(os, obj, ot, 0, bonustype, bonuslen, in zap_create_claim_norm_dnsize() 730 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create() argument 732 return (zap_create_norm(os, 0, ot, bonustype, bonuslen, tx)); in zap_create() [all …]
|
H A D | sa.c | 141 static sa_idx_tab_t *sa_find_idx_tab(objset_t *os, dmu_object_type_t bonustype, 660 dmu_object_type_t bonustype; in sa_build_layouts() local 668 bonustype = SA_BONUSTYPE_FROM_DB(hdl->sa_bonus); in sa_build_layouts() 684 ASSERT((bonustype == DMU_OT_ZNODE && spilling == 0) || in sa_build_layouts() 685 bonustype == DMU_OT_SA); in sa_build_layouts() 738 VERIFY(bonustype == DMU_OT_SA); in sa_build_layouts() 777 VERIFY((bonustype == DMU_OT_ZNODE && lot->lot_num == 0) || in sa_build_layouts() 778 (bonustype == DMU_OT_SA && lot->lot_num > 1)); in sa_build_layouts() 780 if (bonustype == DMU_OT_SA) { in sa_build_layouts() 1274 dmu_object_type_t bonustype = SA_BONUSTYPE_FROM_DB(db); in sa_build_index() local [all …]
|
H A D | dnode.c | 570 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument 599 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_allocate() 600 (bonustype == DMU_OT_SA && bonuslen == 0) || in dnode_allocate() 601 (bonustype != DMU_OT_NONE && bonuslen != 0)); in dnode_allocate() 602 ASSERT(DMU_OT_IS_VALID(bonustype)); in dnode_allocate() 632 if (bonustype == DMU_OT_SA) /* Maximize bonus space for SA */ in dnode_allocate() 640 dn->dn_bonustype = bonustype; in dnode_allocate() 664 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument 675 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_reallocate() 676 (bonustype != DMU_OT_NONE && bonuslen != 0) || in dnode_reallocate() [all …]
|
H A D | zfs_vfsops.c | 583 zfs_space_delta_cb(dmu_object_type_t bonustype, void *data, in zfs_space_delta_cb() argument 595 if (bonustype != DMU_OT_ZNODE && bonustype != DMU_OT_SA) in zfs_space_delta_cb() 607 if (bonustype == DMU_OT_ZNODE) { in zfs_space_delta_cb()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap.h | 123 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 125 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 127 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 129 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, 133 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 136 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, 154 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 156 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 159 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 162 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx);
|
H A D | dmu.h | 412 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 420 dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, 425 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp); 1016 typedef int objset_used_cb_t(dmu_object_type_t bonustype,
|
H A D | dnode.h | 402 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 404 dmu_object_type_t bonustype, int bonuslen, int dn_slots,
|
/illumos-gate/usr/src/cmd/zhack/ |
H A D | zhack.c | 106 space_delta_cb(dmu_object_type_t bonustype, void *data, in space_delta_cb() argument 112 if (bonustype != DMU_OT_ZNODE && bonustype != DMU_OT_SA) in space_delta_cb()
|