Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_cache 4096-ptr_max
PARAM_VALUE 0 cur->bc_group 4096-ptr_max
PARAM_VALUE 0 cur->bc_ino.ip 4096-ptr_max
PARAM_VALUE 0 cur->bc_ino.whichfork 0
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 5177736840100265984
PARAM_VALUE 0 cur->bc_ops->ptr_len 8
PARAM_VALUE 0 cur->bc_refc.nr_ops 0
PARAM_VALUE 0 cur->bc_refc.shape_changes 0
PARAM_VALUE 3 fbno 8190512340195414016
PARAM_VALUE 4 flen 814688198946131968,3597836136990519296
CAPPED_DATA 1 agbno 1
DATA_SOURCE 0 cur r xfs_rtrefcountbt_init_cursor
DATA_SOURCE 1 agbno r xfs_rtb_to_rgbno
DATA_SOURCE 4 flen $4
DATA_SOURCE 5 find_end_of_shared $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 agbno 0-u32max[c]
USER_DATA 2 aglen 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res_used
UNITS 2 aglen unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ag.agbp 4096-ptr_max
PARAM_VALUE 0 cur->bc_cache 4096-ptr_max
PARAM_VALUE 0 cur->bc_group 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 3386398652014444544
PARAM_VALUE 0 cur->bc_ops->ptr_len 4
PARAM_VALUE 0 cur->bc_refc.nr_ops 0
PARAM_VALUE 0 cur->bc_refc.shape_changes 0
PARAM_VALUE 0 cur->bc_tp 0,4096-ptr_max
PARAM_VALUE 3 fbno 7276564151700471808
PARAM_VALUE 4 flen 814688198946131968,3597836136990519296
CAPPED_DATA 0 cur->bc_mp->m_sb.sb_agcount 1
CAPPED_DATA 1 agbno 1
DATA_SOURCE 0 cur r xfs_refcountbt_init_cursor
DATA_SOURCE 4 flen $4
DATA_SOURCE 5 find_end_of_shared $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 agbno 0-u32max[c]
USER_DATA 2 aglen 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res_used
UNITS 2 aglen unit_array_size

fs/xfs/scrub/rtrmap.c xchk_rtrmapbt_xref_rtrefc() -> xfs_refcount_find_shared()

Type Parameter Key Value
PARAM_VALUE 0 cur 1-u64max
PARAM_VALUE 3 fbno 8751797051179347968
PARAM_VALUE 4 flen 7710770625785962496
PARAM_VALUE 5 find_end_of_shared 0
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.rc.rc_startblock
NO_OVERFLOW_SIMPLE 1 agbno
UNITS 1 agbno unit_array_size
UNITS 2 aglen unit_array_size

fs/xfs/scrub/rmap.c xchk_rmapbt_xref_refc() -> xfs_refcount_find_shared()

Type Parameter Key Value
PARAM_VALUE 0 cur 1-u64max
PARAM_VALUE 0 cur->bc_ops->alloc_block 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->broot_realloc 0,205008320403959808,1877799289265856512,4624930743969431552
PARAM_VALUE 0 cur->bc_ops->buf_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->cmp_key_with_cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->cmp_two_keys 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->dup_cursor 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->free_block 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->geom_flags 0-3
PARAM_VALUE 0 cur->bc_ops->get_dmaxrecs 0,3492848713905295360,3901288766128197632,8955386628324601856
PARAM_VALUE 0 cur->bc_ops->get_maxrecs 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->get_minrecs 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->init_key_from_rec 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->init_rec_from_cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->key_len 4,8,40
PARAM_VALUE 0 cur->bc_ops->keys_inorder 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->lru_refs 1-3
PARAM_VALUE 0 cur->bc_ops->ptr_len 4,8
PARAM_VALUE 0 cur->bc_ops->rec_len 8,12,16,24
PARAM_VALUE 0 cur->bc_ops->recs_inorder 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->set_root 0,135209176560377856,500508166552113152,524490925254889472,5551055571258630144,6116626257139232768,9044852301428047872
PARAM_VALUE 0 cur->bc_ops->sick_mask 0,8,16,32,64,128,256,512
PARAM_VALUE 0 cur->bc_ops->statoff 76,91,106,121,136,151,166,181,196,211,226,241
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_ops->update_cursor 0,2872932845050183680
PARAM_VALUE 3 fbno 8314942232682610688
PARAM_VALUE 4 flen 5349381869747761152
PARAM_VALUE 5 find_end_of_shared 0
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.rc.rc_startblock
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res
NO_OVERFLOW_SIMPLE 1 agbno
UNITS 1 agbno unit_array_size
UNITS 2 aglen unit_array_size

fs/xfs/scrub/bmap_repair.c xrep_bmap_discover_shared() -> xfs_refcount_find_shared()

Type Parameter Key Value
PARAM_VALUE 2 aglen 1-u32max
PARAM_VALUE 3 fbno 7556225916446728192
PARAM_VALUE 4 flen 3138825826617159680
PARAM_VALUE 5 find_end_of_shared 0
CAPPED_DATA 1 agbno 1
DATA_SOURCE 2 aglen $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 aglen unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ag.agbp 0,4096-ptr_max
PARAM_VALUE 0 cur->bc_cache 4096-ptr_max
PARAM_VALUE 0 cur->bc_group 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 3386398652014444544,5177736840100265984
PARAM_VALUE 0 cur->bc_ops->ptr_len 4,8
PARAM_VALUE 0 cur->bc_refc.nr_ops 0
PARAM_VALUE 0 cur->bc_refc.shape_changes 0
PARAM_VALUE 0 cur->bc_tp 4096-ptr_max
PARAM_VALUE 3 fbno 7781180683485724672
PARAM_VALUE 4 flen 8606581827220090880
PARAM_VALUE 4 *flen 0
PARAM_VALUE 5 find_end_of_shared 0
BUF_SIZE 0 cur->bc_tp (-1)-s32max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_blk_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 cur->bc_tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 1 agbno
UNITS 1 agbno unit_array_size