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()
374 int xfs_release(struct xfs_inode *ip);
375 void xfs_inactive(struct xfs_inode *ip);
376 int xfs_lookup(struct xfs_inode *dp, struct xfs_name *name,
377 struct xfs_inode **ipp, struct xfs_name *ci_name);
378 int xfs_create(struct xfs_inode *dp, struct xfs_name *name,
379 umode_t mode, xfs_dev_t rdev, struct xfs_inode **ipp);
380 int xfs_create_tmpfile(struct xfs_inode *dp, struct dentry *dentry,
381 umode_t mode, struct xfs_inode **ipp);
382 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
383 struct xfs_inode *ip);
384 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
386 int xfs_rename(struct xfs_inode *src_dp, struct xfs_name *src_name,
387 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
389 struct xfs_inode *target_ip, unsigned int flags);
396 uint xfs_ilock_data_map_shared(struct xfs_inode *);
397 uint xfs_ilock_attr_map_shared(struct xfs_inode *);
402 uint xfs_ip2xflags(struct xfs_inode *);
406 int xfs_itruncate_extents(struct xfs_trans **, struct xfs_inode *,
415 int xfs_iflush(struct xfs_inode *, struct xfs_buf **);
419 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
421 int xfs_dir_ialloc(struct xfs_trans **, struct xfs_inode *, umode_t,
423 struct xfs_inode **, int *);
424 int xfs_droplink(struct xfs_trans *, struct xfs_inode *);
425 int xfs_bumplink(struct xfs_trans *, struct xfs_inode *);
435 int xfs_update_prealloc_flags(struct xfs_inode *ip,
437 int xfs_zero_eof(struct xfs_inode *ip, xfs_off_t offset,
439 int xfs_iozero(struct xfs_inode *ip, loff_t pos, size_t count);
450 extern void xfs_setup_inode(struct xfs_inode *ip);
451 static inline void xfs_finish_inode_setup(struct xfs_inode *ip) in xfs_finish_inode_setup()
458 static inline void xfs_setup_existing_inode(struct xfs_inode *ip) in xfs_setup_existing_inode()