Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/refcount_repair.c xrep_refc_walk_rmaps() -> xfs_rmap_get_rec()

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_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 248903091670867968
PARAM_VALUE 1 irec 1184059815718699008
PARAM_VALUE 2 stat 5117501103766712320
PARAM_VALUE 2 *stat 1
DATA_SOURCE 1 irec $1
NO_OVERFLOW_SIMPLE 1 irec->rm_blockcount
NO_OVERFLOW_SIMPLE 1 irec->rm_offset
NO_OVERFLOW_SIMPLE 1 irec->rm_startblock

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_convert() -> xfs_rmap_get_rec()

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_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_rec.r.rm_blockcount 0
PARAM_VALUE 0 cur->bc_rec.r.rm_flags 0,4
PARAM_VALUE 1 irec 3621534676559155200
PARAM_VALUE 2 stat 6917778036200636416
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
BUF_SIZE 1 irec 128
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
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
HALF_LOCKED2 &rr->lock

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_convert() -> xfs_rmap_get_rec()

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_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_rec.r.rm_blockcount 0
PARAM_VALUE 0 cur->bc_rec.r.rm_flags 0,4
PARAM_VALUE 1 irec 3621534676559155208
PARAM_VALUE 2 stat 6917778036200636416
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
BUF_SIZE 1 irec 96
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
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
HALF_LOCKED2 &rr->lock

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_convert_shared() -> xfs_rmap_get_rec()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
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.r.rm_flags 0,4
PARAM_VALUE 1 irec 3429893985797406728
PARAM_VALUE 2 stat 6471576582929432576
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
BUF_SIZE 1 irec 96
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
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
HALF_LOCKED2 &rr->lock

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_lookup_le() -> xfs_rmap_get_rec()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
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.r.rm_blockcount 0
PARAM_VALUE 0 cur->bc_rec.r.rm_flags 0-7
PARAM_VALUE 1 irec 4096-ptr_max
PARAM_VALUE 2 stat 5163374929576587264
PARAM_VALUE 2 *stat 0
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur (-1)-s32max
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
BUF_SIZE 0 cur->bc_tp (-1)-s32max
BUF_SIZE 1 irec (-1),64,128
BUF_SIZE 1 irec (-1),64,128
CAPPED_DATA 0 cur->bc_rec.r.rm_flags 1
DATA_SOURCE 0 cur $0
DATA_SOURCE 1 irec $5
FUZZY_MAX 0 cur->bc_rec.r.rm_flags 4
STR_LEN 0 cur->bc_tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_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

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_map() -> xfs_rmap_get_rec()

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_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_rec.r.rm_blockcount 0
PARAM_VALUE 0 cur->bc_rec.r.rm_flags 0-7
PARAM_VALUE 1 irec 6059177041110564864
PARAM_VALUE 2 stat 5890654031241199616
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
DATA_SOURCE 0 cur $0
STR_LEN 0 cur->bc_tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_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

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_map_shared() -> xfs_rmap_get_rec()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_mp 4096-ptr_max
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.r.rm_flags 0-7
PARAM_VALUE 1 irec 1347027090003636224
PARAM_VALUE 2 stat 8150880069604573184
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
DATA_SOURCE 0 cur $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_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
HALF_LOCKED2 &rr->lock

fs/xfs/libxfs/xfs_rmap.c xfs_rmap_unmap() -> xfs_rmap_get_rec()

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_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_rec.r.rm_blockcount 0
PARAM_VALUE 0 cur->bc_rec.r.rm_flags 0-7
PARAM_VALUE 1 irec 3203542658036727808
PARAM_VALUE 2 stat 3091971739697463296
PARAM_VALUE 2 *stat 1
BUF_SIZE 0 cur->bc_mem.xfbtree (-1),56
DATA_SOURCE 0 cur $0
STR_LEN 0 cur->bc_tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cur->bc_ag.agbp->b_map_count
NO_OVERFLOW_SIMPLE 0 cur->bc_rec.r.rm_offset
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_walk_rmaps() -> xfs_rmap_get_rec()

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_mp 4096-ptr_max
PARAM_VALUE 0 cur->bc_nlevels 1-255
PARAM_VALUE 0 cur->bc_ops 6771264632830390272
PARAM_VALUE 1 irec 8701903744330313728
PARAM_VALUE 2 stat 8851800690056122368
PARAM_VALUE 2 *stat 1
DATA_SOURCE 1 irec $1
NO_OVERFLOW_SIMPLE 1 irec->rm_blockcount
NO_OVERFLOW_SIMPLE 1 irec->rm_offset
NO_OVERFLOW_SIMPLE 1 irec->rm_startblock

fs/xfs/scrub/rmap_repair.c xrep_rmap_get_records() -> xfs_rmap_get_rec()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 2 stat 1972278623898816512
PARAM_VALUE 2 *stat 1
NO_OVERFLOW_SIMPLE 1 irec->rm_offset
NO_OVERFLOW_SIMPLE 1 irec->rm_startblock

fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_get_records() -> xfs_rmap_get_rec()

Type Parameter Key Value
PARAM_VALUE 0 cur 4096-ptr_max
PARAM_VALUE 0 cur->bc_ops 4096-ptr_max
PARAM_VALUE 2 stat 5182423628753301504
PARAM_VALUE 2 *stat 1
NO_OVERFLOW_SIMPLE 1 irec->rm_offset
NO_OVERFLOW_SIMPLE 1 irec->rm_startblock