| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| H A D | zap.h | 134 uint64_t zap_create(objset_t *ds, dmu_object_type_t ot, 136 uint64_t zap_create_norm(objset_t *ds, int normflags, dmu_object_type_t ot, 138 uint64_t zap_create_flags(objset_t *os, int normflags, zap_flags_t flags, 141 uint64_t zap_create_link(objset_t *os, dmu_object_type_t ot, 147 void mzap_create_impl(objset_t *os, uint64_t obj, int normflags, 154 int zap_create_claim(objset_t *ds, uint64_t obj, dmu_object_type_t ot, 156 int zap_create_claim_norm(objset_t *ds, uint64_t obj, 170 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx); 199 int zap_lookup(objset_t *ds, uint64_t zapobj, const char *name, 210 int zap_lookup_norm(objset_t *ds, uint64_t zapobj, const char *name, [all …]
|
| H A D | dmu.h | 79 typedef struct objset objset_t; typedef 271 int dmu_objset_hold(const char *name, void *tag, objset_t **osp); 273 boolean_t readonly, void *tag, objset_t **osp); 274 void dmu_objset_rele(objset_t *os, void *tag); 275 void dmu_objset_disown(objset_t *os, void *tag); 276 int dmu_objset_open_ds(struct dsl_dataset *ds, objset_t **osp); 278 void dmu_objset_evict_dbufs(objset_t *os); 280 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg); 345 uint64_t dmu_object_alloc(objset_t *os, dmu_object_type_t ot, 347 int dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, [all …]
|
| H A D | dmu_objset.h | 147 int dmu_objset_hold(const char *name, void *tag, objset_t **osp); 149 boolean_t readonly, void *tag, objset_t **osp); 151 dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp); 152 void dmu_objset_refresh_ownership(objset_t *os, void *tag); 153 void dmu_objset_rele(objset_t *os, void *tag); 154 void dmu_objset_disown(objset_t *os, void *tag); 155 int dmu_objset_from_ds(struct dsl_dataset *ds, objset_t **osp); 157 void dmu_objset_stats(objset_t *os, nvlist_t *nv); 158 void dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *stat); 159 void dmu_objset_space(objset_t *os, uint64_t *refdbytesp, uint64_t *availbytesp, [all …]
|
| H A D | sa.h | 118 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 D | bpobj.h | 58 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 D | bptree.h | 51 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 D | ddt.h | 129 objset_t *ddt_os; 153 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx, 155 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx); 156 int (*ddt_op_lookup)(objset_t *os, uint64_t object, ddt_entry_t *dde); 157 void (*ddt_op_prefetch)(objset_t *os, uint64_t object, 159 int (*ddt_op_update)(objset_t *os, uint64_t object, ddt_entry_t *dde, 161 int (*ddt_op_remove)(objset_t *os, uint64_t object, ddt_entry_t *dde, 163 int (*ddt_op_walk)(objset_t *os, uint64_t object, ddt_entry_t *dde, 165 int (*ddt_op_count)(objset_t *os, uint64_t object, uint64_t *count);
|
| H A D | dmu_impl.h | 294 objset_t *dsa_os; 308 void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *); 309 void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *); 310 int dmu_buf_hold_noread(objset_t *, uint64_t, uint64_t,
|
| H A D | dsl_deadlist.h | 46 objset_t *dl_os; 65 void dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object); 67 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx); 68 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx);
|
| H A D | space_map.h | 83 objset_t *sm_os; /* objset for this map */ 151 uint64_t space_map_alloc(objset_t *os, dmu_tx_t *tx); 154 int space_map_open(space_map_t **smp, objset_t *os, uint64_t object,
|
| H A D | dmu_tx.h | 53 objset_t *tx_objset; 126 dmu_tx_t *dmu_tx_create(objset_t *dd); 149 void dmu_tx_add_new_object(dmu_tx_t *tx, objset_t *os, uint64_t object);
|
| H A D | dsl_deleg.h | 73 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx); 74 boolean_t dsl_delegation_on(objset_t *os);
|
| H A D | zfs_znode.h | 325 extern void zfs_set_dataprop(objset_t *); 326 extern void zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *, 349 extern int zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value); 350 extern int zfs_get_stats(objset_t *os, nvlist_t *nv); 392 extern int zfs_obj_to_path(objset_t *osp, uint64_t obj, char *buf, int len);
|
| H A D | zvol.h | 41 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);
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | dmu_objset.c | 85 dmu_objset_spa(objset_t *os) in dmu_objset_spa() 91 dmu_objset_zil(objset_t *os) in dmu_objset_zil() 97 dmu_objset_pool(objset_t *os) in dmu_objset_pool() 108 dmu_objset_ds(objset_t *os) in dmu_objset_ds() 114 dmu_objset_type(objset_t *os) in dmu_objset_type() 120 dmu_objset_name(objset_t *os, char *buf) in dmu_objset_name() 126 dmu_objset_id(objset_t *os) in dmu_objset_id() 134 dmu_objset_syncprop(objset_t *os) in dmu_objset_syncprop() 140 dmu_objset_logbias(objset_t *os) in dmu_objset_logbias() 148 objset_t *os = arg; in checksum_changed_cb() [all …]
|
| H A D | ddt_zap.c | 37 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 D | dmu_object.c | 35 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, in dmu_object_alloc() 96 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_claim() 116 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, in dmu_object_reclaim() 137 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free() 163 dmu_object_next(objset_t *os, uint64_t *objectp, boolean_t hole, uint64_t txg) in dmu_object_next() 183 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type, in dmu_object_zapify() 209 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) in dmu_object_free_zapified()
|
| H A D | zap_micro.c | 372 mzap_open(objset_t *os, uint64_t obj, dmu_buf_t *db) in mzap_open() 480 objset_t *os = dmu_buf_get_objset(db); in zap_lockdir_impl() 572 zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, in zap_lockdir() 646 mzap_create_impl(objset_t *os, uint64_t obj, int normflags, zap_flags_t flags, in mzap_create_impl() 680 zap_create_claim(objset_t *os, uint64_t obj, dmu_object_type_t ot, in zap_create_claim() 688 zap_create_claim_norm(objset_t *os, uint64_t obj, int normflags, in zap_create_claim_norm() 702 zap_create(objset_t *os, dmu_object_type_t ot, in zap_create() 709 zap_create_norm(objset_t *os, int normflags, dmu_object_type_t ot, in zap_create_norm() 719 zap_create_flags(objset_t *os, int normflags, zap_flags_t flags, in zap_create_flags() 738 zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx) in zap_destroy() [all …]
|
| H A D | dsl_deleg.c | 161 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() 408 dsl_check_access(objset_t *mos, uint64_t zapobj, in dsl_check_access() 429 dsl_check_user_access(objset_t *mos, uint64_t zapobj, const char *perm, in dsl_check_user_access() 473 dsl_load_sets(objset_t *mos, uint64_t zapobj, in dsl_load_sets() 512 dsl_load_user_sets(objset_t *mos, uint64_t zapobj, avl_tree_t *avl, in dsl_load_user_sets() 550 objset_t *mos; in dsl_deleg_access_impl() 674 objset_t *mos = dd->dd_pool->dp_meta_objset; in copy_create_perms() 738 dsl_deleg_destroy(objset_t *mos, uint64_t zapobj, dmu_tx_t *tx) in dsl_deleg_destroy() [all …]
|
| H A D | dmu.c | 164 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_noread() 214 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold() 304 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_rm_spill() 322 dmu_bonus_hold(objset_t *os, uint64_t object, void *tag, dmu_buf_t **dbp) in dmu_bonus_hold() 553 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_array() 615 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset, in dmu_prefetch() 727 dmu_free_long_range_impl(objset_t *os, dnode_t *dn, uint64_t offset, in dmu_free_long_range_impl() 811 dmu_free_long_range(objset_t *os, uint64_t object, in dmu_free_long_range() 836 dmu_free_long_object(objset_t *os, uint64_t object) in dmu_free_long_object() 861 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset, in dmu_free_range() [all …]
|
| H A D | bptree.c | 62 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 D | sa.c | 133 static void sa_idx_tab_hold(objset_t *os, sa_idx_tab_t *idx_tab); 134 static void *sa_find_idx_tab(objset_t *os, dmu_object_type_t bonustype, 136 static void sa_idx_tab_rele(objset_t *os, void *arg); 406 sa_add_layout_entry(objset_t *os, sa_attr_type_t *attrs, int attr_count, in sa_add_layout_entry() 466 sa_find_layout(objset_t *os, uint64_t hash, sa_attr_type_t *attrs, in sa_find_layout() 834 sa_attr_table_setup(objset_t *os, sa_attr_reg_t *reg_attrs, int count) in sa_attr_table_setup() 994 sa_setup(objset_t *os, uint64_t sa_obj, sa_attr_reg_t *reg_attrs, int count, in sa_setup() 1120 sa_tear_down(objset_t *os) in sa_tear_down() 1174 sa_attr_iter(objset_t *os, sa_hdr_phys_t *hdr, dmu_object_type_t type, in sa_attr_iter() 1315 sa_idx_tab_rele(objset_t *os, void *arg) in sa_idx_tab_rele() [all …]
|
| H A D | zap.c | 631 objset_t *os = zap->zap_objset; in zap_expand_leaf() 718 objset_t *os = zap->zap_objset; in zap_put_leaf_maybe_grow_ptrtbl() 975 zap_create_link(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj, in zap_create_link() 988 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask, in zap_value_search() 1013 zap_join(objset_t *os, uint64_t fromobj, uint64_t intoobj, dmu_tx_t *tx) in zap_join() 1037 zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_key() 1062 zap_join_increment(objset_t *os, uint64_t fromobj, uint64_t intoobj, in zap_join_increment() 1093 zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_add_int() 1102 zap_remove_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) in zap_remove_int() 1111 zap_lookup_int(objset_t *os, uint64_t obj, uint64_t value) in zap_lookup_int() [all …]
|
| H A D | dsl_prop.c | 79 objset_t *mos = dd->dd_pool->dp_meta_objset; in dsl_prop_get_dd() 173 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_prop_get_ds() 317 objset_t *os; in dsl_prop_get() 368 objset_t *mos; in dsl_prop_predict() 542 objset_t *mos = dp->dp_meta_objset; in dsl_prop_changed_notify() 615 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_prop_set_sync_impl() 930 dsl_prop_get_all_impl(objset_t *mos, uint64_t propobj, in dsl_prop_get_all_impl() 1060 objset_t *mos = dp->dp_meta_objset; in dsl_prop_get_all_ds() 1142 dsl_prop_get_all(objset_t *os, nvlist_t **nvp) in dsl_prop_get_all() 1150 objset_t *os; in dsl_prop_get_received()
|
| H A D | spa_history.c | 90 objset_t *mos = spa->spa_meta_objset; in spa_history_create_obj() 125 objset_t *mos = spa->spa_meta_objset; in spa_history_advance_bof() 154 objset_t *mos = spa->spa_meta_objset; in spa_history_write() 204 objset_t *mos = spa->spa_meta_objset; in spa_history_log_sync() 344 objset_t *mos = spa->spa_meta_objset; in spa_history_get()
|