Home
last modified time | relevance | path

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

123456

/linux-6.12.1/fs/xfs/
Dxfs_buf.h23 struct xfs_buf;
154 void (*verify_read)(struct xfs_buf *);
155 void (*verify_write)(struct xfs_buf *);
156 xfs_failaddr_t (*verify_struct)(struct xfs_buf *bp);
159 struct xfs_buf { struct
232 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp); argument
234 int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp,
246 struct xfs_buf **bpp) in xfs_buf_incore()
258 struct xfs_buf **bpp) in xfs_buf_get()
271 struct xfs_buf **bpp, in xfs_buf_read()
[all …]
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);
52 void xfs_buf_item_relse(struct xfs_buf *);
56 void xfs_buf_inode_iodone(struct xfs_buf *);
57 void xfs_buf_inode_io_fail(struct xfs_buf *bp);
59 void xfs_buf_dquot_iodone(struct xfs_buf *);
60 void xfs_buf_dquot_io_fail(struct xfs_buf *bp);
62 static inline void xfs_buf_dquot_iodone(struct xfs_buf *bp) in xfs_buf_dquot_iodone()
[all …]
Dxfs_trans.h12 struct xfs_buf;
39 struct xfs_buf *li_buf; /* real buffer pointer */
177 struct xfs_buf **bpp);
186 struct xfs_buf **bpp) in xfs_trans_get_buf()
197 struct xfs_buf **bpp,
208 struct xfs_buf **bpp, in xfs_trans_read_buf()
216 struct xfs_buf *xfs_trans_getsb(struct xfs_trans *);
218 void xfs_trans_brelse(xfs_trans_t *, struct xfs_buf *);
219 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *);
220 void xfs_trans_bdetach(struct xfs_trans *tp, struct xfs_buf *bp);
[all …]
Dxfs_buf.c55 static int __xfs_buf_submit(struct xfs_buf *bp, bool wait);
59 struct xfs_buf *bp) in xfs_buf_submit()
64 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) in xfs_buf_is_uncached()
71 struct xfs_buf *bp) in xfs_buf_is_vmapped()
85 struct xfs_buf *bp) in xfs_buf_vmap_len()
105 struct xfs_buf *bp) in xfs_buf_ioacct_inc()
125 struct xfs_buf *bp) in __xfs_buf_ioacct_dec()
137 struct xfs_buf *bp) in xfs_buf_ioacct_dec()
154 struct xfs_buf *bp) in xfs_buf_stale()
187 struct xfs_buf *bp, in xfs_buf_get_maps()
[all …]
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()
122 struct xfs_buf **bpp) in xfs_trans_get_buf_map()
124 struct xfs_buf *bp; in xfs_trans_get_buf_map()
171 struct xfs_buf *
175 struct xfs_buf *bp = tp->t_mountp->m_sb_bp; in xfs_trans_getsb()
218 struct xfs_buf **bpp, in xfs_trans_read_buf_map()
221 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map()
322 struct xfs_buf *bp) in xfs_trans_buf_is_dirty()
[all …]
Dxfs_buf_mem.h22 int xmbuf_map_page(struct xfs_buf *bp);
23 void xmbuf_unmap_page(struct xfs_buf *bp);
25 void xmbuf_trans_bdetach(struct xfs_trans *tp, struct xfs_buf *bp);
26 int xmbuf_finalize(struct xfs_buf *bp);
Dxfs_buf_item.c62 struct xfs_buf *bp, in xfs_buf_item_straddle()
94 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment()
195 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size()
258 struct xfs_buf *bp, in xfs_buf_item_copy_iovec()
277 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment()
403 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format()
513 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_unpin()
602 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
704 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_release()
792 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_precommit()
[all …]
/linux-6.12.1/fs/xfs/libxfs/
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 …]
Dxfs_attr_leaf.h54 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp);
64 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp,
76 int xfs_attr3_leaf_lookup_int(struct xfs_buf *leaf,
78 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args);
79 bool xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer,
81 int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer,
83 int xfs_attr3_leaf_list_int(struct xfs_buf *bp,
96 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
97 int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp,
98 struct xfs_buf *leaf2_bp);
[all …]
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,
99 struct xfs_buf *bp, /* buffer for a.g. freelist header */
194 struct xfs_buf **agfbpp);
196 struct xfs_buf **agfbpp);
198 struct xfs_buf **bpp);
201 struct xfs_buf **agbp);
[all …]
Dxfs_da_btree.h118 struct xfs_buf *bp; /* buffer containing block */
178 int level, struct xfs_buf **bpp, int whichfork);
200 xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork);
202 xfs_daddr_t mappedbno, struct xfs_buf **bpp,
215 xfs_dablk_t bno, struct xfs_buf **bp, int whichfork);
217 xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp,
223 struct xfs_buf *dead_buf);
224 void xfs_da_buf_copy(struct xfs_buf *dst, struct xfs_buf *src,
240 xfs_failaddr_t xfs_da3_header_check(struct xfs_buf *bp, xfs_ino_t owner);
241 xfs_failaddr_t xfs_da3_node_header_check(struct xfs_buf *bp, xfs_ino_t owner);
Dxfs_btree.h9 struct xfs_buf;
155 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
232 struct xfs_buf *bp;
268 struct xfs_buf *agbp;
329 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
341 struct xfs_buf *bp); /* buffer containing block, if any */
375 void xfs_btree_init_buf(struct xfs_mount *mp, struct xfs_buf *bp,
399 void xfs_btree_fsblock_calc_crc(struct xfs_buf *);
400 bool xfs_btree_fsblock_verify_crc(struct xfs_buf *);
401 void xfs_btree_agblock_calc_crc(struct xfs_buf *);
[all …]
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);
Dxfs_dir2.h93 struct xfs_buf *bp);
98 struct xfs_buf *bp, struct xfs_dir2_data_entry *dep);
100 struct xfs_buf *bp);
102 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
104 struct xfs_buf *bp, xfs_dir2_data_aoff_t offset,
107 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
117 xfs_failaddr_t xfs_dir3_leaf_header_check(struct xfs_buf *bp, xfs_ino_t owner);
118 xfs_failaddr_t xfs_dir3_data_header_check(struct xfs_buf *bp, xfs_ino_t owner);
119 xfs_failaddr_t xfs_dir3_block_header_check(struct xfs_buf *bp, xfs_ino_t owner);
Dxfs_dir2_leaf.c27 static int xfs_dir2_leaf_lookup_int(xfs_da_args_t *args, struct xfs_buf **lbpp,
28 int *indexp, struct xfs_buf **dbpp,
31 struct xfs_buf *bp, int first, int last);
33 struct xfs_buf *bp);
103 struct xfs_buf *bp) in xfs_dir3_leaf1_check()
123 struct xfs_buf *bp) in xfs_dir3_leaf_check()
197 struct xfs_buf *bp) in xfs_dir3_leaf_verify()
213 struct xfs_buf *bp, in xfs_dir3_leaf_header_check()
236 struct xfs_buf *bp) in xfs_dir3_leaf_read_verify()
253 struct xfs_buf *bp) in xfs_dir3_leaf_write_verify()
[all …]
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);
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);
Dxfs_dir2_node.c28 static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args,
33 static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp,
63 struct xfs_buf *bp) in xfs_dir3_leafn_check()
83 struct xfs_buf *bp) in xfs_dir3_leaf_check()
101 struct xfs_buf *bp) in xfs_dir3_free_verify()
127 struct xfs_buf *bp) in xfs_dir3_free_read_verify()
144 struct xfs_buf *bp) in xfs_dir3_free_write_verify()
178 struct xfs_buf *bp, in xfs_dir3_free_header_check()
220 struct xfs_buf **bpp) in __xfs_dir3_free_read()
305 struct xfs_buf **bpp) in xfs_dir2_free_read()
[all …]
Dxfs_symlink_remote.c44 struct xfs_buf *bp) in xfs_symlink_hdr_set()
73 struct xfs_buf *bp) in xfs_symlink_hdr_ok()
90 struct xfs_buf *bp) in xfs_symlink_verify()
116 struct xfs_buf *bp) in xfs_symlink_read_verify()
136 struct xfs_buf *bp) in xfs_symlink_write_verify()
170 struct xfs_buf *bp, in xfs_symlink_local_to_remote()
243 struct xfs_buf *bp; in xfs_symlink_remote_read()
323 struct xfs_buf *bp; in xfs_symlink_write_target()
393 struct xfs_buf *bp; in xfs_symlink_remote_truncate()
Dxfs_symlink_remote.h15 uint32_t size, struct xfs_buf *bp);
17 uint32_t size, struct xfs_buf *bp);
18 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
Dxfs_ialloc_btree.c58 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root()
72 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root()
87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount()
165 struct xfs_buf *bp, in __xfs_inobt_free_block()
179 struct xfs_buf *bp) in xfs_inobt_free_block()
187 struct xfs_buf *bp) in xfs_finobt_free_block()
291 struct xfs_buf *bp) in xfs_inobt_verify()
328 struct xfs_buf *bp) in xfs_inobt_read_verify()
346 struct xfs_buf *bp) in xfs_inobt_write_verify()
479 struct xfs_buf *agbp) in xfs_inobt_init_cursor()
[all …]
Dxfs_dquot_buf.c147 struct xfs_buf *bp, in xfs_dquot_buf_verify_crc()
182 struct xfs_buf *bp, in xfs_dquot_buf_verify()
231 struct xfs_buf *bp) in xfs_dquot_buf_verify_struct()
240 struct xfs_buf *bp) in xfs_dquot_buf_read_verify()
257 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify()
275 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
Dxfs_refcount_btree.c42 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root()
63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block()
102 struct xfs_buf *bp) in xfs_refcountbt_free_block()
105 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block()
207 struct xfs_buf *bp) in xfs_refcountbt_verify()
247 struct xfs_buf *bp) in xfs_refcountbt_read_verify()
265 struct xfs_buf *bp) in xfs_refcountbt_write_verify()
360 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor()
389 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree()
495 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
Dxfs_dir2_block.c28 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp,
30 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp);
31 static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp,
49 struct xfs_buf *bp) in xfs_dir3_block_verify()
70 struct xfs_buf *bp) in xfs_dir3_block_read_verify()
87 struct xfs_buf *bp) in xfs_dir3_block_write_verify()
120 struct xfs_buf *bp, in xfs_dir3_block_header_check()
143 struct xfs_buf **bpp) in xfs_dir3_block_read()
171 struct xfs_buf *bp) in xfs_dir3_block_init()
308 struct xfs_buf *bp, in xfs_dir2_block_compact()
[all …]
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);

123456