Home
last modified time | relevance | path

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

1234

/linux/fs/xfs/
H A Dxfs_buf.h24 struct xfs_buf;
133 void (*verify_read)(struct xfs_buf *);
134 void (*verify_write)(struct xfs_buf *);
135 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
138 struct xfs_buf {
176 void (*b_iodone)(struct xfs_buf *bp);
203 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp);
205 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
217 struct xfs_buf **bpp) argument
229 struct xfs_buf **bp in xfs_buf_incore()
150 struct xfs_buf { global() struct
164 b_flagsxfs_buf global() argument
178 b_targetxfs_buf global() argument
182 b_log_itemxfs_buf global() argument
185 b_mapsxfs_buf global() argument
186 __b_mapxfs_buf global() argument
190 b_iodonexfs_buf global() argument
211 b_opsxfs_buf global() argument
[all...]
H A Dxfs_buf.c50 static void xfs_buf_submit(struct xfs_buf *bp);
51 static int xfs_buf_iowait(struct xfs_buf *bp);
53 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) in xfs_buf_is_uncached()
68 struct xfs_buf *bp) in xfs_buf_stale()
92 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); in xfs_buf_free_callback()
101 struct xfs_buf *bp)
125 struct xfs_buf *bp,
173 struct xfs_buf *bp,
255 struct xfs_buf **bp in xfs_buf_alloc()
[all...]
H A Dxfs_buf_item.h11 struct xfs_buf;
41 struct xfs_buf *bli_buf; /* real buffer pointer */
50 int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *);
51 void xfs_buf_item_done(struct xfs_buf *bp);
55 void xfs_buf_inode_iodone(struct xfs_buf *);
57 void xfs_buf_dquot_iodone(struct xfs_buf *);
59 static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp) in xfs_buf_dquot_iodone()
63 void xfs_buf_iodone(struct xfs_buf *);
H A Dxfs_buf_mem.h23 void xmbuf_trans_bdetach(struct xfs_trans *tp, struct xfs_buf *bp);
24 int xmbuf_finalize(struct xfs_buf *bp);
30 int xmbuf_map_backing_mem(struct xfs_buf *bp);
H A Dxfs_buf_item.c78 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_relse()
205 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size()
267 struct xfs_buf *bp, in xfs_buf_item_copy_iovec()
284 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment()
359 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format()
452 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_finish_stale()
504 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_unpin()
571 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
681 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_release()
810 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_precommit()
[all …]
H A Dxfs_buf_mem.c8 #include "xfs_buf.h"
126 struct xfs_buf *bp) in xmbuf_free()
181 struct xfs_buf *bp) in xmbuf_verify_daddr()
198 struct xfs_buf *bp)
228 struct xfs_buf *bp)
H A Dxfs_attr_inactive.c86 struct xfs_buf *bp) in xfs_attr3_leaf_inactive()
134 struct xfs_buf *bp, in xfs_attr3_node_inactive()
141 struct xfs_buf *child_bp; in xfs_attr3_node_inactive()
264 struct xfs_buf *bp; in xfs_attr3_root_inactive()
332 struct xfs_buf *bp; in xfs_attr_inactive()
H A Dxfs_dquot.c81 struct xfs_buf *bp = NULL; in xfs_dquot_detach_buf()
230 struct xfs_buf *bp) in xfs_qm_init_dquot_blk()
345 struct xfs_buf **bpp) in xfs_dquot_disk_alloc()
350 struct xfs_buf *bp; in xfs_dquot_disk_alloc()
459 struct xfs_buf **bpp) in xfs_dquot_disk_read()
462 struct xfs_buf *bp; in xfs_dquot_disk_read()
616 struct xfs_buf *bp) in xfs_dquot_from_disk()
711 struct xfs_buf *bp; in xfs_qm_dqread()
1150 struct xfs_buf *bp = NULL; in xfs_qm_dqflush_done()
1197 struct xfs_buf *bp) in xfs_buf_dquot_iodone()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_dir2_priv.h54 xfs_ino_t owner, 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);
82 struct xfs_buf **bpp);
91 struct xfs_buf **bpp);
99 xfs_ino_t owner, xfs_dablk_t fbno, struct xfs_buf **bpp);
101 xfs_ino_t owner, xfs_dablk_t fbno, struct xfs_buf **bpp);
103 struct xfs_buf *dbp);
106 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp);
[all …]
H A Dxfs_attr_leaf.h55 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp);
65 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp,
77 int xfs_attr3_leaf_lookup_int(struct xfs_buf *leaf,
79 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args);
80 bool xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer,
82 int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer,
84 int xfs_attr3_leaf_list_int(struct xfs_buf *bp,
100 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
101 int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp,
102 struct xfs_buf *leaf2_bp);
[all …]
H A Dxfs_alloc.h9 struct xfs_buf;
37 struct xfs_buf *agbp; /* buffer for a.g. freelist header */
77 struct xfs_buf *agfbp, xfs_agblock_t *bnop, int btreeblk);
79 struct xfs_buf *agfbp, struct xfs_buf *agflbp,
81 int xfs_free_ag_extent(struct xfs_trans *tp, struct xfs_buf *agbp,
98 struct xfs_buf *bp, /* buffer for a.g. freelist header */
193 struct xfs_buf **agfbpp);
195 struct xfs_buf **agfbpp);
197 struct xfs_buf **bpp);
200 struct xfs_buf **agbp);
[all …]
H A Dxfs_da_btree.h118 struct xfs_buf *bp; /* buffer containing block */
178 int level, struct xfs_buf **bpp, int whichfork);
188 struct xfs_buf *bp, int index);
202 xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork);
204 xfs_daddr_t mappedbno, struct xfs_buf **bpp,
217 xfs_dablk_t bno, struct xfs_buf **bp, int whichfork);
219 xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp,
225 struct xfs_buf *dead_buf);
226 void xfs_da_buf_copy(struct xfs_buf *dst, struct xfs_buf *src,
242 xfs_failaddr_t xfs_da3_header_check(struct xfs_buf *bp, xfs_ino_t owner);
[all …]
H A Dxfs_btree.h9 struct xfs_buf;
155 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
251 struct xfs_buf *bp;
287 struct xfs_buf *agbp;
347 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
359 struct xfs_buf *bp); /* buffer containing block, if any */
393 void xfs_btree_init_buf(struct xfs_mount *mp, struct xfs_buf *bp,
417 void xfs_btree_fsblock_calc_crc(struct xfs_buf *);
418 bool xfs_btree_fsblock_verify_crc(struct xfs_buf *);
419 void xfs_btree_agblock_calc_crc(struct xfs_buf *);
[all …]
H A Dxfs_ialloc.h9 struct xfs_buf;
31 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr()
65 struct xfs_buf *bp, /* allocation group header buffer */
69 struct xfs_buf **agibpp);
71 int flags, struct xfs_buf **agibpp);
116 struct xfs_buf *agibp, xfs_agblock_t new_length);
H A Dxfs_dir2.h92 struct xfs_buf *bp);
97 struct xfs_buf *bp, struct xfs_dir2_data_entry *dep);
99 struct xfs_buf *bp);
101 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
103 struct xfs_buf *bp, xfs_dir2_data_aoff_t offset,
106 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
116 xfs_failaddr_t xfs_dir3_leaf_header_check(struct xfs_buf *bp, xfs_ino_t owner);
117 xfs_failaddr_t xfs_dir3_data_header_check(struct xfs_buf *bp, xfs_ino_t owner);
118 xfs_failaddr_t xfs_dir3_block_header_check(struct xfs_buf *bp, xfs_ino_t owner);
H A Dxfs_alloc_btree.h13 struct xfs_buf;
51 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_ialloc_btree.h13 struct xfs_buf;
50 struct xfs_trans *tp, struct xfs_buf *agbp);
52 struct xfs_trans *tp, struct xfs_buf *agbp);
72 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_ag.c289 struct xfs_buf **bpp, in xfs_initialize_perag()
292 struct xfs_buf *bp;
312 struct xfs_buf *bp, in xfs_get_aghdr_buf()
322 struct xfs_buf *bp, in xfs_btroot_init()
378 struct xfs_buf *bp, in xfs_freesp_init_recs()
391 struct xfs_buf *bp, in xfs_bnoroot_init()
470 struct xfs_buf *bp,
482 struct xfs_buf *bp, in xfs_sbblock_init()
529 struct xfs_buf *bp, in xfs_agfblock_init()
550 struct xfs_buf *b in xfs_agflblock_init()
[all...]
H A Dxfs_refcount_btree.h13 struct xfs_buf;
49 struct xfs_trans *tp, struct xfs_buf *agbp,
65 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_rmap_btree.h9 struct xfs_buf;
46 struct xfs_trans *tp, struct xfs_buf *bp,
49 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_rtgroup.c615 struct xfs_buf *bp) in xfs_rtsb_verify_common()
634 struct xfs_buf *bp) in xfs_rtsb_verify_all()
656 struct xfs_buf *bp) in xfs_rtsb_read_verify()
672 struct xfs_buf *bp) in xfs_rtsb_write_verify()
696 struct xfs_buf *rtsb_bp, in xfs_update_rtsb()
697 const struct xfs_buf *sb_bp) in xfs_update_rtsb()
726 struct xfs_buf *
729 const struct xfs_buf *sb_bp) in xfs_log_rtsb()
731 struct xfs_buf *rtsb_bp; in xfs_log_rtsb()
H A Dxfs_da_btree.c199 struct xfs_buf *bp, in xfs_da3_blkinfo_verify()
222 struct xfs_buf *bp) in xfs_da3_node_verify()
257 struct xfs_buf *bp, in xfs_da3_node_header_check()
277 struct xfs_buf *bp, in xfs_da3_header_check()
302 struct xfs_buf *bp) in xfs_da3_node_write_verify()
332 struct xfs_buf *bp) in xfs_da3_node_read_verify()
369 struct xfs_buf *bp) in xfs_da3_node_verify_struct()
404 struct xfs_buf *bp) in xfs_da3_node_set_type()
435 struct xfs_buf **bpp, in xfs_da3_node_read()
452 struct xfs_buf **bpp, in xfs_da3_node_read_mapped()
[all …]
H A Dxfs_attr_leaf.c49 xfs_dablk_t which_block, struct xfs_buf **bpp);
50 STATIC void xfs_attr3_leaf_add_work(struct xfs_buf *leaf_buffer,
55 struct xfs_buf *leaf_buffer);
369 struct xfs_buf *bp) in xfs_attr3_leaf_verify()
454 struct xfs_buf *bp, in xfs_attr3_leaf_header_check()
475 struct xfs_buf *bp) in xfs_attr3_leaf_write_verify()
505 struct xfs_buf *bp) in xfs_attr3_leaf_read_verify()
535 struct xfs_buf **bpp) in xfs_attr3_leaf_read()
1041 struct xfs_buf *bp; in xfs_attr_shortform_to_leaf()
1102 struct xfs_buf *bp, in xfs_attr_shortform_allfit()
[all …]
/linux/fs/xfs/scrub/
H A Dagheader_repair.c45 struct xfs_buf *bp; in xrep_superblock()
160 struct xfs_buf *agf_bp, in xrep_agf_find_btrees()
162 struct xfs_buf *agfl_bp) in xrep_agf_find_btrees()
200 struct xfs_buf *agf_bp, in xrep_agf_init_header()
252 struct xfs_buf *agf_bp) in xrep_agf_calc_from_btrees()
315 struct xfs_buf *agf_bp) in xrep_agf_commit_new()
373 struct xfs_buf *agf_bp; in xrep_agf()
374 struct xfs_buf *agfl_bp; in xrep_agf()
533 struct xfs_buf *agf_bp, in xrep_agfl_collect_blocks()
603 struct xfs_buf *agf_bp, in xrep_agfl_update_agf()
[all …]
H A Dbtree.c149 struct xfs_buf *bp; in xchk_btree_rec()
197 struct xfs_buf *bp; in xchk_btree_key()
265 struct xfs_buf *pbp; in xchk_btree_block_check_sibling()
425 struct xfs_buf *bp) in xchk_btree_check_owner()
518 struct xfs_buf *root_bp; in xchk_btree_check_minrecs()
553 struct xfs_buf *bp; in xchk_btree_block_check_keys()
590 struct xfs_buf **pbp) in xchk_btree_get_block()
648 struct xfs_buf *bp; in xchk_btree_block_keys()
694 struct xfs_buf *bp; in xchk_btree()

1234