Home
last modified time | relevance | path

Searched refs:xfs_btree_block (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.14.4/fs/xfs/libxfs/
Dxfs_bmap_btree.h10 struct xfs_btree_block;
25 struct xfs_btree_block *, int);
33 extern void xfs_bmbt_to_bmdr(struct xfs_mount *, struct xfs_btree_block *, int,
58 void xfs_bmbt_init_block(struct xfs_inode *ip, struct xfs_btree_block *buf,
76 struct xfs_btree_block *block, in xfs_bmbt_rec_addr()
87 struct xfs_btree_block *block, in xfs_bmbt_key_addr()
98 struct xfs_btree_block *block, in xfs_bmbt_ptr_addr()
151 struct xfs_btree_block *bb, in xfs_bmap_broot_ptr_addr()
196 xfs_bmap_bmdr_space(struct xfs_btree_block *bb) in xfs_bmap_bmdr_space()
201 struct xfs_btree_block *xfs_bmap_broot_realloc(struct xfs_inode *ip,
Dxfs_btree.h230 struct xfs_btree_block *(*broot_realloc)(struct xfs_btree_cur *cur,
341 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr))
344 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
354 struct xfs_btree_block *block, /* generic btree block pointer */
394 struct xfs_btree_block *buf, const struct xfs_btree_ops *ops,
428 static inline int xfs_btree_get_numrecs(const struct xfs_btree_block *block) in xfs_btree_get_numrecs()
433 static inline void xfs_btree_set_numrecs(struct xfs_btree_block *block, in xfs_btree_set_numrecs()
439 static inline int xfs_btree_get_level(const struct xfs_btree_block *block) in xfs_btree_get_level()
506 struct xfs_btree_block *block);
508 struct xfs_btree_block *block);
[all …]
Dxfs_rtrmap_btree.h38 struct xfs_btree_block *block, in xfs_rtrmap_rec_addr()
48 struct xfs_btree_block *block, in xfs_rtrmap_key_addr()
58 struct xfs_btree_block *block, in xfs_rtrmap_high_key_addr()
69 struct xfs_btree_block *block, in xfs_rtrmap_ptr_addr()
129 struct xfs_btree_block *bb, in xfs_rtrmap_broot_ptr_addr()
185 xfs_rtrmap_droot_space(struct xfs_btree_block *bb) in xfs_rtrmap_droot_space()
192 void xfs_rtrmapbt_to_disk(struct xfs_mount *mp, struct xfs_btree_block *rblock,
Dxfs_rtrefcount_btree.h37 struct xfs_btree_block *block, in xfs_rtrefcount_rec_addr()
47 struct xfs_btree_block *block, in xfs_rtrefcount_key_addr()
57 struct xfs_btree_block *block, in xfs_rtrefcount_ptr_addr()
118 struct xfs_btree_block *bb, in xfs_rtrefcount_broot_ptr_addr()
174 xfs_rtrefcount_droot_space(struct xfs_btree_block *bb) in xfs_rtrefcount_droot_space()
182 struct xfs_btree_block *rblock, int rblocklen,
Dxfs_btree.c127 struct xfs_btree_block *block, in __xfs_btree_check_lblock_hdr()
161 struct xfs_btree_block *block, in __xfs_btree_check_fsblock()
201 struct xfs_btree_block *block, in __xfs_btree_check_memblock()
229 struct xfs_btree_block *block, in __xfs_btree_check_agblock()
270 struct xfs_btree_block *block, in __xfs_btree_check_block()
300 struct xfs_btree_block *block, /* generic btree block pointer */ in xfs_btree_check_block()
409 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_fsblock_calc_crc()
423 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_fsblock_verify_crc()
447 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_agblock_calc_crc()
461 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_btree_agblock_verify_crc()
[all …]
Dxfs_rtrefcount_btree.c191 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rtrefcountbt_verify()
289 struct xfs_btree_block *broot, in xfs_rtrefcountbt_move_ptrs()
302 static struct xfs_btree_block *
309 struct xfs_btree_block *broot; in xfs_rtrefcountbt_broot_realloc()
589 struct xfs_btree_block *rblock) in xfs_rtrefcountbt_from_disk()
635 struct xfs_btree_block *broot; in xfs_iformat_rtrefcount()
673 struct xfs_btree_block *rblock, in xfs_rtrefcountbt_to_disk()
743 struct xfs_btree_block *broot; in xfs_rtrefcountbt_create()
Dxfs_bmap_btree.c32 struct xfs_btree_block *buf, in xfs_bmbt_init_block()
53 struct xfs_btree_block *rblock, in xfs_bmdr_to_bmbt()
146 struct xfs_btree_block *rblock, in xfs_bmbt_to_bmdr()
411 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_bmbt_verify()
522 struct xfs_btree_block *broot, in xfs_bmbt_move_ptrs()
552 struct xfs_btree_block *
560 struct xfs_btree_block *broot; in xfs_bmap_broot_realloc()
620 static struct xfs_btree_block *
Dxfs_btree_staging.c291 struct xfs_btree_block **blockp, /* in/out */ in xfs_btree_bload_prep_block()
296 struct xfs_btree_block *new_block; in xfs_btree_bload_prep_block()
360 struct xfs_btree_block *block, in xfs_btree_bload_leaf()
390 struct xfs_btree_block *block) in xfs_btree_bload_node()
400 struct xfs_btree_block *child_block; in xfs_btree_bload_node()
683 struct xfs_btree_block *block = NULL; in xfs_btree_bload()
Dxfs_inode_fork.h17 struct xfs_btree_block *if_broot; /* file's incore btree root */
173 struct xfs_btree_block *xfs_broot_alloc(struct xfs_ifork *ifp,
175 struct xfs_btree_block *xfs_broot_realloc(struct xfs_ifork *ifp,
Dxfs_rtrmap_btree.c267 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rtrmapbt_verify()
411 struct xfs_btree_block *broot, in xfs_rtrmapbt_move_ptrs()
424 static struct xfs_btree_block *
431 struct xfs_btree_block *broot; in xfs_rtrmapbt_broot_realloc()
557 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rtrmapbt_mem_verify()
850 struct xfs_btree_block *rblock) in xfs_rtrmapbt_from_disk()
892 struct xfs_btree_block *broot; in xfs_iformat_rtrmap()
927 struct xfs_btree_block *rblock, in xfs_rtrmapbt_to_disk()
995 struct xfs_btree_block *broot; in xfs_rtrmapbt_create()
Dxfs_format.h1940 struct xfs_btree_block { struct
1952 (offsetof(struct xfs_btree_block, bb_u) + \ argument
1956 (offsetof(struct xfs_btree_block, bb_u) + \
1961 (offsetof(struct xfs_btree_block, bb_u) + \
1964 (offsetof(struct xfs_btree_block, bb_u) + \
1968 offsetof(struct xfs_btree_block, bb_u.s.bb_crc)
1970 offsetof(struct xfs_btree_block, bb_u.l.bb_crc)
Dxfs_inode_fork.c183 struct xfs_btree_block *broot; in xfs_iformat_btree()
379 struct xfs_btree_block *
396 struct xfs_btree_block *
418 struct xfs_btree_block *old_broot = ifp->if_broot; in xfs_broot_realloc()
Dxfs_btree_staging.h50 unsigned int idx, struct xfs_btree_block *block,
Dxfs_rmap_btree.c325 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rmapbt_verify()
572 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rmapbt_mem_verify()
Dxfs_ondisk.h47 XFS_CHECK_STRUCT_SIZE(struct xfs_btree_block, 72); in xfs_check_ondisk_structs()
Dxfs_ag.c335 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_freesp_init_recs()
403 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_rmaproot_init()
Dxfs_refcount_btree.c209 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_refcountbt_verify()
Dxfs_alloc_btree.c255 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_allocbt_verify()
/linux-6.14.4/fs/xfs/scrub/
Dbtree.c145 struct xfs_btree_block *block; in xchk_btree_rec()
146 struct xfs_btree_block *keyblock; in xchk_btree_rec()
193 struct xfs_btree_block *block; in xchk_btree_key()
194 struct xfs_btree_block *keyblock; in xchk_btree_key()
262 struct xfs_btree_block *pblock; in xchk_btree_block_check_sibling()
320 struct xfs_btree_block *block) in xchk_btree_block_check_siblings()
493 struct xfs_btree_block *block) in xchk_btree_check_minrecs()
512 struct xfs_btree_block *root_block; in xchk_btree_check_minrecs()
541 struct xfs_btree_block *block) in xchk_btree_block_check_keys()
547 struct xfs_btree_block *parent_block; in xchk_btree_block_check_keys()
[all …]
Dialloc_repair.c522 struct xfs_btree_block *block, in xrep_fibt_get_records()
552 struct xfs_btree_block *block, in xrep_ibt_get_records()
Drcbag_btree.c145 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in rcbagbt_verify()
Drefcount_repair.c521 struct xfs_btree_block *block, in xrep_refc_get_records()
Drtrefcount_repair.c563 struct xfs_btree_block *block, in xrep_rtrefc_get_records()
/linux-6.14.4/fs/xfs/
Dxfs_buf_item_recover.c858 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()
868 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()
Dxfs_inode_item_recover.c554 xfs_bmbt_to_bmdr(mp, (struct xfs_btree_block *)src, in xlog_recover_inode_commit_pass2()

12