Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/os/linux/zfs/sys/zfs_znode_impl.h
Context not available. | |||||
#define Z_ISDEV(type) (S_ISCHR(type) || S_ISBLK(type) || S_ISFIFO(type)) | #define Z_ISDEV(type) (S_ISCHR(type) || S_ISBLK(type) || S_ISFIFO(type)) | ||||
#define Z_ISDIR(type) S_ISDIR(type) | #define Z_ISDIR(type) S_ISDIR(type) | ||||
#define zn_has_cached_data(zp) ((zp)->z_is_mapped) | #define zn_has_cached_data(zp) ((zp)->z_is_mapped) | ||||
#define zn_rlimit_fsize(zp, uio, td) (0) | #define zn_rlimit_fsize(zp, uio) (0) | ||||
#define zhold(zp) igrab(ZTOI((zp))) | #define zhold(zp) igrab(ZTOI((zp))) | ||||
#define zrele(zp) iput(ZTOI((zp))) | #define zrele(zp) iput(ZTOI((zp))) | ||||
Context not available. | |||||
rrm_exit(&(zfsvfs)->z_teardown_lock, FTAG); \ | rrm_exit(&(zfsvfs)->z_teardown_lock, FTAG); \ | ||||
} while (0) | } while (0) | ||||
#define ZPL_EXIT(zfsvfs) \ | |||||
do { \ | |||||
rrm_exit(&(zfsvfs)->z_teardown_lock, FTAG); \ | |||||
} while (0) | |||||
/* Verifies the znode is valid. */ | /* Verifies the znode is valid. */ | ||||
#define ZFS_VERIFY_ZP_ERROR(zp, error) \ | #define ZFS_VERIFY_ZP_ERROR(zp, error) \ | ||||
do { \ | do { \ | ||||
Context not available. | |||||
extern int zfs_sync(struct super_block *, int, cred_t *); | extern int zfs_sync(struct super_block *, int, cred_t *); | ||||
extern int zfs_inode_alloc(struct super_block *, struct inode **ip); | extern int zfs_inode_alloc(struct super_block *, struct inode **ip); | ||||
extern void zfs_inode_destroy(struct inode *); | extern void zfs_inode_destroy(struct inode *); | ||||
extern void zfs_inode_update(struct znode *); | |||||
extern void zfs_mark_inode_dirty(struct inode *); | extern void zfs_mark_inode_dirty(struct inode *); | ||||
extern boolean_t zfs_relatime_need_update(const struct inode *); | extern boolean_t zfs_relatime_need_update(const struct inode *); | ||||
Context not available. |