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()
404 int xfs_release(struct xfs_inode *ip);
405 void xfs_inactive(struct xfs_inode *ip);
406 int xfs_lookup(struct xfs_inode *dp, struct xfs_name *name,
407 struct xfs_inode **ipp, struct xfs_name *ci_name);
409 struct xfs_inode *dp, struct xfs_name *name,
411 struct xfs_inode **ipp);
413 struct xfs_inode *dp, umode_t mode,
414 struct xfs_inode **ipp);
415 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
416 struct xfs_inode *ip);
417 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
420 struct xfs_inode *src_dp, struct xfs_name *src_name,
421 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
423 struct xfs_inode *target_ip, unsigned int flags);
429 bool xfs_isilocked(struct xfs_inode *, uint);
430 uint xfs_ilock_data_map_shared(struct xfs_inode *);
431 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
433 uint xfs_ip2xflags(struct xfs_inode *);
434 int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
436 struct xfs_inode *, int, xfs_fsize_t, int);
439 int xfs_log_force_inode(struct xfs_inode *ip);
444 void xfs_lock_two_inodes(struct xfs_inode *ip0, uint ip0_mode,
445 struct xfs_inode *ip1, uint ip1_mode);
447 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
448 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip);
451 struct xfs_inode *pip, xfs_ino_t ino, umode_t mode,
453 struct xfs_inode **ipp);
458 struct xfs_inode *ip, in xfs_itruncate_extents()
473 int xfs_update_prealloc_flags(struct xfs_inode *ip,
479 extern void xfs_setup_inode(struct xfs_inode *ip);
480 extern void xfs_setup_iops(struct xfs_inode *ip);
481 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
490 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
498 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()
505 void xfs_irele(struct xfs_inode *ip);
512 bool xfs_inode_needs_inactive(struct xfs_inode *ip);
519 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
520 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);