Lines Matching refs:xfs_inode

16 struct xfs_inode;
24 typedef struct xfs_inode {
97 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip)
102 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip)
109 struct xfs_inode *ip,
127 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip)
132 static inline unsigned int xfs_inode_data_fork_size(struct xfs_inode *ip)
140 static inline unsigned int xfs_inode_attr_fork_size(struct xfs_inode *ip)
149 struct xfs_inode *ip,
163 static inline struct xfs_inode *XFS_I(struct inode *inode)
165 return container_of(inode, struct xfs_inode, i_vnode);
169 static inline struct inode *VFS_I(struct xfs_inode *ip)
179 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip)
191 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size)
268 xfs_get_initial_prid(struct xfs_inode *dp)
276 static inline bool xfs_is_reflink_inode(struct xfs_inode *ip)
281 static inline bool xfs_is_metadata_inode(struct xfs_inode *ip)
293 static inline bool xfs_inode_has_cow_data(struct xfs_inode *ip)
298 static inline bool xfs_inode_has_bigtime(struct xfs_inode *ip)
303 static inline bool xfs_inode_has_large_extent_counts(struct xfs_inode *ip)
501 int xfs_release(struct xfs_inode *ip);
502 int xfs_inactive(struct xfs_inode *ip);
503 int xfs_lookup(struct xfs_inode *dp, const struct xfs_name *name,
504 struct xfs_inode **ipp, struct xfs_name *ci_name);
506 struct xfs_inode *dp, struct xfs_name *name,
508 struct xfs_inode **ipp);
510 struct xfs_inode *dp, umode_t mode,
511 struct xfs_inode **ipp);
512 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
513 struct xfs_inode *ip);
514 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
517 struct xfs_inode *src_dp, struct xfs_name *src_name,
518 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
520 struct xfs_inode *target_ip, unsigned int flags);
526 bool xfs_isilocked(struct xfs_inode *, uint);
527 uint xfs_ilock_data_map_shared(struct xfs_inode *);
528 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
530 uint xfs_ip2xflags(struct xfs_inode *);
531 int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
533 struct xfs_inode *, int, xfs_fsize_t, int);
536 int xfs_log_force_inode(struct xfs_inode *ip);
541 void xfs_lock_two_inodes(struct xfs_inode *ip0, uint ip0_mode,
542 struct xfs_inode *ip1, uint ip1_mode);
544 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
545 xfs_extlen_t xfs_get_cowextsz_hint(struct xfs_inode *ip);
548 struct xfs_inode *pip, xfs_ino_t ino, umode_t mode,
550 struct xfs_inode **ipp);
555 struct xfs_inode *ip,
568 extern void xfs_setup_inode(struct xfs_inode *ip);
569 extern void xfs_setup_iops(struct xfs_inode *ip);
570 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
572 static inline void xfs_update_stable_writes(struct xfs_inode *ip)
587 static inline void xfs_finish_inode_setup(struct xfs_inode *ip)
594 static inline void xfs_setup_existing_inode(struct xfs_inode *ip)
601 void xfs_irele(struct xfs_inode *ip);
608 bool xfs_inode_needs_inactive(struct xfs_inode *ip);
612 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
613 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
614 void xfs_iunlock2_remapping(struct xfs_inode *ip1, struct xfs_inode *ip2);
618 struct xfs_inode *ip)
622 int xfs_inode_reload_unlinked_bucket(struct xfs_trans *tp, struct xfs_inode *ip);
623 int xfs_inode_reload_unlinked(struct xfs_inode *ip);