Home
last modified time | relevance | path

Searched refs:xfs_buf (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v5.15/fs/xfs/
Dxfs_buf.h21 struct xfs_buf;
122 void (*verify_read)(struct xfs_buf *);
123 void (*verify_write)(struct xfs_buf *);
124 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
127 struct xfs_buf { struct
198 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, argument
203 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
205 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
216 struct xfs_buf **bpp) in xfs_buf_get()
229 struct xfs_buf **bpp, in xfs_buf_read()
[all …]
Dxfs_buf_item.h32 struct xfs_buf;
43 struct xfs_buf *bli_buf; /* real buffer pointer */
52 int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *);
53 void xfs_buf_item_done(struct xfs_buf *bp);
54 void xfs_buf_item_relse(struct xfs_buf *);
58 void xfs_buf_inode_iodone(struct xfs_buf *);
59 void xfs_buf_inode_io_fail(struct xfs_buf *bp);
61 void xfs_buf_dquot_iodone(struct xfs_buf *);
62 void xfs_buf_dquot_io_fail(struct xfs_buf *bp);
64 static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp) in xfs_buf_dquot_iodone()
[all …]
Dxfs_trans.h11 struct xfs_buf;
38 struct xfs_buf *li_buf; /* real buffer pointer */
175 struct xfs_buf **bpp);
184 struct xfs_buf **bpp) in xfs_trans_get_buf()
195 struct xfs_buf **bpp,
206 struct xfs_buf **bpp, in xfs_trans_read_buf()
214 struct xfs_buf *xfs_trans_getsb(struct xfs_trans *);
216 void xfs_trans_brelse(xfs_trans_t *, struct xfs_buf *);
217 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *);
218 void xfs_trans_bhold(xfs_trans_t *, struct xfs_buf *);
[all …]
Dxfs_buf.c52 static int __xfs_buf_submit(struct xfs_buf *bp, bool wait);
56 struct xfs_buf *bp) in xfs_buf_submit()
63 struct xfs_buf *bp) in xfs_buf_is_vmapped()
77 struct xfs_buf *bp) in xfs_buf_vmap_len()
97 struct xfs_buf *bp) in xfs_buf_ioacct_inc()
117 struct xfs_buf *bp) in __xfs_buf_ioacct_dec()
129 struct xfs_buf *bp) in xfs_buf_ioacct_dec()
146 struct xfs_buf *bp) in xfs_buf_stale()
179 struct xfs_buf *bp, in xfs_buf_get_maps()
202 struct xfs_buf *bp) in xfs_buf_free_maps()
[all …]
Dxfs_trans_buf.c22 STATIC struct xfs_buf *
63 struct xfs_buf *bp, in _xfs_trans_bjoin()
100 struct xfs_buf *bp) in xfs_trans_bjoin()
122 struct xfs_buf **bpp) in xfs_trans_get_buf_map()
124 struct xfs_buf *bp; in xfs_trans_get_buf_map()
171 struct xfs_buf *
175 struct xfs_buf *bp = tp->t_mountp->m_sb_bp; in xfs_trans_getsb()
218 struct xfs_buf **bpp, in xfs_trans_read_buf_map()
221 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map()
322 struct xfs_buf *bp) in xfs_trans_buf_is_dirty()
[all …]
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_dir2_priv.h54 struct xfs_buf **bpp);
60 struct xfs_buf *lbp, struct xfs_buf *dbp);
73 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp);
79 struct xfs_buf *bp);
81 xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp);
90 struct xfs_buf **bpp);
98 xfs_dablk_t fbno, struct xfs_buf **bpp);
100 xfs_dablk_t fbno, struct xfs_buf **bpp);
102 struct xfs_buf *dbp);
105 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp);
[all …]
Dxfs_attr_leaf.h53 struct xfs_buf **leaf_bp);
58 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp);
67 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp,
79 int xfs_attr3_leaf_lookup_int(struct xfs_buf *leaf,
81 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args);
82 int xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer,
84 int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer,
86 int xfs_attr3_leaf_list_int(struct xfs_buf *bp,
99 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
100 int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp,
[all …]
Dxfs_alloc.h9 struct xfs_buf;
55 struct xfs_buf *agbp; /* buffer for a.g. freelist header */
114 struct xfs_buf *agbp, /* buffer containing the agf structure */
124 struct xfs_buf *bp, /* buffer for a.g. freelist header */
143 struct xfs_buf *agbp, /* buffer for a.g. freelist header */
144 struct xfs_buf *agflbp,/* buffer for a.g. free block array */
157 struct xfs_buf **bpp); /* buffer for the ag freelist header */
211 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp);
213 xfs_agnumber_t agno, struct xfs_buf **bpp);
215 struct xfs_buf *, struct xfs_owner_info *);
[all …]
Dxfs_btree.h9 struct xfs_buf;
116 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
186 struct xfs_buf *agbp;
226 struct xfs_buf *bc_bufs[XFS_BTREE_MAXLEVELS]; /* buf ptr per level */
275 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
277 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
287 struct xfs_buf *bp); /* buffer containing block, if any */
345 struct xfs_buf **bpp, /* buffer for fsbno */
378 struct xfs_buf *bp,
412 void xfs_btree_lblock_calc_crc(struct xfs_buf *);
[all …]
Dxfs_ialloc.h9 struct xfs_buf;
30 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr()
62 struct xfs_buf *bp, /* allocation group header buffer */
73 struct xfs_buf **bpp); /* allocation group hdr buf */
106 xfs_agnumber_t agno, struct xfs_buf **bpp);
127 struct xfs_buf *agibp, xfs_agblock_t new_length);
Dxfs_da_btree.h110 struct xfs_buf *bp; /* buffer containing block */
170 int level, struct xfs_buf **bpp, int whichfork);
192 xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork);
194 xfs_daddr_t mappedbno, struct xfs_buf **bpp,
207 xfs_dablk_t bno, struct xfs_buf **bp, int whichfork);
209 xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp,
215 struct xfs_buf *dead_buf);
Dxfs_dir2_leaf.c26 static int xfs_dir2_leaf_lookup_int(xfs_da_args_t *args, struct xfs_buf **lbpp,
27 int *indexp, struct xfs_buf **dbpp,
30 struct xfs_buf *bp, int first, int last);
32 struct xfs_buf *bp);
102 struct xfs_buf *bp) in xfs_dir3_leaf1_check()
122 struct xfs_buf *bp) in xfs_dir3_leaf_check()
191 struct xfs_buf *bp) in xfs_dir3_leaf_verify()
207 struct xfs_buf *bp) in xfs_dir3_leaf_read_verify()
224 struct xfs_buf *bp) in xfs_dir3_leaf_write_verify()
269 struct xfs_buf **bpp) in xfs_dir3_leaf_read()
[all …]
Dxfs_ialloc_btree.h13 struct xfs_buf;
50 struct xfs_trans *tp, struct xfs_buf *agbp,
73 struct xfs_btree_cur **curpp, struct xfs_buf **agi_bpp);
76 struct xfs_trans *tp, struct xfs_buf *agbp);
Dxfs_dir2.h67 struct xfs_buf *bp);
72 struct xfs_buf *bp, struct xfs_dir2_data_entry *dep);
74 struct xfs_buf *bp);
76 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
78 struct xfs_buf *bp, xfs_dir2_data_aoff_t offset,
81 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
Dxfs_symlink_remote.c41 struct xfs_buf *bp) in xfs_symlink_hdr_set()
70 struct xfs_buf *bp) in xfs_symlink_hdr_ok()
87 struct xfs_buf *bp) in xfs_symlink_verify()
113 struct xfs_buf *bp) in xfs_symlink_read_verify()
133 struct xfs_buf *bp) in xfs_symlink_write_verify()
167 struct xfs_buf *bp, in xfs_symlink_local_to_remote()
Dxfs_dir2_node.c27 static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args,
32 static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp,
62 struct xfs_buf *bp) in xfs_dir3_leafn_check()
82 struct xfs_buf *bp) in xfs_dir3_leaf_check()
100 struct xfs_buf *bp) in xfs_dir3_free_verify()
126 struct xfs_buf *bp) in xfs_dir3_free_read_verify()
143 struct xfs_buf *bp) in xfs_dir3_free_write_verify()
179 struct xfs_buf *bp) in xfs_dir3_free_header_check()
218 struct xfs_buf **bpp) in __xfs_dir3_free_read()
301 struct xfs_buf **bpp) in xfs_dir2_free_read()
[all …]
Dxfs_shared.h15 struct xfs_buf;
127 uint32_t size, struct xfs_buf *bp);
129 uint32_t size, struct xfs_buf *bp);
130 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
Dxfs_dquot_buf.c147 struct xfs_buf *bp, in xfs_dquot_buf_verify_crc()
182 struct xfs_buf *bp, in xfs_dquot_buf_verify()
231 struct xfs_buf *bp) in xfs_dquot_buf_verify_struct()
240 struct xfs_buf *bp) in xfs_dquot_buf_read_verify()
257 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify()
275 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
Dxfs_ialloc_btree.c47 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root()
61 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root()
76 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount()
154 struct xfs_buf *bp, in __xfs_inobt_free_block()
166 struct xfs_buf *bp) in xfs_inobt_free_block()
174 struct xfs_buf *bp) in xfs_finobt_free_block()
275 struct xfs_buf *bp) in xfs_inobt_verify()
312 struct xfs_buf *bp) in xfs_inobt_read_verify()
330 struct xfs_buf *bp) in xfs_inobt_write_verify()
463 struct xfs_buf *agbp, in xfs_inobt_init_cursor()
[all …]
Dxfs_alloc_btree.h13 struct xfs_buf;
51 struct xfs_trans *tp, struct xfs_buf *bp,
61 struct xfs_trans *tp, struct xfs_buf *agbp);
Dxfs_refcount_btree.c38 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root()
59 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block()
100 struct xfs_buf *bp) in xfs_refcountbt_free_block()
103 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block()
201 struct xfs_buf *bp) in xfs_refcountbt_verify()
230 struct xfs_buf *bp) in xfs_refcountbt_read_verify()
248 struct xfs_buf *bp) in xfs_refcountbt_write_verify()
349 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor()
383 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree()
459 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
Dxfs_refcount_btree.h13 struct xfs_buf;
49 struct xfs_trans *tp, struct xfs_buf *agbp,
66 struct xfs_trans *tp, struct xfs_buf *agbp);
Dxfs_dir2_block.c27 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp,
29 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp);
30 static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp,
48 struct xfs_buf *bp) in xfs_dir3_block_verify()
69 struct xfs_buf *bp) in xfs_dir3_block_read_verify()
86 struct xfs_buf *bp) in xfs_dir3_block_write_verify()
120 struct xfs_buf *bp) in xfs_dir3_block_header_check()
138 struct xfs_buf **bpp) in xfs_dir3_block_read()
166 struct xfs_buf *bp, in xfs_dir3_block_init()
301 struct xfs_buf *bp, in xfs_dir2_block_compact()
[all …]
Dxfs_ag.c306 struct xfs_buf **bpp, in xfs_get_aghdr_buf()
309 struct xfs_buf *bp; in xfs_get_aghdr_buf()
335 struct xfs_buf *bp, in xfs_btroot_init()
345 struct xfs_buf *bp, in xfs_freesp_init_recs()
402 struct xfs_buf *bp, in xfs_bnoroot_init()
412 struct xfs_buf *bp, in xfs_cntroot_init()
425 struct xfs_buf *bp, in xfs_rmaproot_init()
504 struct xfs_buf *bp, in xfs_sbblock_init()
516 struct xfs_buf *bp, in xfs_agfblock_init()
564 struct xfs_buf *bp, in xfs_agflblock_init()
[all …]
/Linux-v5.15/fs/xfs/scrub/
Dagheader_repair.c38 struct xfs_buf *bp; in xrep_superblock()
140 struct xfs_buf *agf_bp, in xrep_agf_find_btrees()
142 struct xfs_buf *agfl_bp) in xrep_agf_find_btrees()
181 struct xfs_buf *agf_bp, in xrep_agf_init_header()
239 struct xfs_buf *agf_bp) in xrep_agf_calc_from_btrees()
304 struct xfs_buf *agf_bp) in xrep_agf_commit_new()
361 struct xfs_buf *agf_bp; in xrep_agf()
362 struct xfs_buf *agfl_bp; in xrep_agf()
480 struct xfs_buf *agf_bp, in xrep_agfl_collect_blocks()
544 struct xfs_buf *agf_bp, in xrep_agfl_update_agf()
[all …]

12345