Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

fs/xfs/xfs_reflink.c xfs_reflink_find_shared() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 tp 0,4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 2 agbp->b_lru_ref.counter 0-4
PARAM_VALUE 3 pag 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
CAPPED_DATA 1 tp 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 tp $1
DATA_SOURCE 3 pag r xfs_perag_get
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte

fs/xfs/scrub/agheader_repair.c xrep_agf_calc_from_btrees() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 tp 0,4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 2 agbp->b_addr 4096-ptr_max
PARAM_VALUE 2 agbp->b_addr->agf_bno_level 0
PARAM_VALUE 2 agbp->b_addr->agf_bno_root 0
PARAM_VALUE 2 agbp->b_addr->agf_btreeblks 0
PARAM_VALUE 2 agbp->b_addr->agf_cnt_level 0
PARAM_VALUE 2 agbp->b_addr->agf_cnt_root 0
PARAM_VALUE 2 agbp->b_addr->agf_crc 0
PARAM_VALUE 2 agbp->b_addr->agf_flcount 0-4294967295
PARAM_VALUE 2 agbp->b_addr->agf_flfirst 0-4294967295
PARAM_VALUE 2 agbp->b_addr->agf_fllast 0-4294967295
PARAM_VALUE 2 agbp->b_addr->agf_freeblks 0
PARAM_VALUE 2 agbp->b_addr->agf_length 0-4294967295
PARAM_VALUE 2 agbp->b_addr->agf_longest 0
PARAM_VALUE 2 agbp->b_addr->agf_lsn 0
PARAM_VALUE 2 agbp->b_addr->agf_magicnum 1480673094
PARAM_VALUE 2 agbp->b_addr->agf_refcount_blocks 0
PARAM_VALUE 2 agbp->b_addr->agf_refcount_level 0
PARAM_VALUE 2 agbp->b_addr->agf_refcount_root 0
PARAM_VALUE 2 agbp->b_addr->agf_rmap_blocks 0
PARAM_VALUE 2 agbp->b_addr->agf_rmap_level 0
PARAM_VALUE 2 agbp->b_addr->agf_rmap_root 0
PARAM_VALUE 2 agbp->b_addr->agf_seqno 0-4294967295
PARAM_VALUE 2 agbp->b_addr->agf_spare2 0
PARAM_VALUE 2 agbp->b_addr->agf_versionnum 1
PARAM_VALUE 2 agbp->b_ops 6106324574340419584
PARAM_VALUE 3 pag 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
BUF_SIZE 2 agbp->b_ops 40
CAPPED_DATA 1 tp 1
DATA_SOURCE 2 agbp $1
MEM_ZERO 2 agbp->b_addr
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte

fs/xfs/scrub/repair.c xrep_ag_btcur_init() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte

fs/xfs/scrub/refcount_repair.c xrep_refc_build_new_tree() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 tp 0
PARAM_VALUE 2 agbp 0
PARAM_VALUE 3 pag 4096-ptr_max
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_finish_one() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_errortag 4096-ptr_max
PARAM_VALUE 1 tp 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 1 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 tp->t_mountp->m_errortag 4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 2 agbp->b_lru_ref.counter 0-4
PARAM_VALUE 3 pag 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
CAPPED_DATA 1 tp 1
DATA_SOURCE 1 tp $0
DATA_SOURCE 3 pag r to_perag
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 tp->t_blk_res
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 tp 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 1 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 2 agbp->b_lru_ref.counter 0-4
PARAM_VALUE 3 pag 4096-ptr_max
CAPPED_DATA 1 tp 1
DATA_SOURCE 1 tp r xfs_trans_alloc_empty
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/scrub/rmap.c xchk_rmapbt_walk_ag_metadata() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 tp 0,4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 2 agbp->b_addr 4096-ptr_max
PARAM_VALUE 2 agbp->b_sema.first_waiter->up 0-1
PARAM_VALUE 3 pag 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount 4096-ptr_max
PARAM_VALUE 3 pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
CAPPED_DATA 1 tp 1
UNITS 0 mp unit_byte

fs/xfs/scrub/common.c xchk_ag_btcur_init() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 tp 0,4096-ptr_max
PARAM_VALUE 2 agbp 4096-ptr_max
PARAM_VALUE 3 pag 4096-ptr_max
CAPPED_DATA 1 tp 1
UNITS 0 mp unit_byte

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

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

fs/xfs/libxfs/xfs_refcount_btree.c xfs_refcountbt_dup_cursor() -> xfs_refcountbt_init_cursor()

Type Parameter Key Value
PARAM_VALUE 3 pag 4096-ptr_max
STR_LEN 0 mp (-1)-1024
STR_LEN 1 tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 tp->t_blk_res
NO_OVERFLOW_SIMPLE 1 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 1 tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 2 agbp->b_map_count
UNITS 0 mp unit_byte