Home
last modified time | relevance | path

Searched refs:xfs_trans (Results 1 – 25 of 176) sorted by relevance

12345678

/linux-6.15/fs/xfs/
H A Dxfs_trans.h20 struct xfs_trans;
124 typedef struct xfs_trans { struct
181 struct xfs_trans *tp, in xfs_trans_get_buf()
203 struct xfs_trans *tp, in xfs_trans_read_buf()
255 struct xfs_trans **tpp);
261 struct xfs_trans **tpp);
264 struct xfs_trans **tpp);
271 struct xfs_trans *tp) in xfs_trans_set_context()
278 struct xfs_trans *tp) in xfs_trans_clear_context()
285 struct xfs_trans *old_tp, in xfs_trans_switch_context()
[all …]
H A Dxfs_quota.h15 struct xfs_trans;
94 extern void xfs_trans_dup_dqinfo(struct xfs_trans *, struct xfs_trans *);
95 extern void xfs_trans_free_dqinfo(struct xfs_trans *);
98 extern void xfs_trans_apply_dquot_deltas(struct xfs_trans *);
99 void xfs_trans_unreserve_and_mod_dquots(struct xfs_trans *tp,
103 extern int xfs_trans_reserve_quota_bydquots(struct xfs_trans *,
106 int xfs_trans_reserve_quota_icreate(struct xfs_trans *tp,
116 extern struct xfs_dquot *xfs_qm_vop_chown(struct xfs_trans *,
132 void xfs_trans_mod_ino_dquot(struct xfs_trans *tp, struct xfs_inode *ip,
167 static inline void xfs_trans_mod_dquot_byino(struct xfs_trans *tp, in xfs_trans_mod_dquot_byino()
[all …]
H A Dxfs_iwalk.h18 typedef int (*xfs_iwalk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
21 int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino,
34 typedef int (*xfs_inobt_walk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
39 int xfs_inobt_walk(struct xfs_mount *mp, struct xfs_trans *tp,
H A Dxfs_trans.c69 struct xfs_trans *tp) in xfs_trans_free()
90 STATIC struct xfs_trans *
92 struct xfs_trans *tp) in xfs_trans_dup()
94 struct xfs_trans *ntp; in xfs_trans_dup()
152 struct xfs_trans *tp, in xfs_trans_reserve()
251 struct xfs_trans **tpp) in xfs_trans_alloc()
253 struct xfs_trans *tp; in xfs_trans_alloc()
619 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_sb()
708 struct xfs_trans *tp, in xfs_trans_add_item()
736 struct xfs_trans *tp, in xfs_trans_free_items()
[all …]
H A Dxfs_trans_buf.c24 struct xfs_trans *tp, in xfs_trans_buf_item_match()
62 struct xfs_trans *tp, in _xfs_trans_bjoin()
99 struct xfs_trans *tp, in xfs_trans_bjoin()
117 struct xfs_trans *tp, in xfs_trans_get_buf_map()
173 struct xfs_trans *tp, in __xfs_trans_getsb()
201 struct xfs_trans *tp) in xfs_trans_getsb()
208 struct xfs_trans *tp) in xfs_trans_getrtsb()
228 struct xfs_trans *tp, in xfs_trans_read_buf_map()
361 struct xfs_trans *tp, in xfs_trans_brelse()
417 struct xfs_trans *tp, in xfs_trans_bdetach()
[all …]
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_defer.h42 int xfs_defer_finish_noroll(struct xfs_trans **tp);
43 int xfs_defer_finish(struct xfs_trans **tp);
45 void xfs_defer_cancel(struct xfs_trans *);
46 void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp);
52 struct xfs_log_item *(*create_intent)(struct xfs_trans *tp,
55 struct xfs_log_item *(*create_done)(struct xfs_trans *tp,
57 int (*finish_item)(struct xfs_trans *tp, struct xfs_log_item *done,
59 void (*finish_cleanup)(struct xfs_trans *tp,
64 struct xfs_log_item *(*relog_intent)(struct xfs_trans *tp,
136 int xfs_defer_ops_capture_and_commit(struct xfs_trans *tp,
[all …]
H A Dxfs_bmap.h14 struct xfs_trans;
21 struct xfs_trans *tp; /* transaction pointer */
175 struct xfs_trans *tp, xfs_extlen_t *blen);
181 void xfs_bmap_local_to_extents_empty(struct xfs_trans *tp,
185 void (*init_fn)(struct xfs_trans *tp, struct xfs_buf *bp,
192 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
199 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
202 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
224 int xfs_bmap_add_extent_unwritten_real(struct xfs_trans *tp,
277 int xfs_bmapi_remap(struct xfs_trans *tp, struct xfs_inode *ip,
[all …]
H A Dxfs_alloc.h13 struct xfs_trans;
35 struct xfs_trans *tp; /* transaction pointer */
76 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
81 int xfs_free_ag_extent(struct xfs_trans *tp, struct xfs_buf *agbp,
97 struct xfs_trans *tp, /* transaction pointer */
145 struct xfs_trans *tp, /* transaction pointer */
155 struct xfs_trans *tp, in xfs_free_extent()
196 int xfs_alloc_read_agfl(struct xfs_perag *pag, struct xfs_trans *tp,
233 int xfs_free_extent_later(struct xfs_trans *tp, xfs_fsblock_t bno,
277 void xfs_alloc_cancel_autoreap(struct xfs_trans *tp,
[all …]
H A Dxfs_ialloc.h13 struct xfs_trans;
42 int xfs_dialloc(struct xfs_trans **tpp, const struct xfs_icreate_args *args,
45 int xfs_difree(struct xfs_trans *tp, struct xfs_perag *pag,
54 struct xfs_trans *tp, /* transaction pointer */
64 struct xfs_trans *tp, /* transaction pointer */
68 int xfs_read_agi(struct xfs_perag *pag, struct xfs_trans *tp, xfs_buf_flags_t flags,
70 int xfs_ialloc_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
90 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp,
115 int xfs_ialloc_check_shrink(struct xfs_perag *pag, struct xfs_trans *tp,
H A Dxfs_inode_util.h48 void xfs_trans_ichgtime(struct xfs_trans *tp, struct xfs_inode *ip, int flags);
50 void xfs_inode_init(struct xfs_trans *tp, const struct xfs_icreate_args *args,
53 int xfs_inode_uninit(struct xfs_trans *tp, struct xfs_perag *pag,
56 int xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip);
57 int xfs_iunlink_remove(struct xfs_trans *tp, struct xfs_perag *pag,
59 int xfs_droplink(struct xfs_trans *tp, struct xfs_inode *ip);
60 void xfs_bumplink(struct xfs_trans *tp, struct xfs_inode *ip);
H A Dxfs_defer.c189 struct xfs_trans *tp, in xfs_defer_barrier_create_intent()
206 struct xfs_trans *tp, in xfs_defer_barrier_create_done()
215 struct xfs_trans *tp, in xfs_defer_barrier_finish_item()
243 struct xfs_trans *tp, in xfs_defer_create_done()
277 struct xfs_trans *tp, in xfs_defer_create_intent()
310 struct xfs_trans *tp) in xfs_defer_create_intents()
376 struct xfs_trans *tp, in xfs_defer_trans_abort()
390 struct xfs_trans *tp) in xfs_defer_save_resources()
440 struct xfs_trans *tp, in xfs_defer_restore_resources()
509 struct xfs_trans *tp, in xfs_defer_relog_intent()
[all …]
H A Dxfs_dir2.h15 struct xfs_trans;
61 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
63 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp,
66 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp,
69 extern int xfs_dir_removename(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,
345 int xfs_dir_create_child(struct xfs_trans *tp, unsigned int resblks,
347 int xfs_dir_add_child(struct xfs_trans *tp, unsigned int resblks,
349 int xfs_dir_remove_child(struct xfs_trans *tp, unsigned int resblks,
[all …]
H A Dxfs_refcount.h9 struct xfs_trans;
79 void xfs_refcount_increase_extent(struct xfs_trans *tp, bool isrt,
81 void xfs_refcount_decrease_extent(struct xfs_trans *tp, bool isrt,
84 int xfs_refcount_finish_one(struct xfs_trans *tp,
86 int xfs_rtrefcount_finish_one(struct xfs_trans *tp,
93 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, bool isrt,
95 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, bool isrt,
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);
32 void xfs_metafile_resv_free_space(struct xfs_inode *ip, struct xfs_trans *tp,
39 int xfs_trans_metafile_iget(struct xfs_trans *tp, xfs_ino_t ino,
H A Dxfs_ialloc_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp);
52 struct xfs_trans *tp, struct xfs_buf *agbp);
66 int xfs_finobt_calc_reserves(struct xfs_perag *perag, struct xfs_trans *tp,
72 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_exchmaps.h110 void xfs_exchmaps_ensure_reflink(struct xfs_trans *tp,
112 void xfs_exchmaps_upgrade_extent_counts(struct xfs_trans *tp,
115 int xfs_exchmaps_finish_one(struct xfs_trans *tp,
121 void xfs_exchange_mappings(struct xfs_trans *tp,
H A Dxfs_sb.h12 struct xfs_trans;
16 extern void xfs_log_sb(struct xfs_trans *tp);
35 struct xfs_trans *tp, xfs_agnumber_t agno,
38 struct xfs_trans *tp, xfs_agnumber_t agno,
H A Dxfs_rmap_btree.h46 struct xfs_trans *tp, struct xfs_buf *bp,
49 struct xfs_trans *tp, struct xfs_buf *agbp);
59 extern int xfs_rmapbt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
68 struct xfs_trans *tp, struct xfbtree *xfbtree);
H A Dxfs_rmap.h119 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp,
122 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
182 void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
184 void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
186 void xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp,
189 void xfs_rmap_alloc_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno,
191 void xfs_rmap_free_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno,
194 int xfs_rmap_finish_one(struct xfs_trans *tp, struct xfs_rmap_intent *ri,
H A Dxfs_rtbitmap.h14 struct xfs_trans *tp;
380 struct xfs_trans *tp,
402 int xfs_rtalloc_query_range(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
405 int xfs_rtalloc_query_all(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
407 int xfs_rtalloc_extent_is_free(struct xfs_rtgroup *rtg, struct xfs_trans *tp,
409 int xfs_rtfree_extent(struct xfs_trans *tp, struct xfs_rtgroup *rtg,
412 int xfs_rtfree_blocks(struct xfs_trans *tp, struct xfs_rtgroup *rtg,
426 struct xfs_trans *tp, bool init);
428 struct xfs_trans *tp, bool init);
433 static inline int xfs_rtfree_blocks(struct xfs_trans *tp, in xfs_rtfree_blocks()
H A Dxfs_da_btree.h11 struct xfs_trans;
62 struct xfs_trans *trans; /* current trans (changes over time) */
199 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp,
201 int xfs_da3_node_read_mapped(struct xfs_trans *tp, struct xfs_inode *dp,
214 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp,
216 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp,
H A Dxfs_trans_inode.c28 struct xfs_trans *tp, in xfs_trans_ijoin()
55 struct xfs_trans *tp, in xfs_trans_ichgtime()
87 struct xfs_trans *tp, in xfs_trans_log_inode()
120 struct xfs_trans **tpp, in xfs_trans_roll_inode()
H A Dxfs_rtrmap_btree.h19 struct xfs_btree_cur *xfs_rtrmapbt_init_cursor(struct xfs_trans *tp,
25 struct xfs_trans *tp);
198 struct xfs_trans *tp, bool init);
200 struct xfs_trans *tp);
206 struct xfs_trans *tp, struct xfbtree *xfbtree);
H A Dxfs_symlink_remote.h18 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
23 int xfs_symlink_write_target(struct xfs_trans *tp, struct xfs_inode *ip,
26 int xfs_symlink_remote_truncate(struct xfs_trans *tp, struct xfs_inode *ip);
/linux-6.15/fs/xfs/scrub/
H A Drcbag.h16 int rcbag_add(struct rcbag *bag, struct xfs_trans *tp,
20 int rcbag_next_edge(struct rcbag *bag, struct xfs_trans *tp,
23 int rcbag_remove_ending_at(struct rcbag *bag, struct xfs_trans *tp,
26 void rcbag_dump(struct rcbag *bag, struct xfs_trans *tp);

12345678