Home
last modified time | relevance | path

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

1234

/fs/xfs/
Dxfs_buf.h96 struct xfs_buf;
97 typedef void (*xfs_buf_iodone_t)(struct xfs_buf *);
116 void (*verify_read)(struct xfs_buf *);
117 void (*verify_write)(struct xfs_buf *);
118 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
121 typedef struct xfs_buf { struct
191 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, argument
195 struct xfs_buf *xfs_buf_get_map(struct xfs_buftarg *target,
198 struct xfs_buf *xfs_buf_read_map(struct xfs_buftarg *target,
206 static inline struct xfs_buf *
[all …]
Dxfs_trans.h11 struct xfs_buf;
38 struct xfs_buf *li_buf; /* real buffer pointer */
40 void (*li_cb)(struct xfs_buf *,
172 struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp,
177 static inline struct xfs_buf *
194 struct xfs_buf **bpp,
205 struct xfs_buf **bpp, in xfs_trans_read_buf()
213 struct xfs_buf *xfs_trans_getsb(xfs_trans_t *, struct xfs_mount *);
215 void xfs_trans_brelse(xfs_trans_t *, struct xfs_buf *);
216 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *);
[all …]
Dxfs_buf.c54 struct xfs_buf *bp) in xfs_buf_is_vmapped()
68 struct xfs_buf *bp) in xfs_buf_vmap_len()
88 struct xfs_buf *bp) in xfs_buf_ioacct_inc()
108 struct xfs_buf *bp) in __xfs_buf_ioacct_dec()
120 struct xfs_buf *bp) in xfs_buf_ioacct_dec()
137 struct xfs_buf *bp) in xfs_buf_stale()
170 struct xfs_buf *bp, in xfs_buf_get_maps()
193 struct xfs_buf *bp) in xfs_buf_free_maps()
201 static struct xfs_buf *
208 struct xfs_buf *bp; in _xfs_buf_alloc()
[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_relse(struct xfs_buf *);
57 void xfs_buf_attach_iodone(struct xfs_buf *,
58 void(*)(struct xfs_buf *, struct xfs_log_item *),
60 void xfs_buf_iodone_callbacks(struct xfs_buf *);
61 void xfs_buf_iodone(struct xfs_buf *, struct xfs_log_item *);
62 bool xfs_buf_resubmit_failed_buffers(struct xfs_buf *,
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()
115 struct xfs_buf *
230 struct xfs_buf **bpp, in xfs_trans_read_buf_map()
233 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map()
353 struct xfs_buf *bp) in xfs_trans_buf_is_dirty()
378 struct xfs_buf *bp) in xfs_trans_brelse()
477 struct xfs_buf *bp) in xfs_trans_dirty_buf()
532 struct xfs_buf *bp, in xfs_trans_log_buf()
[all …]
Dxfs_buf_item.c28 STATIC void xfs_buf_do_callbacks(struct xfs_buf *bp);
55 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment()
176 struct xfs_buf *bp, in xfs_buf_item_copy_iovec()
189 struct xfs_buf *bp, in xfs_buf_item_straddle()
207 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment()
301 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format()
496 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
599 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_release()
728 struct xfs_buf *bp, in xfs_buf_item_init()
882 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_log()
[all …]
/fs/xfs/libxfs/
Dxfs_dir2_priv.h20 struct xfs_buf **bpp);
26 struct xfs_buf *lbp, struct xfs_buf *dbp);
30 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp);
36 struct xfs_buf *bp);
38 xfs_dablk_t bno, xfs_daddr_t mapped_bno, struct xfs_buf **bpp);
47 struct xfs_buf **bpp);
51 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp);
53 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp);
55 struct xfs_buf *dbp);
58 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp);
[all …]
Dxfs_attr_leaf.h40 struct xfs_buf **leaf_bp);
42 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp);
51 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp,
63 int xfs_attr3_leaf_lookup_int(struct xfs_buf *leaf,
65 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args);
66 int xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer,
68 int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer,
70 void xfs_attr3_leaf_list_int(struct xfs_buf *bp,
83 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
84 int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp,
[all …]
Dxfs_btree.h9 struct xfs_buf;
114 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
199 struct xfs_buf *bc_bufs[XFS_BTREE_MAXLEVELS]; /* buf ptr per level */
210 struct xfs_buf *agbp; /* agf/agi buffer pointer */
247 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
249 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
259 struct xfs_buf *bp); /* buffer containing block, if any */
300 struct xfs_buf * /* buffer for fsbno */
310 struct xfs_buf * /* buffer for agno/agbno */
346 struct xfs_buf **bpp, /* buffer for fsbno */
[all …]
Dxfs_alloc.h9 struct xfs_buf;
55 struct xfs_buf *agbp; /* buffer for a.g. freelist header */
125 struct xfs_buf *agbp, /* buffer containing the agf structure */
135 struct xfs_buf *bp, /* buffer for a.g. freelist header */
154 struct xfs_buf *agbp, /* buffer for a.g. freelist header */
155 struct xfs_buf *agflbp,/* buffer for a.g. free block array */
168 struct xfs_buf **bpp); /* buffer for the ag freelist header */
222 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp);
224 xfs_agnumber_t agno, struct xfs_buf **bpp);
226 struct xfs_buf *, struct xfs_owner_info *);
[all …]
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);
29 struct xfs_buf *bp, int first, int last);
31 struct xfs_buf *bp);
41 struct xfs_buf *bp) in xfs_dir3_leaf1_check()
61 struct xfs_buf *bp) in xfs_dir3_leaf_check()
142 struct xfs_buf *bp) in xfs_dir3_leaf_verify()
157 struct xfs_buf *bp) in xfs_dir3_leaf_read_verify()
174 struct xfs_buf *bp) in xfs_dir3_leaf_write_verify()
220 struct xfs_buf **bpp) in xfs_dir3_leaf_read()
[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 **agbp, /* buf for a.g. inode header */
94 struct xfs_buf *bp, /* allocation group header buffer */
105 struct xfs_buf **bpp); /* allocation group hdr buf */
138 xfs_agnumber_t agno, struct xfs_buf **bpp);
Dxfs_ag.c26 static struct xfs_buf *
33 struct xfs_buf *bp; in xfs_get_aghdr_buf()
59 struct xfs_buf *bp, in xfs_btroot_init()
69 struct xfs_buf *bp, in xfs_freesp_init_recs()
126 struct xfs_buf *bp, in xfs_bnoroot_init()
136 struct xfs_buf *bp, in xfs_cntroot_init()
149 struct xfs_buf *bp, in xfs_rmaproot_init()
228 struct xfs_buf *bp, in xfs_sbblock_init()
240 struct xfs_buf *bp, in xfs_agfblock_init()
288 struct xfs_buf *bp, in xfs_agflblock_init()
[all …]
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,
43 struct xfs_buf *bp) in xfs_dir3_leafn_check()
63 struct xfs_buf *bp) in xfs_dir3_leaf_check()
81 struct xfs_buf *bp) in xfs_dir3_free_verify()
107 struct xfs_buf *bp) in xfs_dir3_free_read_verify()
124 struct xfs_buf *bp) in xfs_dir3_free_write_verify()
160 struct xfs_buf *bp) in xfs_dir3_free_header_check()
198 struct xfs_buf **bpp) in __xfs_dir3_free_read()
228 struct xfs_buf **bpp) in xfs_dir2_free_read()
[all …]
Dxfs_da_btree.h102 struct xfs_buf *bp; /* buffer containing block */
153 int level, struct xfs_buf **bpp, int whichfork);
176 struct xfs_buf **bpp, int which_fork);
186 struct xfs_buf **bp, int whichfork);
189 struct xfs_buf **bpp, int whichfork,
195 struct xfs_buf *dead_buf);
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_dquot_buf.c139 struct xfs_buf *bp, in xfs_dquot_buf_verify_crc()
174 struct xfs_buf *bp, in xfs_dquot_buf_verify()
223 struct xfs_buf *bp) in xfs_dquot_buf_verify_struct()
232 struct xfs_buf *bp) in xfs_dquot_buf_read_verify()
249 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify()
267 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
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()
121 struct xfs_buf **bpp) in xfs_dir3_block_read()
137 struct xfs_buf *bp, in xfs_dir3_block_init()
272 struct xfs_buf *bp, in xfs_dir2_block_compact()
326 struct xfs_buf *bp; /* buffer for block */ in xfs_dir2_block_addname()
[all …]
Dxfs_refcount_btree.c37 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_set_root()
60 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_alloc_block()
101 struct xfs_buf *bp) in xfs_refcountbt_free_block()
104 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_free_block()
202 struct xfs_buf *bp) in xfs_refcountbt_verify()
231 struct xfs_buf *bp) in xfs_refcountbt_read_verify()
249 struct xfs_buf *bp) in xfs_refcountbt_write_verify()
320 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor()
409 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
Dxfs_attr_remote.c74 struct xfs_buf *bp, in xfs_attr3_rmt_verify()
102 struct xfs_buf *bp, in __xfs_attr3_rmt_read_verify()
145 struct xfs_buf *bp) in xfs_attr3_rmt_read_verify()
157 struct xfs_buf *bp) in xfs_attr3_rmt_verify_struct()
168 struct xfs_buf *bp) in xfs_attr3_rmt_write_verify()
264 struct xfs_buf *bp, in xfs_attr_rmtval_copyout()
312 struct xfs_buf *bp, in xfs_attr_rmtval_copyin()
370 struct xfs_buf *bp; in xfs_attr_rmtval_get()
513 struct xfs_buf *bp; in xfs_attr_rmtval_set()
577 struct xfs_buf *bp; in xfs_attr_rmtval_remove()
Dxfs_ialloc_btree.c47 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root()
61 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root()
134 struct xfs_buf *bp, in __xfs_inobt_free_block()
145 struct xfs_buf *bp) in xfs_inobt_free_block()
153 struct xfs_buf *bp) in xfs_finobt_free_block()
254 struct xfs_buf *bp) in xfs_inobt_verify()
291 struct xfs_buf *bp) in xfs_inobt_read_verify()
309 struct xfs_buf *bp) in xfs_inobt_write_verify()
409 struct xfs_buf *agbp, /* buffer for agi structure */ in xfs_inobt_init_cursor()
573 struct xfs_buf **agi_bpp) in xfs_inobt_cur()
[all …]
Dxfs_btree.c61 struct xfs_buf *bp) in __xfs_btree_check_lblock()
102 struct xfs_buf *bp) in xfs_btree_check_lblock()
127 struct xfs_buf *bp) in __xfs_btree_check_sblock()
166 struct xfs_buf *bp) in xfs_btree_check_sblock()
190 struct xfs_buf *bp) /* buffer containing block, if any */ in xfs_btree_check_block()
271 struct xfs_buf *bp) in xfs_btree_lblock_calc_crc()
285 struct xfs_buf *bp) in xfs_btree_lblock_verify_crc()
309 struct xfs_buf *bp) in xfs_btree_sblock_calc_crc()
323 struct xfs_buf *bp) in xfs_btree_sblock_verify_crc()
340 struct xfs_buf *bp) in xfs_btree_free_block()
[all …]
Dxfs_shared.h15 struct xfs_buf;
131 uint32_t size, struct xfs_buf *bp);
133 uint32_t size, struct xfs_buf *bp);
134 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
/fs/xfs/scrub/
Dcommon.h46 struct xfs_buf *bp);
51 struct xfs_buf *bp);
57 struct xfs_buf *bp);
123 struct xfs_buf **agi, struct xfs_buf **agf,
124 struct xfs_buf **agfl);
135 void xchk_buffer_recheck(struct xfs_scrub *sc, struct xfs_buf *bp);
Dagheader_repair.c37 struct xfs_buf *bp; in xrep_superblock()
139 struct xfs_buf *agf_bp, in xrep_agf_find_btrees()
141 struct xfs_buf *agfl_bp) in xrep_agf_find_btrees()
180 struct xfs_buf *agf_bp, in xrep_agf_init_header()
237 struct xfs_buf *agf_bp) in xrep_agf_calc_from_btrees()
302 struct xfs_buf *agf_bp) in xrep_agf_commit_new()
359 struct xfs_buf *agf_bp; in xrep_agf()
360 struct xfs_buf *agfl_bp; in xrep_agf()
478 struct xfs_buf *agf_bp, in xrep_agfl_collect_blocks()
550 struct xfs_buf *agf_bp, in xrep_agfl_update_agf()
[all …]

1234