Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/xfs/xfs_reflink.c xfs_reflink_find_rtshared() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 1 rtg 4096-ptr_max
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 rtg r xfs_rtgroup_get
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/repair.c xrep_rtgroup_btcur_init() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_recover_cow_leftovers() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
DATA_SOURCE 0 tp r xfs_trans_alloc_empty
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/libxfs/xfs_refcount.c xfs_rtrefcount_finish_one() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_errortag 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r to_rtg
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_build_new_tree() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 tp 0

fs/xfs/scrub/rmap_repair.c xrep_rmap_scan_meta_btree() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_inodes 4096-ptr_max
DATA_SOURCE 1 rtg r xfs_rtgroup_next

fs/xfs/scrub/common.c xchk_meta_btree_count_blocks() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 tp 0,4096-ptr_max
PARAM_VALUE 1 rtg 1-u64max
CAPPED_DATA 0 tp 1

fs/xfs/scrub/common.c xchk_rtgroup_lock() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 1 rtg 4096-ptr_max

fs/xfs/xfs_fsmap.c xfs_getfsmap_is_shared() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
BUF_SIZE 0 tp (-1)-s32max
BUF_SIZE 0 tp (-1)-s32max
DATA_SOURCE 0 tp $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res_used

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_dup_cursor() -> xfs_rtrefcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 1 rtg 4096-ptr_max
STR_LEN 0 tp (-1)-1024
STR_LEN 0 tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res_used