Home
last modified time | relevance | path

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

1234

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzap.h122 uint64_t zap_create(objset_t *ds, dmu_object_type_t ot,
128 uint64_t zap_create_norm_dnsize(objset_t *ds, int normflags,
138 uint64_t zap_create_link(objset_t *os, dmu_object_type_t ot,
157 int zap_create_claim_norm(objset_t *ds, uint64_t obj,
160 int zap_create_claim_norm_dnsize(objset_t *ds, uint64_t obj,
239 int zap_add(objset_t *ds, uint64_t zapobj, const char *key,
300 int zap_value_search(objset_t *os, uint64_t zapobj,
329 int zap_add_int_key(objset_t *os, uint64_t obj,
331 int zap_update_int_key(objset_t *os, uint64_t obj,
333 int zap_lookup_int_key(objset_t *os, uint64_t obj,
[all …]
H A Ddmu.h79 typedef struct objset objset_t; typedef
281 void dmu_objset_rele(objset_t *os, void *tag);
282 void dmu_objset_disown(objset_t *os, void *tag);
285 void dmu_objset_evict_dbufs(objset_t *os);
657 objset_t *dmu_buf_get_objset(dmu_buf_t *db);
699 dmu_tx_t *dmu_tx_create(objset_t *os);
913 uint64_t dmu_objset_fsid_guid(objset_t *os);
920 int dmu_objset_is_snapshot(objset_t *os);
922 extern struct spa *dmu_objset_spa(objset_t *os);
928 extern uint64_t dmu_objset_id(objset_t *os);
[all …]
H A Ddmu_objset.h166 boolean_t readonly, void *tag, objset_t **osp);
171 void dmu_objset_rele(objset_t *os, void *tag);
172 void dmu_objset_disown(objset_t *os, void *tag);
175 void dmu_objset_stats(objset_t *os, nvlist_t *nv);
179 uint64_t dmu_objset_fsid_guid(objset_t *os);
184 void dmu_objset_evict_dbufs(objset_t *os);
185 timestruc_t dmu_objset_snap_cmtime(objset_t *os);
193 objset_t **osp);
194 void dmu_objset_evict(objset_t *os);
198 int dmu_objset_userspace_upgrade(objset_t *os);
[all …]
H A Dsa.h118 int sa_handle_get(objset_t *, uint64_t, void *userp,
120 int sa_handle_get_from_db(objset_t *, dmu_buf_t *, void *userp,
123 int sa_buf_hold(objset_t *, uint64_t, void *, dmu_buf_t **);
142 void sa_register_update_callback(objset_t *, sa_update_cb_t *);
143 int sa_setup(objset_t *, uint64_t, sa_attr_reg_t *, int, sa_attr_type_t **);
144 void sa_tear_down(objset_t *);
149 boolean_t sa_enabled(objset_t *);
152 int sa_set_sa_object(objset_t *, uint64_t);
H A Dbpobj.h58 objset_t *bpo_os;
70 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx);
71 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx);
72 void bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx);
73 void bpobj_decr_empty(objset_t *os, dmu_tx_t *tx);
75 int bpobj_open(bpobj_t *bpo, objset_t *mos, uint64_t object);
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.h132 objset_t *ddt_os;
156 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx,
158 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx);
159 int (*ddt_op_lookup)(objset_t *os, uint64_t object, ddt_entry_t *dde);
160 void (*ddt_op_prefetch)(objset_t *os, uint64_t object,
162 int (*ddt_op_update)(objset_t *os, uint64_t object, ddt_entry_t *dde,
164 int (*ddt_op_remove)(objset_t *os, uint64_t object, ddt_entry_t *dde,
166 int (*ddt_op_walk)(objset_t *os, uint64_t object, ddt_entry_t *dde,
168 int (*ddt_op_count)(objset_t *os, uint64_t object, uint64_t *count);
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 Ddmu_impl.h292 objset_t *dsa_os;
306 void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *);
307 void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *);
308 int dmu_buf_hold_noread(objset_t *, uint64_t, uint64_t,
H A Ddsl_deadlist.h47 objset_t *dl_os;
66 void dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object);
68 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx);
69 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx);
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 Dspace_map.h86 objset_t *sm_os; /* objset for this map */
211 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx);
213 void space_map_free_obj(objset_t *os, uint64_t smobj, dmu_tx_t *tx);
215 int space_map_open(space_map_t **smp, objset_t *os, uint64_t object,
H A Dzfs_znode.h308 extern void zfs_set_dataprop(objset_t *);
309 extern void zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *,
325 extern int zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value);
326 extern int zfs_get_stats(objset_t *os, nvlist_t *nv);
327 extern boolean_t zfs_get_vfs_flag_unmounted(objset_t *os);
366 extern int zfs_obj_to_path(objset_t *osp, uint64_t obj, char *buf, int len);
H A Ddsl_deleg.h74 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
75 boolean_t dsl_delegation_on(objset_t *os);
H A Dzvol.h41 extern int zvol_get_stats(objset_t *os, nvlist_t *nv);
42 extern void zvol_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx);
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu_objset.c164 objset_t *os = arg; in checksum_changed_cb()
177 objset_t *os = arg; in compression_changed_cb()
191 objset_t *os = arg; in copies_changed_cb()
205 objset_t *os = arg; in dedup_changed_cb()
223 objset_t *os = arg; in primary_cache_changed_cb()
380 objset_t **osp) in dmu_objset_open_impl()
382 objset_t *os; in dmu_objset_open_impl()
597 objset_t *os; in dmu_objset_from_ds()
865 objset_t *
869 objset_t *os; in dmu_objset_create_impl()
[all …]
H A Dddt_zap.c37 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash) in ddt_zap_create()
52 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) in ddt_zap_destroy()
58 ddt_zap_lookup(objset_t *os, uint64_t object, ddt_entry_t *dde) in ddt_zap_lookup()
83 ddt_zap_prefetch(objset_t *os, uint64_t object, ddt_entry_t *dde) in ddt_zap_prefetch()
90 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_update()
103 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_remove()
110 ddt_zap_walk(objset_t *os, uint64_t object, ddt_entry_t *dde, uint64_t *walk) in ddt_zap_walk()
137 ddt_zap_count(objset_t *os, uint64_t object, uint64_t *count) in ddt_zap_count()
H A Ddmu_object.c37 dmu_object_alloc_impl(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_impl()
136 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc()
144 dmu_object_alloc_ibs(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_ibs()
153 dmu_object_alloc_dnsize(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc_dnsize()
161 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_claim()
169 dmu_object_claim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_claim_dnsize()
198 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_reclaim()
206 dmu_object_reclaim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_reclaim_dnsize()
230 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free()
301 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type, in dmu_object_zapify()
[all …]
H A Dzap_micro.c384 mzap_open(objset_t *os, uint64_t obj, dmu_buf_t *db) in mzap_open()
490 objset_t *os = dmu_buf_get_objset(db); in zap_lockdir_impl()
581 zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, in zap_lockdir()
741 zap_create(objset_t *os, dmu_object_type_t ot, in zap_create()
748 zap_create_dnsize(objset_t *os, dmu_object_type_t ot, in zap_create_dnsize()
806 zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx) in zap_destroy()
833 zap_count(objset_t *os, uint64_t zapobj, uint64_t *count) in zap_count()
895 zap_lookup(objset_t *os, uint64_t zapobj, const char *name, in zap_lookup()
1042 zap_length(objset_t *os, uint64_t zapobj, const char *name, in zap_length()
1176 zap_add(objset_t *os, uint64_t zapobj, const char *key, in zap_add()
[all …]
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()
407 dsl_check_access(objset_t *mos, uint64_t zapobj, in dsl_check_access()
428 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, in dsl_check_user_access()
472 dsl_load_sets(objset_t *mos, uint64_t zapobj, in dsl_load_sets()
511 dsl_load_user_sets(objset_t *mos, uint64_t zapobj, avl_tree_t *avl, in dsl_load_user_sets()
549 objset_t *mos; in dsl_deleg_access_impl()
673 objset_t *mos = dd->dd_pool->dp_meta_objset; in copy_create_perms()
737 dsl_deleg_destroy(objset_t *mos, uint64_t zapobj, dmu_tx_t *tx) in dsl_deleg_destroy()
[all …]
H A Ddmu.c222 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold()
312 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_rm_spill()
740 dmu_objset_zfs_unmounting(objset_t *os) in dmu_objset_zfs_unmounting()
837 dmu_free_long_range(objset_t *os, uint64_t object, in dmu_free_long_range()
862 dmu_free_long_object(objset_t *os, uint64_t object) in dmu_free_long_object()
887 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset, in dmu_free_range()
1044 dmu_object_remap_one_indirect(objset_t *os, dnode_t *dn, in dmu_object_remap_one_indirect()
1101 dmu_object_remap_indirects(objset_t *os, uint64_t object, in dmu_object_remap_indirects()
1915 objset_t *os; in dmu_assign_arcbuf_dnode()
2159 objset_t *os = db->db_objset; in dmu_sync()
[all …]
H A Dbptree.c62 bptree_alloc(objset_t *os, dmu_tx_t *tx) in bptree_alloc()
90 bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bptree_free()
107 bptree_is_empty(objset_t *os, uint64_t obj) in bptree_is_empty()
121 bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg, in bptree_add()
187 bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, bptree_itor_t func, in bptree_iterate()
H A Dzap.c606 objset_t *os = zap->zap_objset; in zap_expand_leaf()
692 objset_t *os = zap->zap_objset; in zap_put_leaf_maybe_grow_ptrtbl()
948 zap_create_link(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj, in zap_create_link()
993 zap_join(objset_t *os, uint64_t fromobj, uint64_t intoobj, dmu_tx_t *tx) in zap_join()
1017 zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_key()
1042 zap_join_increment(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_increment()
1073 zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_add_int()
1082 zap_remove_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_remove_int()
1091 zap_lookup_int(objset_t *os, uint64_t obj, uint64_t value) in zap_lookup_int()
1100 zap_add_int_key(objset_t *os, uint64_t obj, in zap_add_int_key()
[all …]
H A Dsa.c134 static void sa_idx_tab_hold(objset_t *os, sa_idx_tab_t *idx_tab);
137 static void sa_idx_tab_rele(objset_t *os, void *arg);
455 sa_find_layout(objset_t *os, uint64_t hash, sa_attr_type_t *attrs, in sa_find_layout()
1111 sa_tear_down(objset_t *os) in sa_tear_down()
1303 sa_idx_tab_rele(objset_t *os, void *arg) in sa_idx_tab_rele()
1327 sa_idx_tab_hold(objset_t *os, sa_idx_tab_t *idx_tab) in sa_idx_tab_hold()
1359 sa_handle_get_from_db(objset_t *os, dmu_buf_t *db, void *userp, in sa_handle_get_from_db()
1409 sa_handle_get(objset_t *objset, uint64_t objid, void *userp, in sa_handle_get()
1956 sa_register_update_callback(objset_t *os, sa_update_cb_t *func) in sa_register_update_callback()
1971 sa_enabled(objset_t *os) in sa_enabled()
[all …]
H A Dvdev_indirect_births.c86 vdev_indirect_births_alloc(objset_t *os, dmu_tx_t *tx) in vdev_indirect_births_alloc()
97 vdev_indirect_births_open(objset_t *os, uint64_t births_object) in vdev_indirect_births_open()
120 vdev_indirect_births_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in vdev_indirect_births_free()

1234