Home
last modified time | relevance | path

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

123

/linux/fs/xfs/
H A Dxfs_buf.h23 struct xfs_buf;
145 void (*verify_read)(struct xfs_buf *);
146 void (*verify_write)(struct xfs_buf *);
147 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
150 struct xfs_buf { struct
190 void (*b_iodone)(struct xfs_buf *bp); argument
217 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp); argument
219 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
231 struct xfs_buf **bpp) in xfs_buf_incore()
243 struct xfs_buf **bpp) in xfs_buf_get()
[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()
95 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); in xfs_buf_free_callback()
104 struct xfs_buf *bp) in xfs_buf_free()
128 struct xfs_buf *bp, in xfs_buf_alloc_kmem()
176 struct xfs_buf *bp, in xfs_buf_alloc_backing_mem()
258 struct xfs_buf **bpp) in xfs_buf_alloc()
260 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.c133 struct xfs_buf *bp) in xmbuf_map_backing_mem()
188 struct xfs_buf *bp) in xmbuf_stale()
205 struct xfs_buf *bp) in xmbuf_finalize()
235 struct xfs_buf *bp) in xmbuf_trans_bdetach()
H A Dxfs_buf_item_recover.c218 struct xfs_buf *bp, in xlog_recover_validate_buf_type()
468 struct xfs_buf *bp, in xlog_recover_do_reg_buffer()
563 struct xfs_buf *bp, in xlog_recover_do_dquot_buffer()
609 struct xfs_buf *bp, in xlog_recover_do_inode_buffer()
718 struct xfs_buf *bp, in xlog_recover_do_primary_sb_buffer()
824 struct xfs_buf *bp, in xlog_recover_get_buf_lsn()
1017 struct xfs_buf *bp; in xlog_recover_buf_commit_pass2()
1098 struct xfs_buf *rtsb_bp = mp->m_rtsb_bp; in xlog_recover_buf_commit_pass2()
/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_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_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.c298 struct xfs_buf **bpp, in xfs_get_aghdr_buf()
301 struct xfs_buf *bp; in xfs_get_aghdr_buf()
321 struct xfs_buf *bp, in xfs_btroot_init()
331 struct xfs_buf *bp, in xfs_freesp_init_recs()
387 struct xfs_buf *bp, in xfs_bnoroot_init()
400 struct xfs_buf *bp, in xfs_rmaproot_init()
479 struct xfs_buf *bp, in xfs_sbblock_init()
491 struct xfs_buf *bp, in xfs_agfblock_init()
538 struct xfs_buf *bp, in xfs_agflblock_init()
559 struct xfs_buf *bp, in xfs_agiblock_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_sb.h36 struct xfs_buf **bpp);
39 struct xfs_buf **bpp);
H A Dxfs_ialloc.c206 struct xfs_buf *agbp, in xfs_inobt_insert()
306 struct xfs_buf *fbuf; in xfs_ialloc_inode_init()
553 struct xfs_buf *agbp, in xfs_inobt_insert_sprec()
647 struct xfs_buf *agbp, in xfs_finobt_insert_sprec()
697 struct xfs_buf *agbp) in xfs_ialloc_ag_alloc()
1071 struct xfs_buf *bp; in xfs_dialloc_check_ino()
1093 struct xfs_buf *agbp, in xfs_dialloc_ag_inobt()
1569 struct xfs_buf *agbp, in xfs_dialloc_ag()
1686 struct xfs_buf *agibp) in xfs_dialloc_roll()
1802 struct xfs_buf *agbp; in xfs_dialloc_try_ag()
[all …]
H A Dxfs_rtgroup.h339 void xfs_update_rtsb(struct xfs_buf *rtsb_bp,
340 const struct xfs_buf *sb_bp);
341 struct xfs_buf *xfs_log_rtsb(struct xfs_trans *tp,
342 const struct xfs_buf *sb_bp);
H A Dxfs_sb.c326 struct xfs_buf *bp, in xfs_validate_sb_write()
494 struct xfs_buf *bp, in xfs_validate_sb_common()
1090 struct xfs_buf *bp) in xfs_sb_read_verify()
1141 struct xfs_buf *bp) in xfs_sb_quiet_read_verify()
1156 struct xfs_buf *bp) in xfs_sb_write_verify()
1327 struct xfs_buf *bp = xfs_trans_getsb(tp); in xfs_log_sb()
1412 struct xfs_buf *bp; in xfs_update_secondary_sbs()
1470 struct xfs_buf *bp; in xfs_sync_sb_buf()
1471 struct xfs_buf *rtsb_bp = NULL; in xfs_sync_sb_buf()
1620 struct xfs_buf **bpp) in xfs_sb_read_secondary()
[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()
H A Drepair.h66 int xrep_find_ag_btree_roots(struct xfs_scrub *sc, struct xfs_buf *agf_bp,
67 struct xrep_find_ag_btree *btree_info, struct xfs_buf *agfl_bp);
175 bool xrep_buf_verify_struct(struct xfs_buf *bp, const struct xfs_buf_ops *ops);

123