• Home
  • Raw
  • Download

Lines Matching refs:xfs_inode

16 struct xfs_inode;
24 typedef struct xfs_inode { struct
84 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) in xfs_inode_has_attr_fork() argument
91 struct xfs_inode *ip, in xfs_ifork_ptr()
109 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff()
114 static inline unsigned int xfs_inode_data_fork_size(struct xfs_inode *ip) in xfs_inode_data_fork_size()
122 static inline unsigned int xfs_inode_attr_fork_size(struct xfs_inode *ip) in xfs_inode_attr_fork_size()
131 struct xfs_inode *ip, in xfs_inode_fork_size()
145 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I()
147 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I()
151 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
161 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
173 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
250 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid()
258 static inline bool xfs_is_reflink_inode(struct xfs_inode *ip) in xfs_is_reflink_inode()
263 static inline bool xfs_is_metadata_inode(struct xfs_inode *ip) in xfs_is_metadata_inode()
275 static inline bool xfs_inode_has_cow_data(struct xfs_inode *ip) in xfs_inode_has_cow_data()
280 static inline bool xfs_inode_has_bigtime(struct xfs_inode *ip) in xfs_inode_has_bigtime()
285 static inline bool xfs_inode_has_large_extent_counts(struct xfs_inode *ip) in xfs_inode_has_large_extent_counts()
472 int xfs_release(struct xfs_inode *ip);
473 void xfs_inactive(struct xfs_inode *ip);
474 int xfs_lookup(struct xfs_inode *dp, const struct xfs_name *name,
475 struct xfs_inode **ipp, struct xfs_name *ci_name);
477 struct xfs_inode *dp, struct xfs_name *name,
479 struct xfs_inode **ipp);
481 struct xfs_inode *dp, umode_t mode,
482 struct xfs_inode **ipp);
483 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
484 struct xfs_inode *ip);
485 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
488 struct xfs_inode *src_dp, struct xfs_name *src_name,
489 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
491 struct xfs_inode *target_ip, unsigned int flags);
497 bool xfs_isilocked(struct xfs_inode *, uint);
498 uint xfs_ilock_data_map_shared(struct xfs_inode *);
499 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
501 uint xfs_ip2xflags(struct xfs_inode *);
502 int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
504 struct xfs_inode *, int, xfs_fsize_t, int);
507 int xfs_log_force_inode(struct xfs_inode *ip);
512 void xfs_lock_two_inodes(struct xfs_inode *ip0, uint ip0_mode,
513 struct xfs_inode *ip1, uint ip1_mode);
515 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
516 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip);
519 struct xfs_inode *pip, xfs_ino_t ino, umode_t mode,
521 struct xfs_inode **ipp);
526 struct xfs_inode *ip, in xfs_itruncate_extents()
539 extern void xfs_setup_inode(struct xfs_inode *ip);
540 extern void xfs_setup_iops(struct xfs_inode *ip);
541 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
550 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
557 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()
564 void xfs_irele(struct xfs_inode *ip);
571 bool xfs_inode_needs_inactive(struct xfs_inode *ip);
575 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
576 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);