Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/sa.h
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | |||||
void sa_cache_init(void); | void sa_cache_init(void); | ||||
void sa_cache_fini(void); | void sa_cache_fini(void); | ||||
int sa_set_sa_object(objset_t *, uint64_t); | int sa_set_sa_object(objset_t *, uint64_t); | ||||
int sa_hdrsize(void *); | int sa_hdrsize(void *); | ||||
void sa_handle_lock(sa_handle_t *); | void sa_handle_lock(sa_handle_t *); | ||||
void sa_handle_unlock(sa_handle_t *); | void sa_handle_unlock(sa_handle_t *); | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
int sa_lookup_uio(sa_handle_t *, sa_attr_type_t, uio_t *); | int sa_lookup_uio(sa_handle_t *, sa_attr_type_t, zfs_uio_t *); | ||||
int sa_add_projid(sa_handle_t *, dmu_tx_t *, uint64_t); | int sa_add_projid(sa_handle_t *, dmu_tx_t *, uint64_t); | ||||
#endif | #endif | ||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
extern "C" { | extern "C" { | ||||
#endif | #endif | ||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
#endif | #endif | ||||
#endif /* _SYS_SA_H */ | #endif /* _SYS_SA_H */ |