Home
last modified time | relevance | path

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

1234

/linux-4.19.296/fs/xfs/
Dxfs_buf.h112 struct xfs_buf;
113 typedef void (*xfs_buf_iodone_t)(struct xfs_buf *);
128 void (*verify_read)(struct xfs_buf *);
129 void (*verify_write)(struct xfs_buf *);
130 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
133 typedef struct xfs_buf { struct
204 struct xfs_buf *xfs_buf_incore(struct xfs_buftarg *target, argument
208 struct xfs_buf *_xfs_buf_alloc(struct xfs_buftarg *target,
212 static inline struct xfs_buf *
223 struct xfs_buf *xfs_buf_get_map(struct xfs_buftarg *target,
[all …]
Dxfs_trans.h11 struct xfs_buf;
38 struct xfs_buf *li_buf; /* real buffer pointer */
40 void (*li_cb)(struct xfs_buf *,
165 struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp,
170 static inline struct xfs_buf *
187 struct xfs_buf **bpp,
198 struct xfs_buf **bpp, in xfs_trans_read_buf()
206 struct xfs_buf *xfs_trans_getsb(xfs_trans_t *, struct xfs_mount *, int);
208 void xfs_trans_brelse(xfs_trans_t *, struct xfs_buf *);
209 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *);
[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 *, xfs_log_item_t *),
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_buf.c69 struct xfs_buf *bp) in xfs_buf_is_vmapped()
83 struct xfs_buf *bp) in xfs_buf_vmap_len()
103 struct xfs_buf *bp) in xfs_buf_ioacct_inc()
123 struct xfs_buf *bp) in __xfs_buf_ioacct_dec()
135 struct xfs_buf *bp) in xfs_buf_ioacct_dec()
152 struct xfs_buf *bp) in xfs_buf_stale()
185 struct xfs_buf *bp, in xfs_buf_get_maps()
208 struct xfs_buf *bp) in xfs_buf_free_maps()
216 struct xfs_buf *
223 struct xfs_buf *bp; in _xfs_buf_alloc()
[all …]
Dxfs_inode_item.h11 struct xfs_buf;
35 extern void xfs_iflush_done(struct xfs_buf *, struct xfs_log_item *);
36 extern void xfs_istale_done(struct xfs_buf *, struct xfs_log_item *);
Dxfs_trans_buf.c24 STATIC struct xfs_buf *
65 struct xfs_buf *bp, in _xfs_trans_bjoin()
102 struct xfs_buf *bp) in xfs_trans_bjoin()
117 struct xfs_buf *
233 struct xfs_buf **bpp, in xfs_trans_read_buf_map()
236 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map()
339 struct xfs_buf *bp) in xfs_trans_brelse()
438 struct xfs_buf *bp) in xfs_trans_dirty_buf()
493 struct xfs_buf *bp, in xfs_trans_log_buf()
667 struct xfs_buf *bp) in xfs_trans_ordered_buf()
[all …]
Dxfs_buf_item.c30 STATIC void xfs_buf_do_callbacks(struct xfs_buf *bp);
57 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment()
178 struct xfs_buf *bp, in xfs_buf_item_copy_iovec()
191 struct xfs_buf *bp, in xfs_buf_item_straddle()
209 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment()
303 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format()
498 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
601 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_unlock()
730 struct xfs_buf *bp, in xfs_buf_item_init()
884 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_log()
[all …]
/linux-4.19.296/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_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_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 */
311 struct xfs_buf * /* buffer for agno/agbno */
349 struct xfs_buf **bpp, /* buffer for fsbno */
[all …]
Dxfs_ialloc.h9 struct xfs_buf;
40 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr()
72 struct xfs_buf **agbp, /* buf for a.g. inode header */
111 struct xfs_buf *bp, /* allocation group header buffer */
122 struct xfs_buf **bpp); /* allocation group hdr buf */
155 xfs_agnumber_t agno, struct xfs_buf **bpp);
Dxfs_dir2_leaf.c29 static int xfs_dir2_leaf_lookup_int(xfs_da_args_t *args, struct xfs_buf **lbpp,
30 int *indexp, struct xfs_buf **dbpp);
32 struct xfs_buf *bp, int first, int last);
34 struct xfs_buf *bp);
44 struct xfs_buf *bp) in xfs_dir3_leaf1_check()
64 struct xfs_buf *bp) in xfs_dir3_leaf_check()
145 struct xfs_buf *bp, in xfs_dir3_leaf_verify()
178 struct xfs_buf *bp, in __read_verify()
196 struct xfs_buf *bp, in __write_verify()
221 struct xfs_buf *bp) in xfs_dir3_leaf1_verify()
[all …]
Dxfs_da_btree.h100 struct xfs_buf *bp; /* buffer containing block */
151 int level, struct xfs_buf **bpp, int whichfork);
174 struct xfs_buf **bpp, int which_fork);
184 struct xfs_buf **bp, int whichfork);
187 struct xfs_buf **bpp, int whichfork,
193 struct xfs_buf *dead_buf);
Dxfs_shared.h15 struct xfs_buf;
130 uint32_t size, struct xfs_buf *bp);
132 uint32_t size, struct xfs_buf *bp);
133 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
Dxfs_ag.c23 static struct xfs_buf *
31 struct xfs_buf *bp; in xfs_get_aghdr_buf()
51 struct xfs_buf *bp, in xfs_btroot_init()
63 struct xfs_buf *bp, in xfs_bnoroot_init()
78 struct xfs_buf *bp, in xfs_cntroot_init()
96 struct xfs_buf *bp, in xfs_rmaproot_init()
163 struct xfs_buf *bp, in xfs_sbblock_init()
175 struct xfs_buf *bp, in xfs_agfblock_init()
215 struct xfs_buf *bp, in xfs_agflblock_init()
236 struct xfs_buf *bp, in xfs_agiblock_init()
[all …]
Dxfs_dquot_buf.c143 struct xfs_buf *bp, in xfs_dquot_buf_verify_crc()
178 struct xfs_buf *bp, in xfs_dquot_buf_verify()
227 struct xfs_buf *bp) in xfs_dquot_buf_verify_struct()
236 struct xfs_buf *bp) in xfs_dquot_buf_read_verify()
253 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify()
271 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
Dxfs_symlink_remote.c45 struct xfs_buf *bp) in xfs_symlink_hdr_set()
74 struct xfs_buf *bp) in xfs_symlink_hdr_ok()
91 struct xfs_buf *bp) in xfs_symlink_verify()
117 struct xfs_buf *bp) in xfs_symlink_read_verify()
137 struct xfs_buf *bp) in xfs_symlink_write_verify()
170 struct xfs_buf *bp, in xfs_symlink_local_to_remote()
Dxfs_refcount_btree.c39 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_set_root()
62 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_alloc_block()
103 struct xfs_buf *bp) in xfs_refcountbt_free_block()
106 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_free_block()
206 struct xfs_buf *bp) in xfs_refcountbt_verify()
235 struct xfs_buf *bp) in xfs_refcountbt_read_verify()
253 struct xfs_buf *bp) in xfs_refcountbt_write_verify()
323 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor()
412 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
Dxfs_dir2_node.c29 static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args,
34 static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp,
47 struct xfs_buf *bp) in xfs_dir3_leafn_check()
67 struct xfs_buf *bp) in xfs_dir3_leaf_check()
85 struct xfs_buf *bp) in xfs_dir3_free_verify()
113 struct xfs_buf *bp) in xfs_dir3_free_read_verify()
130 struct xfs_buf *bp) in xfs_dir3_free_write_verify()
164 struct xfs_buf *bp) in xfs_dir3_free_header_check()
202 struct xfs_buf **bpp) in __xfs_dir3_free_read()
233 struct xfs_buf **bpp) in xfs_dir2_free_read()
[all …]
Dxfs_ialloc_btree.c49 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root()
63 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root()
136 struct xfs_buf *bp, in __xfs_inobt_free_block()
150 struct xfs_buf *bp) in xfs_inobt_free_block()
158 struct xfs_buf *bp) in xfs_finobt_free_block()
259 struct xfs_buf *bp) in xfs_inobt_verify()
300 struct xfs_buf *bp) in xfs_inobt_read_verify()
318 struct xfs_buf *bp) in xfs_inobt_write_verify()
408 struct xfs_buf *agbp, /* buffer for agi structure */ in xfs_inobt_init_cursor()
560 struct xfs_buf *agbp; in xfs_inobt_count_blocks()
Dxfs_dir2_block.c30 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp,
32 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp);
33 static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp,
51 struct xfs_buf *bp) in xfs_dir3_block_verify()
74 struct xfs_buf *bp) in xfs_dir3_block_read_verify()
91 struct xfs_buf *bp) in xfs_dir3_block_write_verify()
124 struct xfs_buf **bpp) in xfs_dir3_block_read()
140 struct xfs_buf *bp, in xfs_dir3_block_init()
275 struct xfs_buf *bp, in xfs_dir2_block_compact()
329 struct xfs_buf *bp; /* buffer for block */ in xfs_dir2_block_addname()
[all …]
/linux-4.19.296/fs/xfs/scrub/
Dcommon.h46 struct xfs_buf *bp);
50 struct xfs_buf *bp);
56 struct xfs_buf *bp);
121 struct xfs_buf **agi, struct xfs_buf **agf,
122 struct xfs_buf **agfl);
133 void xchk_buffer_recheck(struct xfs_scrub *sc, struct xfs_buf *bp);
Dagheader_repair.c42 struct xfs_buf *bp; in xrep_superblock()
144 struct xfs_buf *agf_bp, in xrep_agf_find_btrees()
146 struct xfs_buf *agfl_bp) in xrep_agf_find_btrees()
185 struct xfs_buf *agf_bp, in xrep_agf_init_header()
242 struct xfs_buf *agf_bp) in xrep_agf_calc_from_btrees()
307 struct xfs_buf *agf_bp) in xrep_agf_commit_new()
368 struct xfs_buf *agf_bp; in xrep_agf()
369 struct xfs_buf *agfl_bp; in xrep_agf()
487 struct xfs_buf *agf_bp, in xrep_agfl_collect_blocks()
559 struct xfs_buf *agf_bp, in xrep_agfl_update_agf()
[all …]
Drepair.h27 struct xfs_buf **bpp, xfs_btnum_t btnum,
52 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
53 struct xrep_find_ag_btree *btree_info, struct xfs_buf *agfl_bp);

1234