Home
last modified time | relevance | path

Searched refs:xfbt (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_btree_mem.c70 struct xfbtree *xfbt) in xfbtree_destroy() argument
72 xfs_buftarg_drain(xfbt->target); in xfbtree_destroy()
88 struct xfbtree *xfbt, in xfbtree_init_leaf_block() argument
92 xfbno_t bno = xfbt->highest_bno++; in xfbtree_init_leaf_block()
95 error = xfs_buf_get(xfbt->target, xfbno_to_daddr(bno), XFBNO_BBSIZE, in xfbtree_init_leaf_block()
100 trace_xfbtree_create_root_buf(xfbt, bp); in xfbtree_init_leaf_block()
103 xfs_btree_init_buf(mp, bp, ops, 0, 0, xfbt->owner); in xfbtree_init_leaf_block()
106 xfbt->root.l = cpu_to_be64(bno); in xfbtree_init_leaf_block()
117 struct xfbtree *xfbt, in xfbtree_init() argument
135 memset(xfbt, 0, sizeof(*xfbt)); in xfbtree_init()
[all …]
Dxfs_btree_mem.h45 static inline bool xfbtree_verify_bno(struct xfbtree *xfbt, xfbno_t bno) in xfbtree_verify_bno() argument
47 return xmbuf_verify_daddr(xfbt->target, xfbno_to_daddr(bno)); in xfbtree_verify_bno()
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);
Dxfs_rmap_btree.c647 struct xfbtree *xfbt) in xfs_rmapbt_mem_cursor() argument
654 cur->bc_mem.xfbtree = xfbt; in xfs_rmapbt_mem_cursor()
655 cur->bc_nlevels = xfbt->nlevels; in xfs_rmapbt_mem_cursor()
665 struct xfbtree *xfbt, in xfs_rmapbt_mem_init() argument
669 xfbt->owner = agno; in xfs_rmapbt_mem_init()
670 return xfbtree_init(mp, xfbt, btp, &xfs_rmapbt_mem_ops); in xfs_rmapbt_mem_init()
/linux-6.12.1/fs/xfs/scrub/
Drcbag_btree.c232 struct xfbtree *xfbt, in rcbagbt_mem_init() argument
235 xfbt->owner = 0; in rcbagbt_mem_init()
236 return xfbtree_init(mp, xfbt, btp, &rcbagbt_mem_ops); in rcbagbt_mem_init()
/linux-6.12.1/fs/xfs/
Dxfs_trace.h4760 TP_PROTO(struct xfs_mount *mp, struct xfbtree *xfbt,
4762 TP_ARGS(mp, xfbt, ops),
4774 __entry->xfino = file_inode(xfbt->target->bt_file)->i_ino;
4775 __entry->leaf_mxr = xfbt->maxrecs[0];
4776 __entry->node_mxr = xfbt->maxrecs[1];
4777 __entry->leaf_mnr = xfbt->minrecs[0];
4778 __entry->node_mnr = xfbt->minrecs[1];
4779 __entry->owner = xfbt->owner;
4792 TP_PROTO(struct xfbtree *xfbt, struct xfs_buf *bp),
4793 TP_ARGS(xfbt, bp),
[all …]