Home
last modified time | relevance | path

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

12345

/linux-6.1.9/fs/xfs/
Dxfs_trans.h20 struct xfs_trans;
76 int (*iop_precommit)(struct xfs_trans *tp, struct xfs_log_item *lip);
85 struct xfs_trans *tp);
126 typedef struct xfs_trans { struct
170 struct xfs_trans **tpp); argument
172 struct xfs_trans **tpp);
175 int xfs_trans_get_buf_map(struct xfs_trans *tp, struct xfs_buftarg *target,
181 struct xfs_trans *tp, in xfs_trans_get_buf()
193 struct xfs_trans *tp,
203 struct xfs_trans *tp, in xfs_trans_read_buf()
[all …]
Dxfs_rtalloc.h12 struct xfs_trans;
26 struct xfs_trans *tp,
42 struct xfs_trans *tp, /* transaction pointer */
57 struct xfs_trans *tp, /* transaction pointer */
89 struct xfs_trans *tp, /* transaction pointer */
104 int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp,
106 int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp,
109 int xfs_rtfind_back(struct xfs_mount *mp, struct xfs_trans *tp,
112 int xfs_rtfind_forw(struct xfs_mount *mp, struct xfs_trans *tp,
115 int xfs_rtmodify_range(struct xfs_mount *mp, struct xfs_trans *tp,
[all …]
Dxfs_quota.h15 struct xfs_trans;
78 extern void xfs_trans_dup_dqinfo(struct xfs_trans *, struct xfs_trans *);
79 extern void xfs_trans_free_dqinfo(struct xfs_trans *);
80 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *,
82 extern void xfs_trans_apply_dquot_deltas(struct xfs_trans *);
83 extern void xfs_trans_unreserve_and_mod_dquots(struct xfs_trans *);
84 int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip,
86 extern int xfs_trans_reserve_quota_bydquots(struct xfs_trans *,
89 int xfs_trans_reserve_quota_icreate(struct xfs_trans *tp,
96 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
[all …]
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,
Dxfs_trans.c66 struct xfs_trans *tp) in xfs_trans_free()
87 STATIC struct xfs_trans *
89 struct xfs_trans *tp) in xfs_trans_dup()
91 struct xfs_trans *ntp; in xfs_trans_dup()
150 struct xfs_trans *tp, in xfs_trans_reserve()
249 struct xfs_trans **tpp) in xfs_trans_alloc()
251 struct xfs_trans *tp; in xfs_trans_alloc()
327 struct xfs_trans **tpp) in xfs_trans_alloc_empty()
590 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_sb()
674 struct xfs_trans *tp, in xfs_trans_add_item()
[all …]
Dxfs_trans_dquot.c30 struct xfs_trans *tp, in xfs_trans_dqjoin()
54 struct xfs_trans *tp, in xfs_trans_log_dquot()
75 struct xfs_trans *otp, in xfs_trans_dup_dqinfo()
76 struct xfs_trans *ntp) in xfs_trans_dup_dqinfo()
149 struct xfs_trans *tp, in xfs_trans_get_dqtrx()
186 struct xfs_trans *tp, in xfs_trans_mod_dquot()
277 struct xfs_trans *tp, in xfs_trans_dqlockedjoin()
334 struct xfs_trans *tp) in xfs_trans_apply_dquot_deltas()
477 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_dquots()
619 struct xfs_trans *tp, in xfs_trans_dqresv()
[all …]
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()
213 struct xfs_trans *tp, in xfs_trans_read_buf_map()
346 struct xfs_trans *tp, in xfs_trans_brelse()
445 struct xfs_trans *tp, in xfs_trans_dirty_buf()
492 struct xfs_trans *tp, in xfs_trans_log_buf()
668 struct xfs_trans *tp, in xfs_trans_ordered_buf()
[all …]
Dxfs_fsmap.c173 int (*fn)(struct xfs_trans *tp,
193 struct xfs_trans *tp, in xfs_getfsmap_is_shared()
246 struct xfs_trans *tp, in xfs_getfsmap_helper()
406 struct xfs_trans *tp, in xfs_getfsmap_logdev()
454 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_helper()
475 struct xfs_trans *tp, in __xfs_getfsmap_rtdev()
477 int (*query_fn)(struct xfs_trans *, in __xfs_getfsmap_rtdev() argument
519 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_query()
561 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap()
574 struct xfs_trans *tp, in __xfs_getfsmap_datadev()
[all …]
Dxfs_bmap_util.h16 struct xfs_trans;
51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,
75 int xfs_bmap_count_blocks(struct xfs_trans *tp, struct xfs_inode *ip,
Dxfs_reflink.h31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
41 extern int xfs_reflink_inode_has_shared_extents(struct xfs_trans *tp,
44 struct xfs_trans **tpp);
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_defer.h40 void xfs_defer_add(struct xfs_trans *tp, enum xfs_defer_ops_type type,
42 int xfs_defer_finish_noroll(struct xfs_trans **tp);
43 int xfs_defer_finish(struct xfs_trans **tp);
44 void xfs_defer_cancel(struct xfs_trans *);
45 void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp);
49 struct xfs_log_item *(*create_intent)(struct xfs_trans *tp,
52 struct xfs_log_item *(*create_done)(struct xfs_trans *tp,
54 int (*finish_item)(struct xfs_trans *tp, struct xfs_log_item *done,
56 void (*finish_cleanup)(struct xfs_trans *tp,
120 int xfs_defer_ops_capture_and_commit(struct xfs_trans *tp,
[all …]
Dxfs_bmap.h14 struct xfs_trans;
20 struct xfs_trans *tp; /* transaction pointer */
175 void xfs_bmap_local_to_extents_empty(struct xfs_trans *tp,
178 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
180 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
187 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
190 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
193 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
203 int xfs_bmap_collapse_extents(struct xfs_trans *tp, struct xfs_inode *ip,
208 int xfs_bmap_insert_extents(struct xfs_trans *tp, struct xfs_inode *ip,
[all …]
Dxfs_alloc.h13 struct xfs_trans;
53 struct xfs_trans *tp; /* transaction pointer */
98 int xfs_alloc_get_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
100 int xfs_alloc_put_freelist(struct xfs_perag *pag, struct xfs_trans *tp,
116 struct xfs_trans *tp, /* transaction pointer */
132 struct xfs_trans *tp, /* transaction pointer */
141 struct xfs_trans *tp, in xfs_free_extent()
171 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
173 int xfs_alloc_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
175 int xfs_alloc_read_agfl(struct xfs_perag *pag, struct xfs_trans *tp,
[all …]
Dxfs_ialloc.h13 struct xfs_trans;
39 int xfs_dialloc(struct xfs_trans **tpp, xfs_ino_t parent, umode_t mode,
42 int xfs_difree(struct xfs_trans *tp, struct xfs_perag *pag,
51 struct xfs_trans *tp, /* transaction pointer */
61 struct xfs_trans *tp, /* transaction pointer */
65 int xfs_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
67 int xfs_ialloc_read_agi(struct xfs_perag *pag, struct xfs_trans *tp,
85 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp,
109 int xfs_ialloc_check_shrink(struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_refcount.h9 struct xfs_trans;
70 void xfs_refcount_increase_extent(struct xfs_trans *tp,
72 void xfs_refcount_decrease_extent(struct xfs_trans *tp,
75 extern void xfs_refcount_finish_one_cleanup(struct xfs_trans *tp,
77 extern int xfs_refcount_finish_one(struct xfs_trans *tp,
86 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
88 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
Dxfs_rmap.h117 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp,
120 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
168 void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
170 void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
172 void xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp,
175 void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
177 void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
180 void xfs_rmap_finish_one_cleanup(struct xfs_trans *tp,
182 int xfs_rmap_finish_one(struct xfs_trans *tp, enum xfs_rmap_intent_type type,
Dxfs_defer.c201 struct xfs_trans *tp, in xfs_defer_create_intent()
231 struct xfs_trans *tp) in xfs_defer_create_intents()
251 struct xfs_trans *tp, in xfs_defer_trans_abort()
277 struct xfs_trans *tp) in xfs_defer_save_resources()
327 struct xfs_trans *tp, in xfs_defer_restore_resources()
348 struct xfs_trans **tpp) in xfs_defer_trans_roll()
414 struct xfs_trans **tpp, in xfs_defer_relog()
465 struct xfs_trans *tp, in xfs_defer_finish_one()
521 struct xfs_trans **tp) in xfs_defer_finish_noroll()
582 struct xfs_trans **tp) in xfs_defer_finish()
[all …]
Dxfs_sb.h12 struct xfs_trans;
16 extern void xfs_log_sb(struct xfs_trans *tp);
32 struct xfs_trans *tp, xfs_agnumber_t agno,
35 struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_dir2.h15 struct xfs_trans;
39 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
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,
Dxfs_da_btree.h11 struct xfs_trans;
67 struct xfs_trans *trans; /* current trans (changes over time) */
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,
Dxfs_ialloc_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp,
67 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
71 int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp,
76 struct xfs_trans *tp, struct xfs_buf *agbp);
Dxfs_refcount_btree.h49 struct xfs_trans *tp, struct xfs_buf *agbp,
62 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
66 struct xfs_trans *tp, struct xfs_buf *agbp);
Dxfs_rmap_btree.h45 struct xfs_trans *tp, struct xfs_buf *bp,
50 struct xfs_trans *tp, struct xfs_buf *agbp);
59 extern int xfs_rmapbt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
Dxfs_trans_inode.c28 struct xfs_trans *tp, in xfs_trans_ijoin()
56 struct xfs_trans *tp, in xfs_trans_ichgtime()
93 struct xfs_trans *tp, in xfs_trans_log_inode()
215 struct xfs_trans **tpp, in xfs_trans_roll_inode()
Dxfs_dir2_priv.h53 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp,
80 int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp,
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,
157 extern int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
187 extern int xfs_readdir(struct xfs_trans *tp, struct xfs_inode *dp,

12345