Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

fs/xfs/scrub/agheader_repair.c xrep_agfl_collect_blocks() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 0 cur->bc_ops->ptr_len 4
PARAM_VALUE 0 cur->bc_tp 0,4096-ptr_max
PARAM_VALUE 1 fn 8510468281865949184
PARAM_VALUE 2 priv 1330618859164180480
BUF_SIZE 2 priv 56
DATA_SOURCE 0 cur r xfs_rmapbt_init_cursor
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

fs/xfs/scrub/rtbitmap_repair.c xrep_rtbitmap_find_freespace() -> xfs_rmap_query_all()

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 6771264632830390272
PARAM_VALUE 1 fn 8408365659975311360
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/repair.c xrep_find_ag_btree_roots() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 0 cur->bc_ops->ptr_len 4
PARAM_VALUE 0 cur->bc_tp 0,4096-ptr_max
PARAM_VALUE 1 fn 5947576344605622272
PARAM_VALUE 2 priv 4139488774978002944
BUF_SIZE 2 priv 32
DATA_SOURCE 0 cur r xfs_rmapbt_init_cursor
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

fs/xfs/scrub/bmap.c xchk_bmap_check_ag_rmaps() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 0 cur->bc_ops->ptr_len 4
PARAM_VALUE 0 cur->bc_tp 0,4096-ptr_max
PARAM_VALUE 1 fn 8221443937346039808
PARAM_VALUE 2 priv 3237448011765473280
BUF_SIZE 2 priv 32
DATA_SOURCE 0 cur r xfs_rmapbt_init_cursor
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

fs/xfs/scrub/bmap.c xchk_bmap_check_rt_rmaps() -> xfs_rmap_query_all()

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 6771264632830390272
PARAM_VALUE 0 cur->bc_ops->ptr_len 8
PARAM_VALUE 1 fn 8221443937346039808
PARAM_VALUE 2 priv 3484132923137953792
BUF_SIZE 2 priv 32
DATA_SOURCE 0 cur r xfs_rtrmapbt_init_cursor
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

fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_scan_ag() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 1 fn 4467865890515800064
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 200
DATA_SOURCE 2 priv $0
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

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

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_mem.xfbtree 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 1795251056040968192
PARAM_VALUE 0 cur->bc_ops->ptr_len 8
PARAM_VALUE 0 cur->bc_tp 0
PARAM_VALUE 1 fn 5647175021932711936
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 cur->bc_mem.xfbtree 56
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 0 cur r xfs_rmapbt_mem_cursor
DATA_SOURCE 2 priv $0
MEM_ZERO 0 cur->bc_mem.xfbtree
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

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

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_mem.xfbtree 4096-ptr_max
PARAM_VALUE 0 cur->bc_nlevels 0
PARAM_VALUE 0 cur->bc_ops 1795251056040968192
PARAM_VALUE 0 cur->bc_ops->ptr_len 8
PARAM_VALUE 0 cur->bc_tp 0
PARAM_VALUE 1 fn 6591076518656376832
PARAM_VALUE 2 priv 3322426106844057600
BUF_SIZE 0 cur->bc_mem.xfbtree 56
BUF_SIZE 2 priv 24
DATA_SOURCE 0 cur r xfs_rmapbt_mem_cursor
MEM_ZERO 0 cur->bc_mem.xfbtree
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

fs/xfs/scrub/alloc_repair.c xrep_abt_find_freespace() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 1 fn 3916410349480632320
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 384
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/common.c xchk_count_rmap_ownedby_ag() -> xfs_rmap_query_all()

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 1 fn 5273489599935217664
PARAM_VALUE 2 priv 5732818216152473600
BUF_SIZE 2 priv 16
DATA_SOURCE 0 cur $1

fs/xfs/scrub/bmap_repair.c xrep_bmap_scan_ag() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 1 fn 3369901179350716416
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 232
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/bmap_repair.c xrep_bmap_scan_rtgroup() -> xfs_rmap_query_all()

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 6771264632830390272
PARAM_VALUE 1 fn 3967963643161092096
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 232
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/inode_repair.c xrep_dinode_count_ag_rmaps() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 0 cur->bc_ops->ptr_len 4
PARAM_VALUE 0 cur->bc_tp 0,4096-ptr_max
PARAM_VALUE 1 fn 6496327820474974208
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 0 cur r xfs_rmapbt_init_cursor
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/inode_repair.c xrep_dinode_count_rtgroup_rmaps() -> xfs_rmap_query_all()

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 6771264632830390272
PARAM_VALUE 1 fn 4446725739675209728
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/ialloc_repair.c xrep_ibt_find_inodes() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 1 fn 6151237122961371136
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 376
DATA_SOURCE 2 priv $0
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

fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_find_rmaps() -> xfs_rmap_query_all()

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_mem.xfbtree 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 3279295782379569152
PARAM_VALUE 0 cur->bc_ops->ptr_len 8
PARAM_VALUE 0 cur->bc_tp 0
PARAM_VALUE 1 fn 2672177845792681984
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 cur->bc_mem.xfbtree 56
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 0 cur r xfs_rtrmapbt_mem_cursor
DATA_SOURCE 2 priv $0
MEM_ZERO 0 cur->bc_mem.xfbtree
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

fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_scan_ag() -> xfs_rmap_query_all()

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 248903091670867968
PARAM_VALUE 1 fn 3997373264104181760
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 2 priv 40,72,192-s32max
DATA_SOURCE 2 priv $0
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