Lines Matching refs:xfs_inode
16 struct xfs_inode;
24 typedef struct xfs_inode { struct
81 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I() argument
83 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I()
87 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
97 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
109 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
186 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid()
194 static inline bool xfs_is_reflink_inode(struct xfs_inode *ip) in xfs_is_reflink_inode()
199 static inline bool xfs_is_metadata_inode(struct xfs_inode *ip) in xfs_is_metadata_inode()
211 static inline bool xfs_inode_has_cow_data(struct xfs_inode *ip) in xfs_inode_has_cow_data()
216 static inline bool xfs_inode_has_bigtime(struct xfs_inode *ip) in xfs_inode_has_bigtime()
403 int xfs_release(struct xfs_inode *ip);
404 void xfs_inactive(struct xfs_inode *ip);
405 int xfs_lookup(struct xfs_inode *dp, struct xfs_name *name,
406 struct xfs_inode **ipp, struct xfs_name *ci_name);
408 struct xfs_inode *dp, struct xfs_name *name,
410 struct xfs_inode **ipp);
412 struct xfs_inode *dp, umode_t mode,
413 struct xfs_inode **ipp);
414 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
415 struct xfs_inode *ip);
416 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
419 struct xfs_inode *src_dp, struct xfs_name *src_name,
420 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
422 struct xfs_inode *target_ip, unsigned int flags);
428 bool xfs_isilocked(struct xfs_inode *, uint);
429 uint xfs_ilock_data_map_shared(struct xfs_inode *);
430 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
432 uint xfs_ip2xflags(struct xfs_inode *);
433 int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
435 struct xfs_inode *, int, xfs_fsize_t, int);
438 int xfs_log_force_inode(struct xfs_inode *ip);
443 void xfs_lock_two_inodes(struct xfs_inode *ip0, uint ip0_mode,
444 struct xfs_inode *ip1, uint ip1_mode);
446 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
447 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip);
450 struct xfs_inode *pip, xfs_ino_t ino, umode_t mode,
452 struct xfs_inode **ipp);
457 struct xfs_inode *ip, in xfs_itruncate_extents()
472 int xfs_update_prealloc_flags(struct xfs_inode *ip,
478 extern void xfs_setup_inode(struct xfs_inode *ip);
479 extern void xfs_setup_iops(struct xfs_inode *ip);
480 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
489 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
496 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()
503 void xfs_irele(struct xfs_inode *ip);
510 bool xfs_inode_needs_inactive(struct xfs_inode *ip);
517 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
518 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);