Home
last modified time | relevance | path

Searched refs:xfs_inode (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.15/fs/xfs/
H A Dxfs_inode.h17 struct xfs_inode;
25 typedef struct xfs_inode { struct
116 struct xfs_inode *ip, in xfs_ifork_ptr()
156 struct xfs_inode *ip, in xfs_inode_fork_size()
361 struct xfs_inode *ip) in xfs_inode_can_atomicwrite()
564 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
568 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
599 struct xfs_inode *ip, in xfs_itruncate_extents()
654 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
655 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
[all …]
H A Dxfs_bmap_util.h14 struct xfs_inode;
44 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
53 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
58 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset,
60 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset,
62 int xfs_collapse_file_space(struct xfs_inode *, xfs_off_t offset,
64 int xfs_insert_file_space(struct xfs_inode *, xfs_off_t offset,
68 bool xfs_can_free_eofblocks(struct xfs_inode *ip);
69 int xfs_free_eofblocks(struct xfs_inode *ip);
71 int xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip,
[all …]
H A Dxfs_reflink.h16 xfs_can_free_cowblocks(struct xfs_inode *ip) in xfs_can_free_cowblocks()
28 int xfs_reflink_trim_around_shared(struct xfs_inode *ip,
30 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap,
36 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset,
39 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip,
44 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
51 struct xfs_inode *ip, bool *has_shared);
52 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip,
54 extern int xfs_reflink_unshare(struct xfs_inode *ip, xfs_off_t offset,
59 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in,
[all …]
H A Dxfs_quota.h110 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, kuid_t, kgid_t,
115 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **);
117 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *);
118 extern int xfs_qm_dqattach(struct xfs_inode *);
120 extern void xfs_qm_dqdetach(struct xfs_inode *);
122 extern void xfs_qm_statvfs(struct xfs_inode *, struct kstatfs *);
129 int xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks);
156 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc()
168 struct xfs_inode *ip, uint field, int64_t delta) in xfs_trans_mod_dquot_byino()
174 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks()
[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;
15 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
18 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool);
19 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
22 u64 xfs_iomap_inode_sequence(struct xfs_inode *ip, u16 iomap_flags);
23 int xfs_bmbt_to_iomap(struct xfs_inode *ip, struct iomap *iomap,
27 int xfs_zero_range(struct xfs_inode *ip, loff_t pos, loff_t len,
29 int xfs_truncate_page(struct xfs_inode *ip, loff_t pos,
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_inode.c67 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
79 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
292 struct xfs_inode *ip, in xfs_assert_ilocked()
484 struct xfs_inode *ip0, in xfs_lock_two_inodes()
486 struct xfs_inode *ip1, in xfs_lock_two_inodes()
534 struct xfs_inode *dp, in xfs_lookup()
988 struct xfs_inode *ip) in xfs_itruncate_clear_reflink_flags()
1027 struct xfs_inode *ip, in xfs_itruncate_extents_flags()
1102 struct xfs_inode *dp) in xfs_inactive_dir()
1146 struct xfs_inode *ip) in xfs_inactive_truncate()
[all …]
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(struct xfs_inode *ip, char *link);
14 int xfs_inactive_symlink(struct xfs_inode *ip);
H A Dxfs_iops.h9 struct xfs_inode;
19 extern void xfs_setup_inode(struct xfs_inode *ip);
20 extern void xfs_setup_iops(struct xfs_inode *ip);
21 extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
H A Dxfs_qm.h12 struct xfs_inode;
55 struct xfs_inode *qi_uquotaip; /* user quota inode */
56 struct xfs_inode *qi_gquotaip; /* group quota inode */
57 struct xfs_inode *qi_pquotaip; /* project quota inode */
58 struct xfs_inode *qi_dirip; /* quota metadir */
96 static inline struct xfs_inode *
189 struct xfs_inode **ipp);
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_bmap.h12 struct xfs_inode;
22 struct xfs_inode *ip; /* incore inode pointer */
182 struct xfs_inode *ip, int whichfork);
186 struct xfs_inode *ip, struct xfs_ifork *ifp,
196 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno,
208 void xfs_bmap_del_extent_cow(struct xfs_inode *ip,
211 uint xfs_default_attroffset(struct xfs_inode *ip);
225 struct xfs_inode *ip, int whichfork,
247 struct xfs_inode *bi_owner;
296 xfs_extlen_t xfs_get_extsz_hint(struct xfs_inode *ip);
[all …]
H A Dxfs_inode_util.h11 uint16_t xfs_flags2diflags(struct xfs_inode *ip, unsigned int xflags);
13 uint32_t xfs_dic2xflags(struct xfs_inode *ip);
14 uint32_t xfs_ip2xflags(struct xfs_inode *ip);
16 prid_t xfs_get_initial_prid(struct xfs_inode *dp);
31 struct xfs_inode *pip; /* parent inode or null */
51 struct xfs_inode *ip);
54 struct xfs_inode *ip, struct xfs_icluster *xic);
56 int xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip);
58 struct xfs_inode *ip);
59 int xfs_droplink(struct xfs_trans *tp, struct xfs_inode *ip);
[all …]
H A Dxfs_inode_fork.h161 void xfs_ifork_zap_attr(struct xfs_inode *ip);
168 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *,
179 int xfs_iextents_copy(struct xfs_inode *, struct xfs_bmbt_rec *,
181 void xfs_init_local_fork(struct xfs_inode *ip, int whichfork,
194 bool xfs_iext_lookup_extent(struct xfs_inode *ip,
198 bool xfs_iext_lookup_extent_before(struct xfs_inode *ip,
205 void xfs_iext_update_extent(struct xfs_inode *ip, int state,
259 extern void xfs_ifork_init_cow(struct xfs_inode *ip);
261 int xfs_ifork_verify_local_data(struct xfs_inode *ip);
262 int xfs_ifork_verify_local_attr(struct xfs_inode *ip);
[all …]
H A Dxfs_parent.h35 const struct xfs_inode *dp) in xfs_inode_to_parent_rec()
83 struct xfs_inode *dp, const struct xfs_name *parent_name,
84 struct xfs_inode *child);
86 struct xfs_inode *dp, const struct xfs_name *parent_name,
87 struct xfs_inode *child);
90 struct xfs_inode *old_dp, const struct xfs_name *old_name,
91 struct xfs_inode *new_dp, const struct xfs_name *new_name,
92 struct xfs_inode *child);
100 int xfs_parent_lookup(struct xfs_trans *tp, struct xfs_inode *ip,
103 int xfs_parent_set(struct xfs_inode *ip, xfs_ino_t owner,
[all …]
H A Dxfs_metadir.h12 struct xfs_inode *dp;
21 struct xfs_inode *ip;
31 int xfs_metadir_load(struct xfs_trans *tp, struct xfs_inode *dp,
33 struct xfs_inode **ipp);
44 int xfs_metadir_mkdir(struct xfs_inode *dp, const char *path,
45 struct xfs_inode **ipp);
H A Dxfs_metafile.h22 void xfs_metafile_set_iflag(struct xfs_trans *tp, struct xfs_inode *ip,
24 void xfs_metafile_clear_iflag(struct xfs_trans *tp, struct xfs_inode *ip);
30 void xfs_metafile_resv_alloc_space(struct xfs_inode *ip,
32 void xfs_metafile_resv_free_space(struct xfs_inode *ip, struct xfs_trans *tp,
40 enum xfs_metafile_type metafile_type, struct xfs_inode **ipp);
42 enum xfs_metafile_type metafile_type, struct xfs_inode **ipp);
H A Dxfs_dir2.h13 struct xfs_inode;
61 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
62 struct xfs_inode *pdp);
66 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp,
72 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp,
75 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp,
312 const struct xfs_inode *dp;
313 const struct xfs_inode *ip;
319 void xfs_dir_update_hook(struct xfs_inode *dp, struct xfs_inode *ip,
339 struct xfs_inode *dp;
[all …]
H A Dxfs_health.h53 struct xfs_inode;
218 void xfs_inode_mark_sick(struct xfs_inode *ip, unsigned int mask);
219 void xfs_inode_mark_corrupt(struct xfs_inode *ip, unsigned int mask);
220 void xfs_inode_mark_healthy(struct xfs_inode *ip, unsigned int mask);
221 void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick,
225 void xfs_bmap_mark_sick(struct xfs_inode *ip, int whichfork);
227 void xfs_dirattr_mark_sick(struct xfs_inode *ip, int whichfork);
263 xfs_inode_has_sickness(struct xfs_inode *ip, unsigned int mask) in xfs_inode_has_sickness()
278 xfs_inode_is_healthy(struct xfs_inode *ip) in xfs_inode_is_healthy()
287 void xfs_bulkstat_health(struct xfs_inode *ip, struct xfs_bulkstat *bs);
H A Dxfs_parent.c154 struct xfs_inode *child, in xfs_parent_da_args_init()
176 struct xfs_inode *child) in xfs_parent_iread_extents()
192 struct xfs_inode *dp, in xfs_parent_addname()
194 struct xfs_inode *child) in xfs_parent_addname()
214 struct xfs_inode *dp, in xfs_parent_removename()
216 struct xfs_inode *child) in xfs_parent_removename()
236 struct xfs_inode *old_dp, in xfs_parent_replacename()
240 struct xfs_inode *child) in xfs_parent_replacename()
307 struct xfs_inode *ip, in xfs_parent_lookup()
342 struct xfs_inode *ip, in xfs_parent_set()
[all …]
H A Dxfs_quota_defs.h180 int xfs_dqinode_load(struct xfs_trans *tp, struct xfs_inode *dp,
181 xfs_dqtype_t type, struct xfs_inode **ipp);
182 int xfs_dqinode_metadir_create(struct xfs_inode *dp, xfs_dqtype_t type,
183 struct xfs_inode **ipp);
184 int xfs_dqinode_metadir_link(struct xfs_inode *dp, xfs_dqtype_t type,
185 struct xfs_inode *ip);
186 int xfs_dqinode_mkdir_parent(struct xfs_mount *mp, struct xfs_inode **dpp);
187 int xfs_dqinode_load_parent(struct xfs_trans *tp, struct xfs_inode **dpp);
H A Dxfs_dir2_priv.h53 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,
83 int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno,
98 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
100 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
139 extern xfs_dahash_t xfs_dir2_leaf_lasthash(struct xfs_inode *dp,
158 int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
170 extern int xfs_dir2_block_sfsize(struct xfs_inode *dp,
[all …]
H A Dxfs_attr.h9 struct xfs_inode;
56 struct xfs_inode *dp; /* inode */
546 int xfs_attr_inactive(struct xfs_inode *dp);
549 int xfs_inode_hasattr(struct xfs_inode *ip);
550 bool xfs_attr_is_leaf(struct xfs_inode *ip);
576 struct xfs_inode *ip) in xfs_attr_is_shortform()
649 int xfs_attr_sf_totsize(struct xfs_inode *dp);
650 int xfs_attr_add_fork(struct xfs_inode *ip, int size, int rsvd);
H A Dxfs_inode_util.c29 struct xfs_inode *ip, in xfs_flags2diflags()
71 struct xfs_inode *ip, in xfs_flags2diflags2()
89 struct xfs_inode *ip) in xfs_ip2xflags()
149 struct xfs_inode *ip, in xfs_inode_inherit_flags()
216 struct xfs_inode *ip, in xfs_inode_inherit_flags2()
269 struct xfs_inode *ip) in xfs_inode_init()
415 struct xfs_inode *ip; in xfs_iunlink_update_backref()
474 struct xfs_inode *ip) in xfs_iunlink_insert_inode()
532 struct xfs_inode *ip) in xfs_iunlink()
561 struct xfs_inode *ip) in xfs_iunlink_remove_inode()
[all …]
/linux-6.15/fs/xfs/scrub/
H A Dreaddir.h9 typedef int (*xchk_dirent_fn)(struct xfs_scrub *sc, struct xfs_inode *dp,
13 int xchk_dir_walk(struct xfs_scrub *sc, struct xfs_inode *dp,
16 int xchk_dir_lookup(struct xfs_scrub *sc, struct xfs_inode *dp,
19 int xchk_dir_trylock_for_pptrs(struct xfs_scrub *sc, struct xfs_inode *ip,

12345678