Home
last modified time | relevance | path

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

123

/linux/fs/xfs/
H A Dxfs_buf.h24 struct xfs_buf;
129 void (*verify_read)(struct xfs_buf *);
130 void (*verify_write)(struct xfs_buf *);
131 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
134 struct xfs_buf { struct
172 void (*b_iodone)(struct xfs_buf *bp); argument
199 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp); argument
201 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
213 struct xfs_buf **bpp) in xfs_buf_incore()
225 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()
60 struct xfs_buf *bp, in xfs_buf_set_flags()
68 struct xfs_buf *bp, in xfs_buf_clear_flags()
76 struct xfs_buf *bp) in xfs_buf_set_uptodate()
91 struct xfs_buf *bp) in xfs_buf_stale()
113 struct xfs_buf *bp) in xfs_buf_clear_stale()
123 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); in xfs_buf_free_callback()
132 struct xfs_buf *bp) in xfs_buf_free()
[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()
570 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
680 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_release()
809 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_precommit()
[all …]
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()
1151 struct xfs_buf *bp = NULL; in xfs_qm_dqflush_done()
1198 struct xfs_buf *bp) in xfs_buf_dquot_iodone()
[all …]
H A Dxfs_buf_item_recover.c218 struct xfs_buf *bp, in xlog_recover_validate_buf_type()
467 struct xfs_buf *bp, in xlog_recover_do_reg_buffer()
579 struct xfs_buf *bp, in xlog_recover_do_dquot_buffer()
628 struct xfs_buf *bp, in xlog_recover_do_inode_buffer()
737 struct xfs_buf *bp, in xlog_recover_do_primary_sb_buffer()
845 struct xfs_buf *bp, in xlog_recover_get_buf_lsn()
1038 struct xfs_buf *bp; in xlog_recover_buf_commit_pass2()
1119 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_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_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_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_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_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_dquot_buf.c150 struct xfs_buf *bp, in xfs_dquot_buf_verify_crc()
185 struct xfs_buf *bp, in xfs_dquot_buf_verify()
234 struct xfs_buf *bp) in xfs_dquot_buf_verify_struct()
243 struct xfs_buf *bp) in xfs_dquot_buf_read_verify()
260 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify()
276 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
H A Dxfs_dir2_data.c101 struct xfs_buf *bp) /* data block's buffer */ in __xfs_dir3_data_check()
298 struct xfs_buf *bp) in xfs_dir3_data_check()
314 struct xfs_buf *bp) in xfs_dir3_data_verify()
340 struct xfs_buf *bp) in xfs_dir3_data_reada_verify()
363 struct xfs_buf *bp) in xfs_dir3_data_read_verify()
380 struct xfs_buf *bp) in xfs_dir3_data_write_verify()
427 struct xfs_buf *bp, in xfs_dir3_data_header_check()
452 struct xfs_buf **bpp) in xfs_dir3_data_read()
726 struct xfs_buf **bpp) /* output block buffer */ in xfs_dir3_data_init()
732 struct xfs_buf *bp; in xfs_dir3_data_init()
[all …]
H A Dxfs_sb.h36 struct xfs_buf **bpp);
39 struct xfs_buf **bpp);
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);
/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()

123