Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/libxfs/xfs_btree.c xfs_btree_key_addr() -> xfs_btree_key_offset()
| 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->key_len | 4,8,40 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4,8 |
| 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 |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 1 | n | $1 |
| STR_LEN | 0 | cur->bc_tp | (-1)-1024 |
| NOSPEC | 0 | cur->bc_ino.ip->i_disk_size | |
| NOSPEC | 0 | cur->bc_rec.a.ar_blockcount | |
| NOSPEC | 0 | cur->bc_rec.a.ar_startblock | |
| NOSPEC | 0 | cur->bc_rec.b.br_blockcount | |
| NOSPEC | 0 | cur->bc_rec.b.br_startoff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cur->bc_ino.ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| USER_DATA | 0 | cur->bc_rec.a.ar_blockcount | 0-u32max[c] |
| USER_DATA | 0 | cur->bc_rec.a.ar_startblock | 0-4194304[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_blockcount | 0-18014398509481983,18446744069414584321-u64max[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_startblock | 0-22518000284336124 |
| USER_DATA | 0 | cur->bc_rec.b.br_startoff | 0-18446744073709551614[c] |
| USER_DATA | 0 | cur->bc_rec.i.ir_startino | 0-u32max[c] |
| USER_DATA | 0 | cur->bc_rec.rc.rc_startblock | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_blockcount | |
| 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_rec.rc.rc_blockcount | |
| 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 | |
| UNITS | 1 | n | unit_array_size |
fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys() -> xfs_btree_key_offset()
| 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->key_len | 4,8,40 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4,8 |
| PARAM_VALUE | 1 | n | 0-u16max |
| 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),1-s32max |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 1 | n | $2 |
| STR_LEN | 0 | cur->bc_tp | (-1)-1024 |
| NOSPEC | 0 | cur->bc_ino.ip->i_disk_size | |
| NOSPEC | 0 | cur->bc_rec.b.br_blockcount | |
| NOSPEC | 0 | cur->bc_rec.b.br_startoff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cur->bc_ino.ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_blockcount | 0-18014398509481983,18446744069414584321-u64max[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_startblock | 0-22518000284336124 |
| USER_DATA | 0 | cur->bc_rec.b.br_startoff | 0-18446744073709551614[c] |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.a.ar_startblock | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_blockcount | |
| 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_rec.rc.rc_blockcount | |
| 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 | |
| UNITS | 1 | n | unit_array_size |
fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys() -> xfs_btree_key_offset()
| 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->key_len | 4,8,40 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4,8 |
| PARAM_VALUE | 1 | n | 1-65537 |
| 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),1-s32max |
| CAPPED_DATA | 1 | n | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| STR_LEN | 0 | cur->bc_tp | (-1)-1024 |
| NOSPEC | 0 | cur->bc_ino.ip->i_disk_size | |
| NOSPEC | 0 | cur->bc_rec.b.br_blockcount | |
| NOSPEC | 0 | cur->bc_rec.b.br_startoff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cur->bc_ino.ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_blockcount | 0-18014398509481983,18446744069414584321-u64max[c] |
| USER_DATA | 0 | cur->bc_rec.b.br_startblock | 0-22518000284336124 |
| USER_DATA | 0 | cur->bc_rec.b.br_startoff | 0-18446744073709551614[c] |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.a.ar_startblock | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_blockcount | |
| 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_rec.rc.rc_blockcount | |
| 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 |