Lines Matching refs:xfs_inode

16 struct xfs_inode;
24 typedef struct xfs_inode { struct
97 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip) in xfs_inode_on_unlinked_list() argument
102 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) in xfs_inode_has_attr_fork()
109 struct xfs_inode *ip, in xfs_ifork_ptr()
127 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff()
132 static inline unsigned int xfs_inode_data_fork_size(struct xfs_inode *ip) in xfs_inode_data_fork_size()
140 static inline unsigned int xfs_inode_attr_fork_size(struct xfs_inode *ip) in xfs_inode_attr_fork_size()
149 struct xfs_inode *ip, in xfs_inode_fork_size()
163 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I()
165 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I()
169 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
179 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
191 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
268 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid()
276 static inline bool xfs_is_reflink_inode(struct xfs_inode *ip) in xfs_is_reflink_inode()
281 static inline bool xfs_is_metadata_inode(struct xfs_inode *ip) in xfs_is_metadata_inode()
293 static inline bool xfs_inode_has_cow_data(struct xfs_inode *ip) in xfs_inode_has_cow_data()
298 static inline bool xfs_inode_has_bigtime(struct xfs_inode *ip) in xfs_inode_has_bigtime()
303 static inline bool xfs_inode_has_large_extent_counts(struct xfs_inode *ip) in xfs_inode_has_large_extent_counts()
493 int xfs_release(struct xfs_inode *ip);
494 int xfs_inactive(struct xfs_inode *ip);
495 int xfs_lookup(struct xfs_inode *dp, const struct xfs_name *name,
496 struct xfs_inode **ipp, struct xfs_name *ci_name);
498 struct xfs_inode *dp, struct xfs_name *name,
500 struct xfs_inode **ipp);
502 struct xfs_inode *dp, umode_t mode,
503 struct xfs_inode **ipp);
504 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
505 struct xfs_inode *ip);
506 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
509 struct xfs_inode *src_dp, struct xfs_name *src_name,
510 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
512 struct xfs_inode *target_ip, unsigned int flags);
518 bool xfs_isilocked(struct xfs_inode *, uint);
519 uint xfs_ilock_data_map_shared(struct xfs_inode *);
520 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
522 uint xfs_ip2xflags(struct xfs_inode *);
523 int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
525 struct xfs_inode *, int, xfs_fsize_t, int);
528 int xfs_log_force_inode(struct xfs_inode *ip);
533 void xfs_lock_two_inodes(struct xfs_inode *ip0, uint ip0_mode,
534 struct xfs_inode *ip1, uint ip1_mode);
536 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
537 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip);
540 struct xfs_inode *pip, xfs_ino_t ino, umode_t mode,
542 struct xfs_inode **ipp);
547 struct xfs_inode *ip, in xfs_itruncate_extents()
560 extern void xfs_setup_inode(struct xfs_inode *ip);
561 extern void xfs_setup_iops(struct xfs_inode *ip);
562 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
571 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
578 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()
585 void xfs_irele(struct xfs_inode *ip);
592 bool xfs_inode_needs_inactive(struct xfs_inode *ip);
596 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
597 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
601 struct xfs_inode *ip) in xfs_inode_unlinked_incomplete()
605 int xfs_inode_reload_unlinked_bucket(struct xfs_trans *tp, struct xfs_inode *ip);
606 int xfs_inode_reload_unlinked(struct xfs_inode *ip);