Home
last modified time | relevance | path

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

123456

/linux/fs/xfs/
H A Dxfs_trans.h19 struct xfs_trans;
77 int (*iop_precommit)(struct xfs_trans *tp, struct xfs_log_item *lip);
123 typedef struct xfs_trans { struct
167 struct xfs_trans **tpp); argument
168 int xfs_trans_reserve_more(struct xfs_trans *tp,
170 struct xfs_trans *xfs_trans_alloc_empty(struct xfs_mount *mp);
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()
[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 *);
96 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *,
98 extern void xfs_trans_apply_dquot_deltas(struct xfs_trans *);
99 void xfs_trans_unreserve_and_mod_dquots(struct xfs_trans *tp,
101 int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip,
103 extern int xfs_trans_reserve_quota_bydquots(struct xfs_trans *,
106 int xfs_trans_reserve_quota_icreate(struct xfs_trans *tp,
113 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *,
[all …]
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()
148 struct xfs_trans *tp, in xfs_trans_reserve()
213 static struct xfs_trans *
218 struct xfs_trans *tp; in __xfs_trans_alloc()
242 struct xfs_trans **tpp) in xfs_trans_alloc()
244 struct xfs_trans *tp; in xfs_trans_alloc()
301 struct xfs_trans *
[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 …]
H A Dxfs_extent_busy.h13 struct xfs_trans;
46 void xfs_extent_busy_insert(struct xfs_trans *tp, struct xfs_group *xg,
58 int xfs_extent_busy_flush(struct xfs_trans *tp, struct xfs_group *xg,
H A Dxfs_refcount_item.c277 struct xfs_trans *tp, in xfs_refcount_update_log_item()
310 struct xfs_trans *tp, in __xfs_refcount_update_create_intent()
332 struct xfs_trans *tp, in xfs_refcount_update_create_intent()
350 struct xfs_trans *tp, in xfs_refcount_update_create_done()
369 struct xfs_trans *tp, in xfs_refcount_defer_add()
404 struct xfs_trans *tp, in xfs_refcount_update_finish_item()
427 struct xfs_trans *tp, in xfs_refcount_finish_one_cleanup()
511 struct xfs_trans *tp; in xfs_refcount_recover_work()
571 struct xfs_trans *tp, in xfs_refcount_relog_intent()
608 struct xfs_trans *tp, in xfs_rtrefcount_update_create_intent()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_defer.h37 void xfs_defer_item_pause(struct xfs_trans *tp, struct xfs_defer_pending *dfp);
38 void xfs_defer_item_unpause(struct xfs_trans *tp, struct xfs_defer_pending *dfp);
40 struct xfs_defer_pending *xfs_defer_add(struct xfs_trans *tp, struct list_head *h,
42 int xfs_defer_finish_noroll(struct xfs_trans **tp);
43 int xfs_defer_finish(struct xfs_trans **tp);
44 int xfs_defer_finish_one(struct xfs_trans *tp, struct xfs_defer_pending *dfp);
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,
[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,
78 int xfs_alloc_put_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()
192 int xfs_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
194 int xfs_alloc_read_agf(struct xfs_perag *pag, struct xfs_trans *tp, int flags,
[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()
461 struct xfs_trans **tpp) in xfs_defer_trans_roll()
[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_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_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_refcount_btree.h49 struct xfs_trans *tp, struct xfs_buf *agbp,
61 struct xfs_trans *tp, struct xfs_perag *pag, xfs_extlen_t *ask,
65 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_alloc_btree.h51 struct xfs_trans *tp, struct xfs_buf *bp,
54 struct xfs_trans *tp, struct xfs_buf *bp,
62 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_bmap_btree.h13 struct xfs_trans;
41 extern int xfs_bmbt_change_owner(struct xfs_trans *tp, struct xfs_inode *ip,
46 struct xfs_trans *, struct xfs_inode *, int);
48 struct xfs_trans *tp, int whichfork);
H A Dxfs_dir2_priv.h53 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,
98 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
100 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp,
158 int xfs_dir2_free_read(struct xfs_trans *tp, struct xfs_inode *dp,
189 extern int xfs_readdir(struct xfs_trans *tp, struct xfs_inode *dp,
/linux/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);

123456