Home
last modified time | relevance | path

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

12345

/Linux-v5.15/fs/xfs/
Dxfs_trans.h19 struct xfs_trans;
79 struct xfs_trans *tp);
124 typedef struct xfs_trans { struct
168 struct xfs_trans **tpp); argument
170 struct xfs_trans **tpp);
173 int xfs_trans_get_buf_map(struct xfs_trans *tp, struct xfs_buftarg *target,
179 struct xfs_trans *tp, in xfs_trans_get_buf()
191 struct xfs_trans *tp,
201 struct xfs_trans *tp, in xfs_trans_read_buf()
214 struct xfs_buf *xfs_trans_getsb(struct xfs_trans *);
[all …]
Dxfs_rtalloc.h12 struct xfs_trans;
25 struct xfs_trans *tp,
41 struct xfs_trans *tp, /* transaction pointer */
56 struct xfs_trans *tp, /* transaction pointer */
88 struct xfs_trans *tp, /* transaction pointer */
103 int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp,
105 int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp,
108 int xfs_rtfind_back(struct xfs_mount *mp, struct xfs_trans *tp,
111 int xfs_rtfind_forw(struct xfs_mount *mp, struct xfs_trans *tp,
114 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.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()
153 struct xfs_trans *tp, in xfs_trans_reserve()
254 struct xfs_trans **tpp) in xfs_trans_alloc()
256 struct xfs_trans *tp; in xfs_trans_alloc()
332 struct xfs_trans **tpp) in xfs_trans_alloc_empty()
574 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_sb()
648 struct xfs_trans *tp, in xfs_trans_add_item()
[all …]
Dxfs_reflink.h19 extern int xfs_reflink_find_shared(struct xfs_mount *mp, struct xfs_trans *tp,
34 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
44 extern int xfs_reflink_inode_has_shared_extents(struct xfs_trans *tp,
47 struct xfs_trans **tpp);
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()
621 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()
453 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,
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_defer.h39 void xfs_defer_add(struct xfs_trans *tp, enum xfs_defer_ops_type type,
41 int xfs_defer_finish_noroll(struct xfs_trans **tp);
42 int xfs_defer_finish(struct xfs_trans **tp);
43 void xfs_defer_cancel(struct xfs_trans *);
44 void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp);
48 struct xfs_log_item *(*create_intent)(struct xfs_trans *tp,
51 struct xfs_log_item *(*create_done)(struct xfs_trans *tp,
53 int (*finish_item)(struct xfs_trans *tp, struct xfs_log_item *done,
55 void (*finish_cleanup)(struct xfs_trans *tp,
97 int xfs_defer_ops_capture_and_commit(struct xfs_trans *tp,
[all …]
Dxfs_bmap.h14 struct xfs_trans;
22 struct xfs_trans *tp; /* transaction pointer */
190 void xfs_bmap_local_to_extents_empty(struct xfs_trans *tp,
192 void __xfs_bmap_add_free(struct xfs_trans *tp, xfs_fsblock_t bno,
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,
205 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
208 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
211 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
221 int xfs_bmap_collapse_extents(struct xfs_trans *tp, struct xfs_inode *ip,
[all …]
Dxfs_alloc.h13 struct xfs_trans;
53 struct xfs_trans *tp; /* transaction pointer */
113 struct xfs_trans *tp, /* transaction pointer */
123 struct xfs_trans *tp, /* transaction pointer */
133 struct xfs_trans *tp, /* transaction pointer */
142 struct xfs_trans *tp, /* transaction pointer */
154 struct xfs_trans *tp, /* transaction pointer */
171 struct xfs_trans *tp, /* transaction pointer */
180 struct xfs_trans *tp, in xfs_free_extent()
210 int xfs_read_agf(struct xfs_mount *mp, 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 */
71 struct xfs_trans *tp, /* transaction pointer */
82 struct xfs_trans *tp, /* transaction pointer */
100 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp,
105 int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp,
126 int xfs_ialloc_check_shrink(struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_refcount.h9 struct xfs_trans;
39 void xfs_refcount_increase_extent(struct xfs_trans *tp,
41 void xfs_refcount_decrease_extent(struct xfs_trans *tp,
44 extern void xfs_refcount_finish_one_cleanup(struct xfs_trans *tp,
46 extern int xfs_refcount_finish_one(struct xfs_trans *tp,
55 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
57 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
Dxfs_defer.c185 struct xfs_trans *tp, in xfs_defer_create_intent()
203 struct xfs_trans *tp) in xfs_defer_create_intents()
216 struct xfs_trans *tp, in xfs_defer_trans_abort()
238 struct xfs_trans **tpp) in xfs_defer_trans_roll()
240 struct xfs_trans *tp = *tpp; in xfs_defer_trans_roll()
356 struct xfs_trans **tpp, in xfs_defer_relog()
407 struct xfs_trans *tp, in xfs_defer_finish_one()
459 struct xfs_trans **tp) in xfs_defer_finish_noroll()
513 struct xfs_trans **tp) in xfs_defer_finish()
541 struct xfs_trans *tp) in xfs_defer_cancel()
[all …]
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_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_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_da_btree.h11 struct xfs_trans;
67 struct xfs_trans *trans; /* current trans (changes over time) */
191 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp,
193 int xfs_da3_node_read_mapped(struct xfs_trans *tp, struct xfs_inode *dp,
206 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp,
208 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp,
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