Lines Matching refs:xfs_inode
28 struct xfs_inode;
37 typedef struct xfs_inode { struct
73 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I() argument
75 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I()
79 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
89 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
101 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
183 xfs_get_projid(struct xfs_inode *ip) in xfs_get_projid()
189 xfs_set_projid(struct xfs_inode *ip, in xfs_set_projid()
197 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid()
233 extern void __xfs_iflock(struct xfs_inode *ip);
235 static inline int xfs_iflock_nowait(struct xfs_inode *ip) in xfs_iflock_nowait()
240 static inline void xfs_iflock(struct xfs_inode *ip) in xfs_iflock()
246 static inline void xfs_ifunlock(struct xfs_inode *ip) in xfs_ifunlock()
253 static inline int xfs_isiflocked(struct xfs_inode *ip) in xfs_isiflocked()
341 int xfs_release(struct xfs_inode *ip);
342 void xfs_inactive(struct xfs_inode *ip);
343 int xfs_lookup(struct xfs_inode *dp, struct xfs_name *name,
344 struct xfs_inode **ipp, struct xfs_name *ci_name);
345 int xfs_create(struct xfs_inode *dp, struct xfs_name *name,
346 umode_t mode, xfs_dev_t rdev, struct xfs_inode **ipp);
347 int xfs_create_tmpfile(struct xfs_inode *dp, struct dentry *dentry,
348 umode_t mode, struct xfs_inode **ipp);
349 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
350 struct xfs_inode *ip);
351 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
353 int xfs_rename(struct xfs_inode *src_dp, struct xfs_name *src_name,
354 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
356 struct xfs_inode *target_ip, unsigned int flags);
363 uint xfs_ilock_data_map_shared(struct xfs_inode *);
364 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
369 uint xfs_ip2xflags(struct xfs_inode *);
373 int xfs_itruncate_extents(struct xfs_trans **, struct xfs_inode *,
382 int xfs_iflush(struct xfs_inode *, struct xfs_buf **);
386 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
388 int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t,
390 struct xfs_inode **, int *);
391 int xfs_droplink(struct xfs_trans *, struct xfs_inode *);
392 int xfs_bumplink(struct xfs_trans *, struct xfs_inode *);
402 int xfs_update_prealloc_flags(struct xfs_inode *ip,
404 int xfs_zero_eof(struct xfs_inode *ip, xfs_off_t offset,
406 int xfs_iozero(struct xfs_inode *ip, loff_t pos, size_t count);
417 extern void xfs_setup_inode(struct xfs_inode *ip);
418 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
425 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()