Home
last modified time | relevance | path

Searched refs:bonustype (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_object.c48 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_impl() argument
192 indirect_blockshift, bonustype, in dmu_object_alloc_impl()
227 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() argument
229 return dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype, in dmu_object_alloc()
235 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_ibs() argument
239 bonustype, bonuslen, 0, NULL, NULL, tx); in dmu_object_alloc_ibs()
244 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_dnsize() argument
246 return (dmu_object_alloc_impl(os, ot, blocksize, 0, bonustype, in dmu_object_alloc_dnsize()
257 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_hold() argument
261 bonustype, bonuslen, dnodesize, allocated_dnode, tag, tx)); in dmu_object_alloc_hold()
[all …]
H A Dzap_micro.c868 dmu_object_type_t bonustype, int bonuslen, int dnodesize, in zap_create_impl() argument
878 indirect_blockshift, bonustype, bonuslen, dnodesize, in zap_create_impl()
884 indirect_blockshift, bonustype, bonuslen, dnodesize, in zap_create_impl()
894 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim() argument
896 return (zap_create_claim_dnsize(os, obj, ot, bonustype, bonuslen, in zap_create_claim()
902 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in zap_create_claim_dnsize() argument
905 0, ot, bonustype, bonuslen, dnodesize, tx)); in zap_create_claim_dnsize()
911 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim_norm() argument
913 return (zap_create_claim_norm_dnsize(os, obj, normflags, ot, bonustype, in zap_create_claim_norm()
919 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, in zap_create_claim_norm_dnsize() argument
[all …]
H A Dsa.c136 static sa_idx_tab_t *sa_find_idx_tab(objset_t *os, dmu_object_type_t bonustype,
674 dmu_object_type_t bonustype; in sa_build_layouts() local
682 bonustype = SA_BONUSTYPE_FROM_DB(hdl->sa_bonus); in sa_build_layouts()
697 ASSERT((bonustype == DMU_OT_ZNODE && spilling == 0) || in sa_build_layouts()
698 bonustype == DMU_OT_SA); in sa_build_layouts()
742 VERIFY(bonustype == DMU_OT_SA); in sa_build_layouts()
779 VERIFY((bonustype == DMU_OT_ZNODE && lot->lot_num == 0) || in sa_build_layouts()
780 (bonustype == DMU_OT_SA && lot->lot_num > 1)); in sa_build_layouts()
782 if (bonustype == DMU_OT_SA) { in sa_build_layouts()
1283 dmu_object_type_t bonustype = SA_BONUSTYPE_FROM_DB(db); in sa_build_index() local
[all …]
H A Dzfs_quota.c41 zpl_get_file_info(dmu_object_type_t bonustype, const void *data, in zpl_get_file_info() argument
47 if (bonustype != DMU_OT_ZNODE && bonustype != DMU_OT_SA) in zpl_get_file_info()
61 if (bonustype == DMU_OT_ZNODE) { in zpl_get_file_info()
H A Ddnode.c715 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument
744 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_allocate()
745 (bonustype == DMU_OT_SA && bonuslen == 0) || in dnode_allocate()
746 (bonustype == DMU_OTN_UINT64_METADATA && bonuslen == 0) || in dnode_allocate()
747 (bonustype != DMU_OT_NONE && bonuslen != 0)); in dnode_allocate()
748 ASSERT(DMU_OT_IS_VALID(bonustype)); in dnode_allocate()
777 if (bonustype == DMU_OT_SA) /* Maximize bonus space for SA */ in dnode_allocate()
785 dn->dn_bonustype = bonustype; in dnode_allocate()
807 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument
818 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_reallocate()
[all …]
H A Ddmu_objset.c1889 dmu_get_file_info(objset_t *os, dmu_object_type_t bonustype, const void *data, in dmu_get_file_info() argument
1895 return (cb(bonustype, data, zfi)); in dmu_get_file_info()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap.h124 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
126 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx);
128 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
130 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen,
134 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
137 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen,
141 dmu_object_type_t bonustype, int bonuslen, int dnodesize,
160 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);
165 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
[all …]
H A Ddmu.h415 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
420 int blocksize, int indirect_blockshift, dmu_object_type_t bonustype,
429 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);
431 dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype,
1058 typedef int file_info_cb_t(dmu_object_type_t bonustype, const void *data,
H A Ddnode.h445 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx);
447 dmu_object_type_t bonustype, int bonuslen, int dn_slots,
H A Ddmu_objset.h263 int dmu_get_file_info(objset_t *os, dmu_object_type_t bonustype,
/freebsd/usr.sbin/makefs/zfs/
H A Dobjset.c63 dnode_init(dnode_phys_t *dnode, uint8_t type, uint8_t bonustype, in dnode_init() argument
68 dnode->dn_bonustype = bonustype; in dnode_init()
194 objset_dnode_bonus_alloc(zfs_objset_t *os, uint8_t type, uint8_t bonustype, in objset_dnode_bonus_alloc() argument
210 dnode_init(dnode, type, bonustype, bonuslen); in objset_dnode_bonus_alloc()
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c120 space_delta_cb(dmu_object_type_t bonustype, const void *data, in space_delta_cb() argument
128 if (bonustype != DMU_OT_ZNODE && bonustype != DMU_OT_SA) in space_delta_cb()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c9200 dummy_get_file_info(dmu_object_type_t bonustype, const void *data, in dummy_get_file_info() argument
9205 if (bonustype != DMU_OT_ZNODE && bonustype != DMU_OT_SA) in dummy_get_file_info()