Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/zfs_sa.h
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | typedef struct znode_phys { | ||||
*/ | */ | ||||
} znode_phys_t; | } znode_phys_t; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#define DXATTR_MAX_ENTRY_SIZE (32768) | #define DXATTR_MAX_ENTRY_SIZE (32768) | ||||
#define DXATTR_MAX_SA_SIZE (SPA_OLD_MAXBLOCKSIZE >> 1) | #define DXATTR_MAX_SA_SIZE (SPA_OLD_MAXBLOCKSIZE >> 1) | ||||
int zfs_sa_readlink(struct znode *, uio_t *); | int zfs_sa_readlink(struct znode *, zfs_uio_t *); | ||||
void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *); | void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *); | ||||
void zfs_sa_get_scanstamp(struct znode *, xvattr_t *); | void zfs_sa_get_scanstamp(struct znode *, xvattr_t *); | ||||
void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *); | void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *); | ||||
int zfs_sa_get_xattr(struct znode *); | int zfs_sa_get_xattr(struct znode *); | ||||
int zfs_sa_set_xattr(struct znode *); | int zfs_sa_set_xattr(struct znode *); | ||||
void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *); | void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *); | ||||
void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *); | void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *); | ||||
void zfs_sa_init(void); | void zfs_sa_init(void); | ||||
void zfs_sa_fini(void); | void zfs_sa_fini(void); | ||||
#endif | #endif | ||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
#endif | #endif | ||||
#endif /* _SYS_ZFS_SA_H */ | #endif /* _SYS_ZFS_SA_H */ |