Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/scrub/refcount.c xchk_xref_is_cow_staging() -> xfs_refcount_lookup_le()

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 domain 1
PARAM_VALUE 3 stat 7689346400586145792
DATA_SOURCE 2 bno $1
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
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 2 bno
UNITS 2 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_find_left_extents() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_tp->t_items.prev 4096-ptr_max
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 3 stat 6609567326307450880
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
DATA_SOURCE 0 cur $0
DATA_SOURCE 1 domain $3
HARD_MAX 1 domain 1
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

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_find_shared() -> xfs_refcount_lookup_le()

Type Parameter Key Value
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 domain 0
PARAM_VALUE 3 stat 5711208551400439808
BUF_SIZE 0 cur->bc_tp (-1),1-s32max
DATA_SOURCE 0 cur $0
DATA_SOURCE 2 bno $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 bno 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
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 0 cur->bc_tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 2 bno
UNITS 2 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_merge_center_extents() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ag.afake->af_levels 0-4294967295
PARAM_VALUE 0 cur->bc_ag.afake->af_root 0-4294967295
PARAM_VALUE 0 cur->bc_cache 4096-ptr_max
PARAM_VALUE 0 cur->bc_ino.ip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 cur->bc_mem.xfbtree->nlevels 0-4294967295
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->sick_mask 0,8,16,32,64,128,256,512
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_rec.rc.rc_blockcount 0
PARAM_VALUE 0 cur->bc_rec.rc.rc_domain 0-1
PARAM_VALUE 0 *cur->bc_ino.ip->i_mount->m_delalloc_blks.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cur->bc_ino.ip->i_mount->m_delalloc_rtextents.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 2 bno 0-4294967294
PARAM_VALUE 3 stat 6436395643779686400
PARAM_VALUE 3 *stat 1
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
CAPPED_DATA 1 domain 1
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.b.br_startoff
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 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_merge_left_extent() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.tbl->hash_rnd 0-4294967295
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.tbl->nest 0-4294967295
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.tbl->size 0-4294967295
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_rec.rc.rc_blockcount 0
PARAM_VALUE 0 cur->bc_rec.rc.rc_domain 0-1
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 2 bno 0-4294967294
PARAM_VALUE 3 stat 6245140211896184832
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
CAPPED_DATA 1 domain 1
DATA_SOURCE 0 cur $0
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
UNITS 2 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_merge_left_extent() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->sick_mask 0,8,16,32,64,128,256,512
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_rec.rc.rc_blockcount 0
PARAM_VALUE 0 cur->bc_rec.rc.rc_domain 0-1
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 2 bno 0-4294967294
PARAM_VALUE 3 stat 6245140211896184832
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
CAPPED_DATA 1 domain 1
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.b.br_startoff
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 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_merge_right_extent() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_rec.rc.rc_blockcount 0
PARAM_VALUE 0 cur->bc_rec.rc.rc_domain 0-1
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 2 bno 0-4294967294
PARAM_VALUE 3 stat 815621379120922624
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
CAPPED_DATA 1 domain 1
DATA_SOURCE 0 cur $0
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
UNITS 2 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_merge_right_extent() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 cur->bc_mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->sick_mask 0,8,16,32,64,128,256,512
PARAM_VALUE 0 cur->bc_ops->type 0-2
PARAM_VALUE 0 cur->bc_rec.rc.rc_blockcount 0
PARAM_VALUE 0 cur->bc_rec.rc.rc_domain 0-1
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 2 bno 0-4294967294
PARAM_VALUE 3 stat 815621379120922624
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
CAPPED_DATA 1 domain 1
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.b.br_startoff
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 bno unit_array_size

fs/xfs/libxfs/xfs_refcount.c xfs_refcount_split_extent() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->name 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops->buf_ops->verify_write 4096-ptr_max
PARAM_VALUE 1 domain 0-1
PARAM_VALUE 3 stat 8802171022293307392
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
CAPPED_DATA 0 cur 1
DATA_SOURCE 0 cur $0
DATA_SOURCE 1 domain $1
DATA_SOURCE 2 bno $2
HARD_MAX 1 domain 1
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

fs/xfs/scrub/rtrefcount.c xchk_xref_is_rt_cow_staging() -> xfs_refcount_lookup_le()

Type Parameter Key Value
PARAM_VALUE 0 cur 1-u64max
PARAM_VALUE 1 domain 1
PARAM_VALUE 3 stat 8327649301613305856
DATA_SOURCE 2 bno $1
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 0 cur->bc_tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 2 bno
UNITS 2 bno unit_array_size