Lines Matching defs:objset_t

82 typedef struct objset objset_t;
326 typedef void dmu_objset_create_sync_func_t(objset_t *os, void *arg,
329 int dmu_objset_hold(const char *name, void *tag, objset_t **osp);
331 boolean_t readonly, boolean_t key_required, void *tag, objset_t **osp);
332 void dmu_objset_rele(objset_t *os, void *tag);
333 void dmu_objset_disown(objset_t *os, boolean_t key_required, void *tag);
334 int dmu_objset_open_ds(struct dsl_dataset *ds, objset_t **osp);
336 void dmu_objset_evict_dbufs(objset_t *os);
408 uint64_t dmu_object_alloc(objset_t *os, dmu_object_type_t ot,
410 uint64_t dmu_object_alloc_ibs(objset_t *os, dmu_object_type_t ot, int blocksize,
413 uint64_t dmu_object_alloc_dnsize(objset_t *os, dmu_object_type_t ot,
416 int dmu_object_claim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot,
419 int dmu_object_reclaim_dnsize(objset_t *os, uint64_t object,
422 int dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot,
424 int dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot,
426 int dmu_object_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx);
444 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx);
457 int dmu_object_next(objset_t *os, uint64_t *objectp,
464 int dmu_object_set_nlevels(objset_t *os, uint64_t object, int nlevels,
478 int dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size,
486 int dmu_object_set_maxblkid(objset_t *os, uint64_t object, uint64_t maxblkid,
493 void dmu_object_set_checksum(objset_t *os, uint64_t object, uint8_t checksum,
500 void dmu_object_set_compress(objset_t *os, uint64_t object, uint8_t compress,
503 int dmu_object_remap_indirects(objset_t *os, uint64_t object, uint64_t txg);
506 dmu_write_embedded(objset_t *os, uint64_t object, uint64_t offset,
517 void dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp,
536 int dmu_bonus_hold_impl(objset_t *os, uint64_t object, void *tag,
538 int dmu_bonus_hold(objset_t *os, uint64_t object, void *tag, dmu_buf_t **);
545 int dmu_rm_spill(objset_t *, uint64_t, dmu_tx_t *);
571 int dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset,
589 boolean_t dmu_buf_try_add_ref(dmu_buf_t *, objset_t *os, uint64_t object,
735 objset_t *dmu_buf_get_objset(dmu_buf_t *db);
779 dmu_tx_t *dmu_tx_create(objset_t *os);
826 int dmu_free_range(objset_t *os, uint64_t object, uint64_t offset,
828 int dmu_free_long_range(objset_t *os, uint64_t object, uint64_t offset,
830 int dmu_free_long_object(objset_t *os, uint64_t object);
841 int dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
845 void dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
849 void dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
851 int dmu_read_uio(objset_t *os, uint64_t object, struct uio *uio, uint64_t size);
854 int dmu_write_uio(objset_t *os, uint64_t object, struct uio *uio, uint64_t size,
860 int dmu_write_pages(objset_t *os, uint64_t object, uint64_t offset,
871 void dmu_copy_from_buf(objset_t *os, uint64_t object, uint64_t offset,
889 void dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset,
935 int dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi);
962 void dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *stat);
968 void dmu_objset_stats(objset_t *os, struct nvlist *nv);
982 void dmu_objset_space(objset_t *os, uint64_t *refdbytesp, uint64_t *availbytesp,
990 uint64_t dmu_objset_fsid_guid(objset_t *os);
995 timestruc_t dmu_objset_snap_cmtime(objset_t *os);
997 int dmu_objset_is_snapshot(objset_t *os);
999 extern struct spa *dmu_objset_spa(objset_t *os);
1000 extern struct zilog *dmu_objset_zil(objset_t *os);
1001 extern struct dsl_pool *dmu_objset_pool(objset_t *os);
1002 extern struct dsl_dataset *dmu_objset_ds(objset_t *os);
1003 extern void dmu_objset_name(objset_t *os, char *buf);
1004 extern dmu_objset_type_t dmu_objset_type(objset_t *os);
1005 extern uint64_t dmu_objset_id(objset_t *os);
1006 extern uint64_t dmu_objset_dnodesize(objset_t *os);
1007 extern zfs_sync_type_t dmu_objset_syncprop(objset_t *os);
1008 extern zfs_logbias_op_t dmu_objset_logbias(objset_t *os);
1009 extern int dmu_snapshot_list_next(objset_t *os, int namelen, char *name,
1011 extern int dmu_snapshot_realname(objset_t *os, char *name, char *real,
1013 extern int dmu_dir_list_next(objset_t *os, int namelen, char *name,
1020 extern void dmu_objset_set_user(objset_t *os, void *user_ptr);
1021 extern void *dmu_objset_get_user(objset_t *os);
1057 int dmu_offset_next(objset_t *os, uint64_t object, boolean_t hole,
1067 int dmu_object_wait_synced(objset_t *os, uint64_t object);
1075 typedef void (*dmu_traverse_cb_t)(objset_t *os, void *arg, struct blkptr *bp,
1077 void dmu_traverse_objset(objset_t *os, uint64_t txg_start,