Home
last modified time | relevance | path

Searched refs:objset_t (Results 1 – 25 of 115) sorted by relevance

12345

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap.h123 uint64_t zap_create(objset_t *ds, dmu_object_type_t ot,
125 uint64_t zap_create_dnsize(objset_t *ds, dmu_object_type_t ot,
127 uint64_t zap_create_norm(objset_t *ds, int normflags, dmu_object_type_t ot,
129 uint64_t zap_create_norm_dnsize(objset_t *ds, int normflags,
132 uint64_t zap_create_flags(objset_t *os, int normflags, zap_flags_t flags,
135 uint64_t zap_create_flags_dnsize(objset_t *os, int normflags,
139 uint64_t zap_create_hold(objset_t *os, int normflags, zap_flags_t flags,
144 uint64_t zap_create_link(objset_t *os, dmu_object_type_t ot,
146 uint64_t zap_create_link_dnsize(objset_t *os, dmu_object_type_t ot,
159 int zap_create_claim(objset_t *ds, uint64_t obj, dmu_object_type_t ot,
[all …]
H A Ddmu_objset.h99 typedef int (*dmu_objset_upgrade_cb_t)(objset_t *);
213 int dmu_objset_hold(const char *name, const void *tag, objset_t **osp);
215 objset_t **osp);
217 boolean_t readonly, boolean_t decrypt, const void *tag, objset_t **osp);
220 const void *tag, objset_t **osp);
223 void dmu_objset_rele(objset_t *os, const void *tag);
224 void dmu_objset_rele_flags(objset_t *os, boolean_t decrypt, const void *tag);
225 void dmu_objset_disown(objset_t *os, boolean_t decrypt, const void *tag);
226 int dmu_objset_from_ds(struct dsl_dataset *ds, objset_t **osp);
228 void dmu_objset_stats(objset_t *os, nvlist_t *nv);
[all …]
H A Ddmu.h80 typedef struct objset objset_t; typedef
326 typedef void dmu_objset_create_sync_func_t(objset_t *os, void *arg,
329 int dmu_objset_hold(const char *name, const void *tag, objset_t **osp);
332 objset_t **osp);
333 void dmu_objset_rele(objset_t *os, const void *tag);
334 void dmu_objset_disown(objset_t *os, boolean_t key_required, const void *tag);
335 int dmu_objset_open_ds(struct dsl_dataset *ds, objset_t **osp);
337 void dmu_objset_evict_dbufs(objset_t *os);
411 uint64_t dmu_object_alloc(objset_t *os, dmu_object_type_t ot,
413 uint64_t dmu_object_alloc_ibs(objset_t *os, dmu_object_type_t ot, int blocksize,
[all …]
H A Dsa.h122 int sa_handle_get(objset_t *, uint64_t, void *userp,
124 int sa_handle_get_from_db(objset_t *, dmu_buf_t *, void *userp,
127 int sa_buf_hold(objset_t *, uint64_t, const void *, dmu_buf_t **);
145 void sa_register_update_callback(objset_t *, sa_update_cb_t *);
146 int sa_setup(objset_t *, uint64_t, const sa_attr_reg_t *, int,
148 void sa_tear_down(objset_t *);
153 boolean_t sa_enabled(objset_t *);
156 int sa_set_sa_object(objset_t *, uint64_t);
H A Dbptree.h51 uint64_t bptree_alloc(objset_t *os, dmu_tx_t *tx);
52 int bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx);
53 boolean_t bptree_is_empty(objset_t *os, uint64_t obj);
55 void bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg,
58 int bptree_iterate(objset_t *os, uint64_t obj, boolean_t free,
H A Dddt_impl.h162 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx,
164 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx);
165 int (*ddt_op_lookup)(objset_t *os, uint64_t object,
167 int (*ddt_op_contains)(objset_t *os, uint64_t object,
169 void (*ddt_op_prefetch)(objset_t *os, uint64_t object,
171 void (*ddt_op_prefetch_all)(objset_t *os, uint64_t object);
172 int (*ddt_op_update)(objset_t *os, uint64_t object,
175 int (*ddt_op_remove)(objset_t *os, uint64_t object,
177 int (*ddt_op_walk)(objset_t *os, uint64_t object, uint64_t *walk,
179 int (*ddt_op_count)(objset_t *os, uint64_t object, uint64_t *count);
H A Dbpobj.h61 objset_t *bpo_os;
75 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx);
76 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx);
77 void bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx);
78 void bpobj_decr_empty(objset_t *os, dmu_tx_t *tx);
80 int bpobj_open(bpobj_t *bpo, objset_t *mos, uint64_t object);
H A Dvdev_indirect_births.h50 objset_t *vib_objset;
56 extern vdev_indirect_births_t *vdev_indirect_births_open(objset_t *os,
60 extern uint64_t vdev_indirect_births_alloc(objset_t *os, dmu_tx_t *tx);
61 extern void vdev_indirect_births_free(objset_t *os, uint64_t object,
H A Dvdev_indirect_mapping.h91 objset_t *vim_objset;
97 extern vdev_indirect_mapping_t *vdev_indirect_mapping_open(objset_t *os,
100 extern uint64_t vdev_indirect_mapping_alloc(objset_t *os, dmu_tx_t *tx);
101 extern void vdev_indirect_mapping_free(objset_t *os, uint64_t obj,
H A Ddsl_deadlist.h49 objset_t *dl_os;
92 void dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object);
95 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx);
96 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx);
H A Dzfs_znode.h160 extern int zfs_obj_to_path(objset_t *osp, uint64_t obj, char *buf, int len);
161 extern int zfs_obj_to_pobj(objset_t *osp, sa_handle_t *hdl,
163 extern int zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value);
267 extern void zfs_set_dataprop(objset_t *);
268 extern void zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *,
286 extern int zfs_get_stats(objset_t *os, nvlist_t *nv);
287 extern boolean_t zfs_get_vfs_flag_unmounted(objset_t *os);
H A Dspace_map.h96 objset_t *sm_os; /* objset for this map */
234 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx);
236 void space_map_free_obj(objset_t *os, uint64_t smobj, dmu_tx_t *tx);
238 int space_map_open(space_map_t **smp, objset_t *os, uint64_t object,
H A Dzvol.h49 extern int zvol_get_stats(objset_t *, nvlist_t *);
51 extern void zvol_create_cb(objset_t *, void *, cred_t *, dmu_tx_t *);
H A Ddmu_impl.h268 void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *);
269 void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *);
H A Ddmu_recv.h65 objset_t *drc_os;
87 boolean_t dmu_objset_is_receiving(objset_t *);
H A Ddsl_deleg.h83 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
84 boolean_t dsl_delegation_on(objset_t *os);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_objset.c96 static void dmu_objset_upgrade(objset_t *os, dmu_objset_upgrade_cb_t cb);
97 static void dmu_objset_upgrade_stop(objset_t *os);
112 dmu_objset_spa(objset_t *os) in dmu_objset_spa()
118 dmu_objset_zil(objset_t *os) in dmu_objset_zil()
124 dmu_objset_pool(objset_t *os) in dmu_objset_pool()
135 dmu_objset_ds(objset_t *os) in dmu_objset_ds()
141 dmu_objset_type(objset_t *os) in dmu_objset_type()
147 dmu_objset_name(objset_t *os, char *buf) in dmu_objset_name()
153 dmu_objset_id(objset_t *os) in dmu_objset_id()
161 dmu_objset_dnodesize(objset_t *os) in dmu_objset_dnodesize()
[all …]
H A Dddt_zap.c99 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash) in ddt_zap_create()
116 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) in ddt_zap_destroy()
122 ddt_zap_lookup(objset_t *os, uint64_t object, in ddt_zap_lookup()
150 ddt_zap_contains(objset_t *os, uint64_t object, const ddt_key_t *ddk) in ddt_zap_contains()
157 ddt_zap_prefetch(objset_t *os, uint64_t object, const ddt_key_t *ddk) in ddt_zap_prefetch()
163 ddt_zap_prefetch_all(objset_t *os, uint64_t object) in ddt_zap_prefetch_all()
169 ddt_zap_update(objset_t *os, uint64_t object, const ddt_key_t *ddk, in ddt_zap_update()
187 ddt_zap_remove(objset_t *os, uint64_t object, const ddt_key_t *ddk, in ddt_zap_remove()
195 ddt_zap_walk(objset_t *os, uint64_t object, uint64_t *walk, ddt_key_t *ddk, in ddt_zap_walk()
242 ddt_zap_count(objset_t *os, uint64_t object, uint64_t *count) in ddt_zap_count()
H A Ddmu_object.c47 dmu_object_alloc_impl(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_impl()
226 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc()
234 dmu_object_alloc_ibs(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_ibs()
243 dmu_object_alloc_dnsize(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_dnsize()
256 dmu_object_alloc_hold(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_hold()
265 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_claim()
273 dmu_object_claim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_claim_dnsize()
303 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_reclaim()
311 dmu_object_reclaim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_reclaim_dnsize()
338 dmu_object_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_rm_spill()
[all …]
H A Dzap_micro.c614 objset_t *os = dmu_buf_get_objset(db); in zap_lockdir_impl()
730 zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, in zap_lockdir()
855 zap_create_impl(objset_t *os, int normflags, zap_flags_t flags, in zap_create_impl()
882 zap_create_claim(objset_t *os, uint64_t obj, dmu_object_type_t ot, in zap_create_claim()
890 zap_create_claim_dnsize(objset_t *os, uint64_t obj, dmu_object_type_t ot, in zap_create_claim_dnsize()
898 zap_create_claim_norm(objset_t *os, uint64_t obj, int normflags, in zap_create_claim_norm()
907 zap_create_claim_norm_dnsize(objset_t *os, uint64_t obj, int normflags, in zap_create_claim_norm_dnsize()
932 zap_create(objset_t *os, dmu_object_type_t ot, in zap_create()
939 zap_create_dnsize(objset_t *os, dmu_object_type_t ot, in zap_create_dnsize()
947 zap_create_norm(objset_t *os, int normflags, dmu_object_type_t ot, in zap_create_norm()
[all …]
H A Dzfs_znode.c45 zfs_sa_setup(objset_t *osp, sa_attr_type_t **sa_table) in zfs_sa_setup()
59 zfs_grab_sa_handle(objset_t *osp, uint64_t obj, sa_handle_t **hdlp, in zfs_grab_sa_handle()
98 zfs_obj_to_pobj(objset_t *osp, sa_handle_t *hdl, sa_attr_type_t *sa_table, in zfs_obj_to_pobj()
173 zfs_obj_to_path_impl(objset_t *osp, uint64_t obj, sa_handle_t *hdl, in zfs_obj_to_path_impl()
261 zfs_obj_to_path(objset_t *osp, uint64_t obj, char *buf, int len) in zfs_obj_to_path()
283 zfs_obj_to_stats(objset_t *osp, uint64_t obj, zfs_stat_t *sb, in zfs_obj_to_stats()
318 zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value) in zfs_get_zplprop()
H A Ddsl_deleg.c161 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_set_sync()
206 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_unset_sync()
311 objset_t *mos; in dsl_deleg_get()
416 dsl_check_access(objset_t *mos, uint64_t zapobj, in dsl_check_access()
437 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, in dsl_check_user_access()
481 dsl_load_sets(objset_t *mos, uint64_t zapobj, in dsl_load_sets()
522 dsl_load_user_sets(objset_t *mos, uint64_t zapobj, avl_tree_t *avl, in dsl_load_user_sets()
560 objset_t *mos; in dsl_deleg_access_impl()
684 objset_t *mos = dd->dd_pool->dp_meta_objset; in copy_create_perms()
750 dsl_deleg_destroy(objset_t *mos, uint64_t zapobj, dmu_tx_t *tx) in dsl_deleg_destroy()
[all …]
H A Dbptree.c60 bptree_alloc(objset_t *os, dmu_tx_t *tx) in bptree_alloc()
88 bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bptree_free()
105 bptree_is_empty(objset_t *os, uint64_t obj) in bptree_is_empty()
119 bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg, in bptree_add()
188 bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, bptree_itor_t func, in bptree_iterate()
H A Ddmu.c196 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_noread()
248 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold()
340 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_rm_spill()
408 dmu_bonus_hold(objset_t *os, uint64_t object, const void *tag, dmu_buf_t **dbp) in dmu_bonus_hold()
658 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_array()
724 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset, in dmu_prefetch()
851 dmu_prefetch_wait(objset_t *os, uint64_t object, uint64_t offset, uint64_t size) in dmu_prefetch_wait()
894 dmu_prefetch_dnode(objset_t *os, uint64_t object, zio_priority_t pri) in dmu_prefetch_dnode()
990 dmu_objset_zfs_unmounting(objset_t *os) in dmu_objset_zfs_unmounting()
1002 dmu_free_long_range_impl(objset_t *os, dnode_t *dn, uint64_t offset, in dmu_free_long_range_impl()
[all …]
H A Dzap.c726 objset_t *os = zap->zap_objset; in zap_expand_leaf()
815 objset_t *os = zap->zap_objset; in zap_put_leaf_maybe_grow_ptrtbl()
1088 zap_create_link(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj, in zap_create_link()
1095 zap_create_link_dnsize(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj, in zap_create_link_dnsize()
1109 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask, in zap_value_search()
1134 zap_join(objset_t *os, uint64_t fromobj, uint64_t intoobj, dmu_tx_t *tx) in zap_join()
1158 zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_key()
1183 zap_join_increment(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_increment()
1214 zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_add_int()
1223 zap_remove_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_remove_int()
[all …]

12345