Searched refs:xfbtree (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_btree_mem.c | 31 cur->bc_mem.xfbtree->root = *ptr; in xfbtree_set_root() 32 cur->bc_mem.xfbtree->nlevels += inc; in xfbtree_set_root() 43 *ptr = cur->bc_mem.xfbtree->root; in xfbtree_init_ptr_from_cur() 59 ncur->bc_mem.xfbtree = cur->bc_mem.xfbtree; in xfbtree_dup_cursor() 70 struct xfbtree *xfbt) in xfbtree_destroy() 88 struct xfbtree *xfbt, in xfbtree_init_leaf_block() 117 struct xfbtree *xfbt, in xfbtree_init() 169 struct xfbtree *xfbt = cur->bc_mem.xfbtree; in xfbtree_alloc_block() 194 struct xfbtree *xfbt = cur->bc_mem.xfbtree; in xfbtree_free_block() 214 struct xfbtree *xfbt = cur->bc_mem.xfbtree; in xfbtree_get_minrecs() [all …]
|
D | xfs_btree_mem.h | 25 struct xfbtree { struct 45 static inline bool xfbtree_verify_bno(struct xfbtree *xfbt, xfbno_t bno) in xfbtree_verify_bno() argument 65 int xfbtree_init(struct xfs_mount *mp, struct xfbtree *xfbt, 67 void xfbtree_destroy(struct xfbtree *xfbt); 69 int xfbtree_trans_commit(struct xfbtree *xfbt, struct xfs_trans *tp); 70 void xfbtree_trans_cancel(struct xfbtree *xfbt, struct xfs_trans *tp);
|
D | xfs_rmap_btree.h | 13 struct xfbtree; 68 struct xfs_trans *tp, struct xfbtree *xfbtree); 69 int xfs_rmapbt_mem_init(struct xfs_mount *mp, struct xfbtree *xfbtree,
|
D | xfs_rmap_btree.c | 647 struct xfbtree *xfbt) in xfs_rmapbt_mem_cursor() 654 cur->bc_mem.xfbtree = xfbt; in xfs_rmapbt_mem_cursor() 665 struct xfbtree *xfbt, in xfs_rmapbt_mem_init()
|
D | xfs_btree.h | 272 struct xfbtree *xfbtree; member
|
D | xfs_btree.c | 199 struct xfs_buftarg *btp = cur->bc_mem.xfbtree->target; in __xfs_btree_check_memblock() 324 if (!xfbtree_verify_bno(cur->bc_mem.xfbtree, in __xfs_btree_check_ptr() 549 return cur->bc_mem.xfbtree->target; in xfs_btree_buftarg() 993 struct xfs_buftarg *btp = cur->bc_mem.xfbtree->target; in xfs_btree_readahead_memblock() 1312 return cur->bc_mem.xfbtree->owner; in xfs_btree_owner()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rcbag.c | 26 struct xfbtree xfbtree; member 46 error = rcbagbt_mem_init(mp, &bag->xfbtree, btp); in rcbag_init() 64 xfbtree_destroy(&bag->xfbtree); in rcbag_free() 82 cur = rcbagbt_mem_cursor(mp, tp, &bag->xfbtree); in rcbag_add() 116 error = xfbtree_trans_commit(&bag->xfbtree, tp); in rcbag_add() 125 xfbtree_trans_cancel(&bag->xfbtree, tp); in rcbag_add() 164 cur = rcbagbt_mem_cursor(mp, tp, &bag->xfbtree); in rcbag_next_edge() 222 cur = rcbagbt_mem_cursor(mp, tp, &bag->xfbtree); in rcbag_remove_ending_at() 258 return xfbtree_trans_commit(&bag->xfbtree, tp); in rcbag_remove_ending_at() 261 xfbtree_trans_cancel(&bag->xfbtree, tp); in rcbag_remove_ending_at() [all …]
|
D | rcbag_btree.h | 65 struct xfs_trans *tp, struct xfbtree *xfbtree); 66 int rcbagbt_mem_init(struct xfs_mount *mp, struct xfbtree *xfbtree,
|
D | rcbag_btree.c | 216 struct xfbtree *xfbtree) in rcbagbt_mem_cursor() argument 223 cur->bc_mem.xfbtree = xfbtree; in rcbagbt_mem_cursor() 224 cur->bc_nlevels = xfbtree->nlevels; in rcbagbt_mem_cursor() 232 struct xfbtree *xfbt, in rcbagbt_mem_init()
|
D | rmap_repair.c | 135 struct xfbtree rmap_btree;
|
/linux-6.12.1/Documentation/filesystems/xfs/ |
D | xfs-online-fsck-design.rst | 1947 btrees<xfbtree>`. 2240 Space Management with an xfbtree 2250 The very first block of an xfile backing an xfbtree contains a header block. 2252 xfbtree block. 2258 To free an xfbtree block, use ``xfile_discard`` (which internally uses 2261 Populating an xfbtree 2264 An online fsck function that wants to create an xfbtree should proceed as 2273 ``xfbtree_init`` to initialize the passed in ``struct xfbtree`` and write an 2280 4. Pass the xfbtree object to the btree cursor creation function for the 2287 For example, a btree cursor for an rmap xfbtree can be passed to the [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_trace.h | 84 struct xfbtree; 4760 TP_PROTO(struct xfs_mount *mp, struct xfbtree *xfbt, 4792 TP_PROTO(struct xfbtree *xfbt, struct xfs_buf *bp), 4824 TP_PROTO(struct xfbtree *xfbt, struct xfs_buf *bp), \ 4831 TP_PROTO(struct xfbtree *xfbt, struct xfs_btree_cur *cur, 4855 TP_PROTO(struct xfbtree *xfbt, struct xfs_btree_cur *cur, \
|