Home
last modified time | relevance | path

Searched refs:xfs_inode (Results 1 - 25 of 217) sorted by relevance

123456789

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode.h16 struct xfs_inode;
24 typedef struct xfs_inode { struct
70 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I()
72 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I()
76 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
86 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
98 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
175 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid()
183 static inline bool xfs_is_reflink_inode(struct xfs_inode *ip) in xfs_is_reflink_inode()
192 static inline bool xfs_inode_has_cow_data(struct xfs_inode *i
[all...]
H A Dxfs_reflink.h9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) in xfs_is_always_cow_inode()
15 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) in xfs_is_cow_inode()
23 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip,
25 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
28 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
31 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset,
34 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip,
37 extern int xfs_reflink_cancel_cow_range(struct xfs_inode *ip, xfs_off_t offset,
39 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
46 struct xfs_inode *i
[all...]
H A Dxfs_bmap_util.h14 struct xfs_inode;
33 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
42 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
56 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset,
58 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset,
60 int xfs_collapse_file_space(struct xfs_inode *, xfs_off_t offset,
62 int xfs_insert_file_space(struct xfs_inode *, xfs_off_t offset,
66 bool xfs_can_free_eofblocks(struct xfs_inode *ip, bool force);
67 int xfs_free_eofblocks(struct xfs_inode *i
[all...]
H A Dxfs_icache.h46 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino);
47 void xfs_inode_free(struct xfs_inode *ip);
55 void xfs_inode_set_reclaim_tag(struct xfs_inode *ip);
57 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip);
58 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip);
60 int xfs_inode_free_quota_eofblocks(struct xfs_inode *ip);
64 void xfs_inode_set_cowblocks_tag(struct xfs_inode *ip);
65 void xfs_inode_clear_cowblocks_tag(struct xfs_inode *ip);
67 int xfs_inode_free_quota_cowblocks(struct xfs_inode *ip);
72 int (*execute)(struct xfs_inode *i
[all...]
H A Dxfs_quota.h80 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *,
85 struct xfs_inode *, int64_t, long, uint);
90 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, kuid_t, kgid_t,
93 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
95 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **);
97 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *);
98 extern int xfs_qm_vop_chown_reserve(struct xfs_trans *, struct xfs_inode *,
101 extern int xfs_qm_dqattach(struct xfs_inode *);
102 extern int xfs_qm_dqattach_locked(struct xfs_inode *ip, bool doalloc);
103 extern void xfs_qm_dqdetach(struct xfs_inode *);
[all...]
H A Dxfs_inode_item.h13 struct xfs_inode;
18 struct xfs_inode *ili_inode; /* inode ptr */
39 static inline int xfs_inode_clean(struct xfs_inode *ip) in xfs_inode_clean()
44 extern void xfs_inode_item_init(struct xfs_inode *, struct xfs_mount *);
45 extern void xfs_inode_item_destroy(struct xfs_inode *);
46 extern void xfs_iflush_abort(struct xfs_inode *);
H A Dxfs_symlink.h10 int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name,
11 const char *target_path, umode_t mode, struct xfs_inode **ipp);
12 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
13 int xfs_readlink(struct xfs_inode *ip, char *link);
14 int xfs_inactive_symlink(struct xfs_inode *ip);
H A Dxfs_iomap.h11 struct xfs_inode;
14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
16 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool);
17 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
20 int xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_inode.h16 struct xfs_inode;
24 typedef struct xfs_inode { struct
97 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip) in xfs_inode_on_unlinked_list()
102 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) in xfs_inode_has_attr_fork()
109 struct xfs_inode *ip, in xfs_ifork_ptr()
127 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff()
132 static inline unsigned int xfs_inode_data_fork_size(struct xfs_inode *ip) in xfs_inode_data_fork_size()
140 static inline unsigned int xfs_inode_attr_fork_size(struct xfs_inode *ip) in xfs_inode_attr_fork_size()
149 struct xfs_inode *ip, in xfs_inode_fork_size()
163 static inline struct xfs_inode *XFS_
[all...]
H A Dxfs_bmap_util.h14 struct xfs_inode;
33 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip,
42 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
56 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset,
58 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset,
60 int xfs_collapse_file_space(struct xfs_inode *, xfs_off_t offset,
62 int xfs_insert_file_space(struct xfs_inode *, xfs_off_t offset,
66 bool xfs_can_free_eofblocks(struct xfs_inode *ip, bool force);
67 int xfs_free_eofblocks(struct xfs_inode *i
[all...]
H A Dxfs_reflink.h9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) in xfs_is_always_cow_inode()
14 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) in xfs_is_cow_inode()
19 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip,
21 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
24 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
27 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset,
30 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip,
33 extern int xfs_reflink_cancel_cow_range(struct xfs_inode *ip, xfs_off_t offset,
35 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
42 struct xfs_inode *i
[all...]
H A Dxfs_quota.h80 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *,
84 int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip,
93 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, kuid_t, kgid_t,
96 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
98 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **);
100 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *);
101 extern int xfs_qm_dqattach(struct xfs_inode *);
102 extern int xfs_qm_dqattach_locked(struct xfs_inode *ip, bool doalloc);
103 extern void xfs_qm_dqdetach(struct xfs_inode *);
105 extern void xfs_qm_statvfs(struct xfs_inode *, struc
[all...]
H A Dxfs_inode_item.h13 struct xfs_inode;
18 struct xfs_inode *ili_inode; /* inode ptr */
40 static inline int xfs_inode_clean(struct xfs_inode *ip) in xfs_inode_clean()
45 extern void xfs_inode_item_init(struct xfs_inode *, struct xfs_mount *);
46 extern void xfs_inode_item_destroy(struct xfs_inode *);
47 extern void xfs_iflush_abort(struct xfs_inode *);
48 extern void xfs_iflush_shutdown_abort(struct xfs_inode *);
H A Dxfs_iomap.h11 struct xfs_inode;
14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
17 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool);
18 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
21 u64 xfs_iomap_inode_sequence(struct xfs_inode *ip, u16 iomap_flags);
22 int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap,
26 int xfs_zero_range(struct xfs_inode *ip, loff_t pos, loff_t len,
28 int xfs_truncate_page(struct xfs_inode *ip, loff_t pos, bool *did_zero);
H A Dxfs_icache.h49 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino);
50 void xfs_inode_free(struct xfs_inode *ip);
58 void xfs_inode_mark_reclaimable(struct xfs_inode *ip);
63 int xfs_blockgc_free_quota(struct xfs_inode *ip, unsigned int iwalk_flags);
67 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip);
68 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip);
70 void xfs_inode_set_cowblocks_tag(struct xfs_inode *ip);
71 void xfs_inode_clear_cowblocks_tag(struct xfs_inode *ip);
H A Dxfs_symlink.h10 int xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
12 umode_t mode, struct xfs_inode **ipp);
13 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
14 int xfs_readlink(struct xfs_inode *ip, char *link);
15 int xfs_inactive_symlink(struct xfs_inode *ip);
H A Dxfs_inode.c16 #include "xfs_inode.h"
49 STATIC int xfs_iunlink(struct xfs_trans *, struct xfs_inode *);
51 struct xfs_inode *);
58 struct xfs_inode *ip) in xfs_get_extsz_hint()
81 struct xfs_inode *ip) in xfs_get_cowextsz_hint()
113 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
125 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
359 struct xfs_inode *ip, in xfs_isilocked()
452 struct xfs_inode **ips, in xfs_lock_inodes()
553 struct xfs_inode *ip in xfs_lock_two_inodes()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_bmap.h12 struct xfs_inode;
23 struct xfs_inode *ip; /* incore inode pointer */
188 int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd);
189 int xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version);
191 struct xfs_inode *ip, int whichfork);
196 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
198 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
200 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
202 int xfs_bmap_one_block(struct xfs_inode *ip, int whichfork);
203 int xfs_bmapi_read(struct xfs_inode *i
[all...]
H A Dxfs_inode_fork.h83 struct xfs_ifork *xfs_iext_state_to_fork(struct xfs_inode *ip, int state);
85 int xfs_iformat_data_fork(struct xfs_inode *, struct xfs_dinode *);
86 int xfs_iformat_attr_fork(struct xfs_inode *, struct xfs_dinode *);
87 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *,
90 void xfs_idata_realloc(struct xfs_inode *ip, int64_t byte_diff,
92 void xfs_iroot_realloc(struct xfs_inode *, int, int);
93 int xfs_iread_extents(struct xfs_trans *, struct xfs_inode *, int);
94 int xfs_iextents_copy(struct xfs_inode *, struct xfs_bmbt_rec *,
96 void xfs_init_local_fork(struct xfs_inode *ip, int whichfork,
100 void xfs_iext_insert(struct xfs_inode *, struc
[all...]
H A Dxfs_dir2_priv.h53 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp,
73 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp);
78 extern xfs_failaddr_t __xfs_dir3_data_check(struct xfs_inode *dp,
80 int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp,
82 int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno,
97 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
99 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
137 extern xfs_dahash_t xfs_dir2_leaf_lasthash(struct xfs_inode *dp,
142 extern int xfs_dir2_leafn_order(struct xfs_inode *dp, struct xfs_buf *leaf1_bp,
156 extern int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *d
[all...]
H A Dxfs_health.h36 struct xfs_inode;
117 void xfs_inode_mark_sick(struct xfs_inode *ip, unsigned int mask);
118 void xfs_inode_mark_healthy(struct xfs_inode *ip, unsigned int mask);
119 void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick,
154 xfs_inode_has_sickness(struct xfs_inode *ip, unsigned int mask) in xfs_inode_has_sickness()
181 xfs_inode_is_healthy(struct xfs_inode *ip) in xfs_inode_is_healthy()
188 void xfs_bulkstat_health(struct xfs_inode *ip, struct xfs_bulkstat *bs);
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_bmap.h12 struct xfs_inode;
22 struct xfs_inode *ip; /* incore inode pointer */
177 int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd);
179 struct xfs_inode *ip, int whichfork);
181 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
183 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
185 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused,
187 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
190 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
193 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *i
[all...]
H A Dxfs_inode_fork.h163 void xfs_ifork_zap_attr(struct xfs_inode *ip);
164 void xfs_ifork_init_attr(struct xfs_inode *ip, enum xfs_dinode_fmt format,
166 struct xfs_ifork *xfs_iext_state_to_fork(struct xfs_inode *ip, int state);
168 int xfs_iformat_data_fork(struct xfs_inode *, struct xfs_dinode *);
169 int xfs_iformat_attr_fork(struct xfs_inode *, struct xfs_dinode *);
170 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *,
173 void xfs_idata_realloc(struct xfs_inode *ip, int64_t byte_diff,
175 void xfs_iroot_realloc(struct xfs_inode *, int, int);
176 int xfs_iread_extents(struct xfs_trans *, struct xfs_inode *, int);
177 int xfs_iextents_copy(struct xfs_inode *, struc
[all...]
H A Dxfs_dir2_priv.h53 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp,
73 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp);
78 extern xfs_failaddr_t __xfs_dir3_data_check(struct xfs_inode *dp,
80 int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp,
82 int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno,
97 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
99 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
138 extern xfs_dahash_t xfs_dir2_leaf_lasthash(struct xfs_inode *dp,
143 extern int xfs_dir2_leafn_order(struct xfs_inode *dp, struct xfs_buf *leaf1_bp,
157 extern int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *d
[all...]
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dcommon.h75 int xchk_setup_fs(struct xfs_scrub *sc, struct xfs_inode *ip);
77 struct xfs_inode *ip);
79 struct xfs_inode *ip);
81 struct xfs_inode *ip);
83 struct xfs_inode *ip);
85 struct xfs_inode *ip);
87 struct xfs_inode *ip);
89 struct xfs_inode *ip);
91 struct xfs_inode *ip);
93 struct xfs_inode *i
[all...]

Completed in 10 milliseconds

123456789