Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/xfs/scrub/rmap_repair.c xrep_rmap_build_new_tree() -> xfs_rmapbt_mem_cursor()

Type Parameter Key Value
PARAM_VALUE 0 pag 4096-ptr_max
PARAM_VALUE 1 tp 0
PARAM_VALUE 2 xfbt 4096-ptr_max
PARAM_VALUE 2 xfbt->highest_bno 1
PARAM_VALUE 2 xfbt->nlevels 0-255
PARAM_VALUE 2 xfbt->owner 0
PARAM_VALUE 2 xfbt->root.s 0
MEM_ZERO 2 xfbt

fs/xfs/scrub/rmap_repair.c xrep_rmap_find_rmaps() -> xfs_rmapbt_mem_cursor()

Type Parameter Key Value
PARAM_VALUE 0 pag 4096-ptr_max
PARAM_VALUE 1 tp 0
PARAM_VALUE 2 xfbt 4096-ptr_max
PARAM_VALUE 2 xfbt->highest_bno 1
PARAM_VALUE 2 xfbt->nlevels 0-255
PARAM_VALUE 2 xfbt->owner 0
PARAM_VALUE 2 xfbt->root.s 0
MEM_ZERO 2 xfbt

fs/xfs/scrub/rmap_repair.c xrep_rmap_remove_old_tree() -> xfs_rmapbt_mem_cursor()

Type Parameter Key Value
PARAM_VALUE 0 pag 4096-ptr_max
PARAM_VALUE 1 tp 0
PARAM_VALUE 2 xfbt 4096-ptr_max
MEM_ZERO 2 xfbt

fs/xfs/scrub/rmap_repair.c xrep_rmap_stash() -> xfs_rmapbt_mem_cursor()

Type Parameter Key Value
PARAM_VALUE 2 xfbt 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rr->lock
TYPE_LOCK (struct xrep_rmap)->lock

fs/xfs/scrub/rmap_repair.c xrep_rmapbt_live_update() -> xfs_rmapbt_mem_cursor()

Type Parameter Key Value
PARAM_VALUE 1 tp 4096-ptr_max
PARAM_VALUE 2 xfbt 4096-ptr_max
DATA_SOURCE 1 tp r xfs_trans_alloc_empty
LOCK2 &rr->lock
TYPE_LOCK (struct xrep_rmap)->lock