Home
last modified time | relevance | path

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

12345

/fs/xfs/
Dxfs_trans.h19 struct xfs_trans;
79 struct xfs_trans *tp);
124 typedef struct xfs_trans { struct
183 struct xfs_trans **tpp);
185 struct xfs_trans **tpp);
188 int xfs_trans_get_buf_map(struct xfs_trans *tp, struct xfs_buftarg *target,
194 struct xfs_trans *tp, in xfs_trans_get_buf()
206 struct xfs_trans *tp,
216 struct xfs_trans *tp, in xfs_trans_read_buf()
229 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 extern int xfs_trans_reserve_quota_nblks(struct xfs_trans *,
86 extern int xfs_trans_reserve_quota_bydquots(struct xfs_trans *,
93 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
96 extern struct xfs_dquot *xfs_qm_vop_chown(struct xfs_trans *,
[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()
160 struct xfs_trans *tp, in xfs_trans_get_dqtrx()
197 struct xfs_trans *tp, in xfs_trans_mod_dquot()
290 struct xfs_trans *tp, in xfs_trans_dqlockedjoin()
347 struct xfs_trans *tp) in xfs_trans_apply_dquot_deltas()
490 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_dquots()
633 struct xfs_trans *tp, in xfs_trans_dqresv()
[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.c65 struct xfs_trans *tp) in xfs_trans_free()
86 STATIC struct xfs_trans *
88 struct xfs_trans *tp) in xfs_trans_dup()
90 struct xfs_trans *ntp; in xfs_trans_dup()
149 struct xfs_trans *tp, in xfs_trans_reserve()
250 struct xfs_trans **tpp) in xfs_trans_alloc()
252 struct xfs_trans *tp; in xfs_trans_alloc()
313 struct xfs_trans **tpp) in xfs_trans_alloc_empty()
563 struct xfs_trans *tp) in xfs_trans_unreserve_and_mod_sb()
644 struct xfs_trans *tp, in xfs_trans_add_item()
[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.c172 int (*fn)(struct xfs_trans *tp,
192 struct xfs_trans *tp, in xfs_getfsmap_is_shared()
246 struct xfs_trans *tp, in xfs_getfsmap_helper()
405 struct xfs_trans *tp, in xfs_getfsmap_logdev()
452 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_helper()
474 struct xfs_trans *tp, in __xfs_getfsmap_rtdev()
476 int (*query_fn)(struct xfs_trans *, in __xfs_getfsmap_rtdev() argument
520 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap_query()
552 struct xfs_trans *tp, in xfs_getfsmap_rtdev_rtbitmap()
565 struct xfs_trans *tp, in __xfs_getfsmap_datadev()
[all …]
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_dquot_item.h10 struct xfs_trans;
32 struct xfs_qoff_logitem *xfs_trans_get_qoff_item(struct xfs_trans *tp,
35 void xfs_trans_log_quotaoff_item(struct xfs_trans *tp,
Dxfs_iwalk.c53 struct xfs_trans *tp;
180 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag_recs()
227 struct xfs_trans *tp, in xfs_iwalk_del_inobt()
267 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag_start()
354 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_run_callbacks()
392 struct xfs_trans *tp = iwag->tp; in xfs_iwalk_ag()
539 struct xfs_trans *tp, in xfs_iwalk()
704 struct xfs_trans *tp, in xfs_inobt_walk()
/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,
206 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip,
209 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
212 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip,
222 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 */
110 struct xfs_trans *tp, /* transaction pointer */
120 struct xfs_trans *tp, /* transaction pointer */
130 struct xfs_trans *tp, /* transaction pointer */
139 struct xfs_trans *tp, /* transaction pointer */
151 struct xfs_trans *tp, /* transaction pointer */
168 struct xfs_trans *tp, /* transaction pointer */
177 struct xfs_trans *tp, in xfs_free_extent()
207 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_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_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_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_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) */
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_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_ialloc_btree.h49 struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t,
66 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
70 int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp,
75 struct xfs_trans *tp, struct xfs_buf *agbp);
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,
156 extern int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
186 extern int xfs_readdir(struct xfs_trans *tp, struct xfs_inode *dp,
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()
201 struct xfs_trans **tpp, in xfs_trans_roll_inode()
Dxfs_refcount_btree.h48 struct xfs_trans *tp, struct xfs_buf *agbp,
61 struct xfs_trans *tp, xfs_agnumber_t agno, xfs_extlen_t *ask,
65 struct xfs_trans *tp, struct xfs_buf *agbp);

12345