dmu_objset.h (219089) | dmu_objset.h (239774) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 147 unchanged lines hidden (view full) --- 156int dmu_objset_prefetch(const char *name, void *arg); 157void dmu_objset_byteswap(void *buf, size_t size); 158int dmu_objset_evict_dbufs(objset_t *os); 159timestruc_t dmu_objset_snap_cmtime(objset_t *os); 160 161/* called from dsl */ 162void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx); 163boolean_t dmu_objset_is_dirty(objset_t *os, uint64_t txg); | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 147 unchanged lines hidden (view full) --- 156int dmu_objset_prefetch(const char *name, void *arg); 157void dmu_objset_byteswap(void *buf, size_t size); 158int dmu_objset_evict_dbufs(objset_t *os); 159timestruc_t dmu_objset_snap_cmtime(objset_t *os); 160 161/* called from dsl */ 162void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx); 163boolean_t dmu_objset_is_dirty(objset_t *os, uint64_t txg); |
164boolean_t dmu_objset_is_dirty_anywhere(objset_t *os); | |
165objset_t *dmu_objset_create_impl(spa_t *spa, struct dsl_dataset *ds, 166 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx); 167int dmu_objset_open_impl(spa_t *spa, struct dsl_dataset *ds, blkptr_t *bp, 168 objset_t **osp); 169void dmu_objset_evict(objset_t *os); 170void dmu_objset_do_userquota_updates(objset_t *os, dmu_tx_t *tx); 171void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx); 172boolean_t dmu_objset_userused_enabled(objset_t *os); 173int dmu_objset_userspace_upgrade(objset_t *os); 174boolean_t dmu_objset_userspace_present(objset_t *os); 175 176void dmu_objset_init(void); 177void dmu_objset_fini(void); 178 179#ifdef __cplusplus 180} 181#endif 182 183#endif /* _SYS_DMU_OBJSET_H */ | 164objset_t *dmu_objset_create_impl(spa_t *spa, struct dsl_dataset *ds, 165 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx); 166int dmu_objset_open_impl(spa_t *spa, struct dsl_dataset *ds, blkptr_t *bp, 167 objset_t **osp); 168void dmu_objset_evict(objset_t *os); 169void dmu_objset_do_userquota_updates(objset_t *os, dmu_tx_t *tx); 170void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx); 171boolean_t dmu_objset_userused_enabled(objset_t *os); 172int dmu_objset_userspace_upgrade(objset_t *os); 173boolean_t dmu_objset_userspace_present(objset_t *os); 174 175void dmu_objset_init(void); 176void dmu_objset_fini(void); 177 178#ifdef __cplusplus 179} 180#endif 181 182#endif /* _SYS_DMU_OBJSET_H */ |