Home
last modified time | relevance | path

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

123456

/fs/xfs/
A Dxfs_buf.h23 struct xfs_buf;
143 void (*verify_read)(struct xfs_buf *);
144 void (*verify_write)(struct xfs_buf *);
148 struct xfs_buf { struct
229 struct xfs_buf **bpp) in xfs_buf_incore()
241 struct xfs_buf **bpp) in xfs_buf_get()
254 struct xfs_buf **bpp, in xfs_buf_read()
275 struct xfs_buf **bpp);
277 size_t numblks, struct xfs_buf **bpp,
279 int _xfs_buf_read(struct xfs_buf *bp);
[all …]
A Dxfs_trans.h12 struct xfs_buf;
38 struct xfs_buf *li_buf; /* real buffer pointer */
175 struct xfs_buf **bpp);
184 struct xfs_buf **bpp) in xfs_trans_get_buf()
195 struct xfs_buf **bpp,
206 struct xfs_buf **bpp, in xfs_trans_read_buf()
214 struct xfs_buf *xfs_trans_getsb(struct xfs_trans *);
218 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *);
232 bool xfs_trans_buf_is_dirty(struct xfs_buf *bp);
244 void xfs_trans_buf_copy_type(struct xfs_buf *dst_bp,
[all …]
A Dxfs_buf.c68 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()
260 struct xfs_buf *bp; in xfs_buf_alloc()
445 struct xfs_buf *bp) in xfs_buf_try_hold()
1515 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); in xfs_buftarg_drain_rele()
1612 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); in xfs_buftarg_isolate()
1951 struct xfs_buf *ap = container_of(a, struct xfs_buf, b_list); in xfs_buf_cmp()
[all …]
A 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()
174 struct xfs_buf *bp) in __xfs_trans_getsb()
199 struct xfs_buf *
206 struct xfs_buf *
337 struct xfs_buf *bp) in xfs_trans_buf_is_dirty()
362 struct xfs_buf *bp) in xfs_trans_brelse()
[all …]
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 *);
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()
268 struct xfs_buf *bp, in xfs_buf_item_copy_iovec()
287 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment()
363 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format()
457 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_finish_stale()
509 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_unpin()
576 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push()
686 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_release()
857 struct xfs_buf *bp, in xfs_buf_item_init()
[all …]
/fs/xfs/libxfs/
A Dxfs_dir2_priv.h54 xfs_ino_t owner, struct xfs_buf **bpp);
60 struct xfs_buf *lbp, struct xfs_buf *dbp);
79 struct xfs_buf *bp);
82 struct xfs_buf **bpp);
91 struct xfs_buf **bpp);
103 struct xfs_buf *dbp);
116 struct xfs_buf *bp);
121 struct xfs_buf *lbp);
138 struct xfs_buf *lbp);
140 struct xfs_buf *bp, int *count);
[all …]
A 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,
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);
101 xfs_ino_t owner, xfs_dablk_t bno, struct xfs_buf **bpp);
[all …]
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 …]
A Dxfs_btree.h9 struct xfs_buf;
251 struct xfs_buf *bp;
287 struct xfs_buf *agbp;
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 *);
519 int level, struct xfs_buf **bpp);
638 struct xfs_buf *bp; in xfs_btree_islastblock()
651 struct xfs_buf **bpp);
659 struct xfs_buf *bp, int level, int numrecs);
[all …]
A 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);
A Dxfs_dir2_leaf.c33 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()
299 struct xfs_buf **bpp) in xfs_dir3_leaf_read()
359 struct xfs_buf *bp, in xfs_dir3_leaf_init()
410 struct xfs_buf *bp; in xfs_dir3_leaf_get_buf()
[all …]
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);
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);
A Dxfs_dir2_node.c63 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()
331 struct xfs_buf *bp; in xfs_dir3_free_get_buf()
372 struct xfs_buf *bp, in xfs_dir2_free_log_bests()
392 struct xfs_buf *bp) in xfs_dir2_free_log_header()
[all …]
A 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()
118 struct xfs_buf *bp) in xfs_symlink_read_verify()
138 struct xfs_buf *bp) in xfs_symlink_write_verify()
172 struct xfs_buf *bp, in xfs_symlink_local_to_remote()
245 struct xfs_buf *bp; in xfs_symlink_remote_read()
325 struct xfs_buf *bp; in xfs_symlink_write_target()
395 struct xfs_buf *bp; in xfs_symlink_remote_truncate()
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);
A Dxfs_ialloc_btree.c165 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()
292 struct xfs_buf *bp) in xfs_inobt_verify()
329 struct xfs_buf *bp) in xfs_inobt_read_verify()
347 struct xfs_buf *bp) in xfs_inobt_write_verify()
480 struct xfs_buf *agbp) in xfs_inobt_init_cursor()
506 struct xfs_buf *agbp) in xfs_finobt_init_cursor()
531 struct xfs_buf *agbp) in xfs_inobt_commit_staged_btree()
745 struct xfs_buf *agbp = NULL; in xfs_finobt_count_blocks()
[all …]
A Dxfs_dir2_block.c49 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()
602 struct xfs_buf *bp, /* block buffer */ in xfs_dir2_block_log_leaf()
622 struct xfs_buf *bp) /* block buffer */ in xfs_dir2_block_log_tail()
642 struct xfs_buf *bp; /* block buffer */ in xfs_dir2_block_lookup()
[all …]
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);
A 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()
101 struct xfs_buf *bp) in xfs_refcountbt_free_block()
104 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block()
206 struct xfs_buf *bp) in xfs_refcountbt_verify()
246 struct xfs_buf *bp) in xfs_refcountbt_read_verify()
264 struct xfs_buf *bp) in xfs_refcountbt_write_verify()
359 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor()
388 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree()
494 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
A Dxfs_ag.c301 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()
599 struct xfs_buf *bp; in xfs_ag_init_hdr()
[all …]
A Dxfs_btree.c129 struct xfs_buf *bp) in __xfs_btree_check_lblock_hdr()
163 struct xfs_buf *bp) in __xfs_btree_check_fsblock()
203 struct xfs_buf *bp) in __xfs_btree_check_memblock()
231 struct xfs_buf *bp) in __xfs_btree_check_agblock()
272 struct xfs_buf *bp) in __xfs_btree_check_block()
407 struct xfs_buf *bp) in xfs_btree_fsblock_calc_crc()
421 struct xfs_buf *bp) in xfs_btree_fsblock_verify_crc()
445 struct xfs_buf *bp) in xfs_btree_agblock_calc_crc()
459 struct xfs_buf *bp) in xfs_btree_agblock_verify_crc()
476 struct xfs_buf *bp) in xfs_btree_free_block()
[all …]
A Dxfs_btree_mem.c90 struct xfs_buf *bp; in xfbtree_init_leaf_block()
191 struct xfs_buf *bp) in xfbtree_free_block()
230 static inline struct xfs_buf *
236 struct xfs_buf *bp; in xfbtree_buf_match()
280 struct xfs_buf *bp = xfbtree_buf_match(xfbt, lip); in xfbtree_trans_commit()
326 struct xfs_buf *bp = xfbtree_buf_match(xfbt, lip); in xfbtree_trans_cancel()
A Dxfs_rmap_btree.c69 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root()
89 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block()
125 struct xfs_buf *bp) in xfs_rmapbt_free_block()
301 struct xfs_buf *bp) in xfs_rmapbt_verify()
353 struct xfs_buf *bp) in xfs_rmapbt_read_verify()
371 struct xfs_buf *bp) in xfs_rmapbt_write_verify()
514 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor()
549 struct xfs_buf *bp) in xfs_rmapbt_mem_verify()
574 struct xfs_buf *bp) in xfs_rmapbt_mem_rw_verify()
683 struct xfs_buf *agbp) in xfs_rmapbt_commit_staged_btree()
[all …]

Completed in 59 milliseconds

123456