Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/fs/xfs/
A Dxfs_inode.h16 struct xfs_inode;
24 typedef struct xfs_inode { struct
91 struct xfs_inode *ip, in xfs_ifork_ptr()
131 struct xfs_inode *ip, in xfs_inode_fork_size()
484 struct xfs_inode *ip);
485 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip,
489 struct xfs_inode *src_ip, struct xfs_inode *target_dp,
521 struct xfs_inode **ipp);
526 struct xfs_inode *ip, in xfs_itruncate_extents()
575 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
[all …]
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,
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,
35 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset,
42 struct xfs_inode *ip, bool *has_shared);
43 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip,
45 extern int xfs_reflink_unshare(struct xfs_inode *ip, xfs_off_t offset,
[all …]
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,
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 *ip);
69 int xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip,
[all …]
A Dxfs_quota.h93 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, kuid_t, kgid_t,
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 *);
103 extern void xfs_qm_dqdetach(struct xfs_inode *);
105 extern void xfs_qm_statvfs(struct xfs_inode *, struct kstatfs *);
112 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres()
119 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc()
134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks()
148 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres()
[all …]
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 *);
47 extern void xfs_iflush_shutdown_abort(struct xfs_inode *);
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);
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_mark_reclaimable(struct xfs_inode *ip);
60 int xfs_blockgc_free_quota(struct xfs_inode *ip, unsigned int iwalk_flags);
64 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip);
65 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip);
67 void xfs_inode_set_cowblocks_tag(struct xfs_inode *ip);
68 void xfs_inode_clear_cowblocks_tag(struct xfs_inode *ip);
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);
A Dxfs_inode.c51 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()
597 struct xfs_inode *ip) in xfs_ip2xflags()
652 struct xfs_inode *dp, in xfs_lookup()
686 struct xfs_inode *ip, in xfs_inode_inherit_flags()
753 struct xfs_inode *ip, in xfs_inode_inherit_flags2()
[all …]
A Dxfs_icache.c70 struct xfs_inode *
75 struct xfs_inode *ip; in xfs_inode_alloc()
154 struct xfs_inode *ip) in __xfs_inode_free()
166 struct xfs_inode *ip) in xfs_inode_free()
409 struct xfs_inode *ip, in xfs_iget_check_free_state()
458 struct xfs_inode *ip, in xfs_iget_cache_hit()
580 struct xfs_inode *ip; in xfs_iget_cache_miss()
717 struct xfs_inode *ip; in xfs_iget()
804 struct xfs_inode *ip; in xfs_icache_inode_is_allocated()
835 struct xfs_inode *ip, in xfs_reclaim_igrab()
[all …]
A Dxfs_trans.h16 struct xfs_inode;
228 void xfs_trans_ichgtime(struct xfs_trans *, struct xfs_inode *, int);
229 void xfs_trans_ijoin(struct xfs_trans *, struct xfs_inode *, uint);
234 void xfs_trans_log_inode(xfs_trans_t *, struct xfs_inode *, uint);
238 int xfs_trans_roll_inode(struct xfs_trans **, struct xfs_inode *);
260 int xfs_trans_alloc_inode(struct xfs_inode *ip, struct xfs_trans_res *resv,
267 int xfs_trans_alloc_ichange(struct xfs_inode *ip, struct xfs_dquot *udqp,
270 int xfs_trans_alloc_dir(struct xfs_inode *dp, struct xfs_trans_res *resv,
271 struct xfs_inode *ip, unsigned int *dblocks,
A Dxfs_file.c43 struct xfs_inode *ip, in xfs_is_falloc_aligned()
91 struct xfs_inode *ip, in xfs_fsync_seq()
116 struct xfs_inode *ip, in xfs_fsync_flush_log()
324 struct xfs_inode *ip = XFS_I(inode); in xfs_file_write_checks()
431 struct xfs_inode *ip = XFS_I(inode); in xfs_dio_write_end_io()
519 struct xfs_inode *ip, in xfs_file_dio_write_aligned()
570 struct xfs_inode *ip, in xfs_file_dio_write_unaligned()
664 struct xfs_inode *ip = XFS_I(inode); in xfs_file_dax_write()
705 struct xfs_inode *ip = XFS_I(inode); in xfs_file_buffered_write()
775 struct xfs_inode *ip = XFS_I(inode); in xfs_file_write_iter()
[all …]
A Dxfs_inode_item.c52 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size()
93 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size()
308 struct xfs_inode *ip, in xfs_inode_to_log_dinode_ts()
334 struct xfs_inode *ip, in xfs_copy_dm_fields_to_log_dinode()
353 struct xfs_inode *ip, in xfs_inode_to_log_dinode_iext_counters()
368 struct xfs_inode *ip, in xfs_inode_to_log_dinode()
428 struct xfs_inode *ip, in xfs_inode_item_format_core()
681 struct xfs_inode *ip, in xfs_inode_item_init()
701 struct xfs_inode *ip) in xfs_inode_item_destroy()
879 struct xfs_inode *ip) in xfs_iflush_abort()
[all …]
A Dxfs_reflink.c169 struct xfs_inode *ip, in xfs_reflink_trim_around_shared()
229 struct xfs_inode *ip, in xfs_bmap_trim_cow()
246 struct xfs_inode *ip, in xfs_reflink_convert_cow_locked()
285 struct xfs_inode *ip, in xfs_reflink_convert_cow()
310 struct xfs_inode *ip, in xfs_find_trim_cow_extent()
348 struct xfs_inode *ip, in xfs_reflink_convert_unwritten()
381 struct xfs_inode *ip, in xfs_reflink_fill_cow_hole()
449 struct xfs_inode *ip, in xfs_reflink_fill_delalloc()
520 struct xfs_inode *ip, in xfs_reflink_allocate_cow()
658 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range()
[all …]
A Dxfs_iunlink_item.h10 struct xfs_inode;
16 struct xfs_inode *ip;
24 int xfs_iunlink_log_inode(struct xfs_trans *tp, struct xfs_inode *ip,
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 */
91 static inline struct xfs_inode *
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_bmap.h12 struct xfs_inode;
22 struct xfs_inode *ip; /* incore inode pointer */
179 struct xfs_inode *ip, int whichfork);
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 *ip,
196 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
202 void xfs_bmap_del_extent_cow(struct xfs_inode *ip,
205 uint xfs_default_attroffset(struct xfs_inode *ip);
223 struct xfs_inode *ip, int whichfork,
[all …]
A Dxfs_inode_fork.h162 void xfs_ifork_zap_attr(struct xfs_inode *ip);
169 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *,
172 void xfs_idata_realloc(struct xfs_inode *ip, int64_t byte_diff,
174 void xfs_iroot_realloc(struct xfs_inode *, int, int);
178 void xfs_init_local_fork(struct xfs_inode *ip, int whichfork,
188 bool xfs_iext_lookup_extent(struct xfs_inode *ip,
192 bool xfs_iext_lookup_extent_before(struct xfs_inode *ip,
199 void xfs_iext_update_extent(struct xfs_inode *ip, int state,
253 extern void xfs_ifork_init_cow(struct xfs_inode *ip);
255 int xfs_ifork_verify_local_data(struct xfs_inode *ip);
[all …]
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,
169 extern int xfs_dir2_block_sfsize(struct xfs_inode *dp,
178 extern xfs_failaddr_t xfs_dir2_sf_verify(struct xfs_inode *ip);
[all …]
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);
A Dxfs_dir2.h13 struct xfs_inode;
38 extern int xfs_dir_isempty(struct xfs_inode *dp);
39 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
40 struct xfs_inode *pdp);
41 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp,
44 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp,
47 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp,
50 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp,
53 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp,
A Dxfs_attr_leaf.h15 struct xfs_inode;
57 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp);
58 int xfs_attr_shortform_bytesfit(struct xfs_inode *dp, int bytes);
59 xfs_failaddr_t xfs_attr_shortform_verify(struct xfs_inode *ip);
60 void xfs_attr_fork_remove(struct xfs_inode *ip, struct xfs_trans *tp);
102 int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
A Dxfs_attr.h9 struct xfs_inode;
55 struct xfs_inode *dp; /* inode */
540 int xfs_attr_inactive(struct xfs_inode *dp);
543 int xfs_inode_hasattr(struct xfs_inode *ip);
544 bool xfs_attr_is_leaf(struct xfs_inode *ip);
561 struct xfs_inode *ip) in xfs_attr_is_shortform()
A Dxfs_da_btree.h10 struct xfs_inode;
66 struct xfs_inode *dp; /* directory inode to manipulate */
197 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp,
199 int xfs_da3_node_read_mapped(struct xfs_trans *tp, struct xfs_inode *dp,
212 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp,
214 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp,
217 int xfs_da_reada_buf(struct xfs_inode *dp, xfs_dablk_t bno,
A Dxfs_inode_fork.c33 struct xfs_inode *ip, in xfs_init_local_fork()
69 struct xfs_inode *ip, in xfs_iformat_local()
100 struct xfs_inode *ip, in xfs_iformat_extents()
164 struct xfs_inode *ip, in xfs_iformat_btree()
221 struct xfs_inode *ip, in xfs_iformat_data_fork()
281 struct xfs_inode *ip, in xfs_ifork_init_attr()
291 struct xfs_inode *ip) in xfs_ifork_zap_attr()
300 struct xfs_inode *ip, in xfs_iformat_attr_fork()
483 struct xfs_inode *ip, in xfs_idata_realloc()
541 struct xfs_inode *ip, in xfs_iextents_copy()
[all …]

Completed in 39 milliseconds

12345