Home
last modified time | relevance | path

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

12345

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_defer.h37 void xfs_defer_add(struct xfs_trans *tp, enum xfs_defer_ops_type type,
39 int xfs_defer_finish_noroll(struct xfs_trans **tp);
40 int xfs_defer_finish(struct xfs_trans **tp);
41 void xfs_defer_cancel(struct xfs_trans *);
42 void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp);
47 void *(*create_done)(struct xfs_trans *, void *, unsigned int);
48 int (*finish_item)(struct xfs_trans *, struct list_head *, void *,
50 void (*finish_cleanup)(struct xfs_trans *, void *, int);
53 void *(*create_intent)(struct xfs_trans *, uint);
54 void (*log_item)(struct xfs_trans *, void *, struct list_head *);
Dxfs_bmap.h14 struct xfs_trans;
22 struct xfs_trans *tp; /* transaction pointer */
185 void xfs_bmap_local_to_extents_empty(struct xfs_trans *tp,
187 void __xfs_bmap_add_free(struct xfs_trans *tp, xfs_fsblock_t bno,
191 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip,
193 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip,
201 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
204 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
207 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
217 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 */
124 struct xfs_trans *tp, /* transaction pointer */
134 struct xfs_trans *tp, /* transaction pointer */
144 struct xfs_trans *tp, /* transaction pointer */
153 struct xfs_trans *tp, /* transaction pointer */
165 struct xfs_trans *tp, /* transaction pointer */
182 struct xfs_trans *tp, /* transaction pointer */
191 struct xfs_trans *tp, in xfs_free_extent()
221 int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
[all …]
Dxfs_ialloc.h13 struct xfs_trans;
59 struct xfs_trans *tp, /* transaction pointer */
73 struct xfs_trans *tp, /* transaction pointer */
83 struct xfs_trans *tp, /* transaction pointer */
93 struct xfs_trans *tp, /* transaction pointer */
103 struct xfs_trans *tp, /* transaction pointer */
114 struct xfs_trans *tp, /* transaction pointer */
132 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp,
137 int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp,
Dxfs_refcount.h32 void xfs_refcount_increase_extent(struct xfs_trans *tp,
34 void xfs_refcount_decrease_extent(struct xfs_trans *tp,
37 extern void xfs_refcount_finish_one_cleanup(struct xfs_trans *tp,
39 extern int xfs_refcount_finish_one(struct xfs_trans *tp,
48 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
50 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
Dxfs_defer.c188 struct xfs_trans *tp) in xfs_defer_create_intents()
207 struct xfs_trans *tp, in xfs_defer_trans_abort()
229 struct xfs_trans **tpp) in xfs_defer_trans_roll()
231 struct xfs_trans *tp = *tpp; in xfs_defer_trans_roll()
305 struct xfs_trans *tp) in xfs_defer_reset()
358 struct xfs_trans **tp) in xfs_defer_finish_noroll()
459 struct xfs_trans **tp) in xfs_defer_finish()
484 struct xfs_trans *tp) in xfs_defer_cancel()
495 struct xfs_trans *tp, in xfs_defer_add()
540 struct xfs_trans *dtp, in xfs_defer_move()
[all …]
Dxfs_rmap.h115 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp,
118 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
165 void xfs_rmap_map_extent(struct xfs_trans *tp, struct xfs_inode *ip,
167 void xfs_rmap_unmap_extent(struct xfs_trans *tp, struct xfs_inode *ip,
169 void xfs_rmap_convert_extent(struct xfs_mount *mp, struct xfs_trans *tp,
172 void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
174 void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
177 void xfs_rmap_finish_one_cleanup(struct xfs_trans *tp,
179 int xfs_rmap_finish_one(struct xfs_trans *tp, enum xfs_rmap_intent_type type,
Dxfs_sb.h12 struct xfs_trans;
25 extern void xfs_log_sb(struct xfs_trans *tp);
39 struct xfs_trans *tp, xfs_agnumber_t agno,
42 struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_dir2_priv.h19 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp,
37 extern int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp,
50 extern int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
52 extern int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
107 extern int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
123 extern int xfs_readdir(struct xfs_trans *tp, struct xfs_inode *dp,
Dxfs_da_btree.h11 struct xfs_trans;
59 struct xfs_trans *trans; /* current trans (changes over time) */
174 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp,
184 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp,
187 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp,
Dxfs_ialloc_btree.h49 struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t,
63 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
67 int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp,
Dxfs_dir2.h15 struct xfs_trans;
116 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp,
118 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp,
121 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp,
124 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp,
127 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp,
130 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp,
Dxfs_attr_leaf.h17 struct xfs_trans;
45 void xfs_attr_fork_remove(struct xfs_inode *ip, struct xfs_trans *tp);
87 int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
/Linux-v5.4/fs/xfs/
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;
77 extern void xfs_trans_dup_dqinfo(struct xfs_trans *, struct xfs_trans *);
78 extern void xfs_trans_free_dqinfo(struct xfs_trans *);
79 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *,
81 extern void xfs_trans_apply_dquot_deltas(struct xfs_trans *);
82 extern void xfs_trans_unreserve_and_mod_dquots(struct xfs_trans *);
83 extern int xfs_trans_reserve_quota_nblks(struct xfs_trans *,
85 extern int xfs_trans_reserve_quota_bydquots(struct xfs_trans *,
92 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
95 extern struct xfs_dquot *xfs_qm_vop_chown(struct xfs_trans *,
[all …]
Dxfs_trans.h19 struct xfs_trans;
108 typedef struct xfs_trans { struct
167 struct xfs_trans **tpp);
169 struct xfs_trans **tpp);
172 struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp,
179 struct xfs_trans *tp, in xfs_trans_get_buf()
190 struct xfs_trans *tp,
200 struct xfs_trans *tp, in xfs_trans_read_buf()
225 void xfs_trans_ichgtime(struct xfs_trans *, struct xfs_inode *, int);
226 void xfs_trans_ijoin(struct xfs_trans *, struct xfs_inode *, uint);
[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_dquot_item.h10 struct xfs_trans;
30 extern xfs_qoff_logitem_t *xfs_trans_get_qoff_item(struct xfs_trans *,
32 extern void xfs_trans_log_quotaoff_item(struct xfs_trans *,
Dxfs_reflink.h20 extern int xfs_reflink_find_shared(struct xfs_mount *mp, struct xfs_trans *tp,
35 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb,
45 extern int xfs_reflink_inode_has_shared_extents(struct xfs_trans *tp,
48 struct xfs_trans **tpp);
Dxfs_trans.c64 struct xfs_trans *tp) in xfs_trans_free()
85 STATIC struct xfs_trans *
87 struct xfs_trans *tp) in xfs_trans_dup()
89 struct xfs_trans *ntp; in xfs_trans_dup()
148 struct xfs_trans *tp, in xfs_trans_reserve()
256 struct xfs_trans **tpp) in xfs_trans_alloc()
258 struct xfs_trans *tp; in xfs_trans_alloc()
313 struct xfs_trans **tpp) in xfs_trans_alloc_empty()
592 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_sb()
741 struct xfs_trans *tp, in xfs_trans_add_item()
[all …]
Dxfs_refcount_item.c221 struct xfs_trans *tp, in xfs_trans_get_cud()
243 struct xfs_trans *tp, in xfs_trans_log_finish_refcount_update()
290 struct xfs_trans *tp, in xfs_refcount_update_create_intent()
330 struct xfs_trans *tp, in xfs_refcount_update_log_item()
360 struct xfs_trans *tp, in xfs_refcount_update_create_done()
370 struct xfs_trans *tp, in xfs_refcount_update_finish_item()
402 struct xfs_trans *tp, in xfs_refcount_update_finish_cleanup()
448 struct xfs_trans *parent_tp, in xfs_cui_recover()
458 struct xfs_trans *tp; in xfs_cui_recover()
Dxfs_fsmap.c172 int (*fn)(struct xfs_trans *tp,
192 struct xfs_trans *tp, in xfs_getfsmap_is_shared()
232 struct xfs_trans *tp, in xfs_getfsmap_helper()
394 struct xfs_trans *tp, in xfs_getfsmap_logdev()
441 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_helper()
463 struct xfs_trans *tp, in __xfs_getfsmap_rtdev()
465 int (*query_fn)(struct xfs_trans *, in __xfs_getfsmap_rtdev() argument
509 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_query()
541 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap()
554 struct xfs_trans *tp, in __xfs_getfsmap_datadev()
[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()
225 struct xfs_trans *tp, in xfs_trans_read_buf_map()
377 struct xfs_trans *tp, in xfs_trans_brelse()
476 struct xfs_trans *tp, in xfs_trans_dirty_buf()
531 struct xfs_trans *tp, in xfs_trans_log_buf()
705 struct xfs_trans *tp, in xfs_trans_ordered_buf()
734 struct xfs_trans *tp, in xfs_trans_buf_set_type()
Dxfs_bmap_item.c216 struct xfs_trans *tp, in xfs_trans_get_bud()
238 struct xfs_trans *tp, in xfs_trans_log_finish_bmap_update()
284 struct xfs_trans *tp, in xfs_bmap_update_create_intent()
328 struct xfs_trans *tp, in xfs_bmap_update_log_item()
361 struct xfs_trans *tp, in xfs_bmap_update_create_done()
371 struct xfs_trans *tp, in xfs_bmap_update_finish_item()
434 struct xfs_trans *parent_tp, in xfs_bui_recover()
448 struct xfs_trans *tp; in xfs_bui_recover()
Dxfs_iwalk.c53 struct xfs_trans *tp;
177 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag_recs()
224 struct xfs_trans *tp, in xfs_iwalk_del_inobt()
264 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag_start()
347 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_run_callbacks()
383 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag()
520 struct xfs_trans *tp, in xfs_iwalk()
683 struct xfs_trans *tp, in xfs_inobt_walk()

12345