Defined in 1 files as a function:
Referenced in 9 files:
- fs/xfs/libxfs/xfs_alloc_btree.c
- fs/xfs/libxfs/xfs_bmap_btree.c, line 676
- fs/xfs/libxfs/xfs_btree_mem.c, line 56
- fs/xfs/libxfs/xfs_ialloc_btree.c
- fs/xfs/libxfs/xfs_refcount_btree.c, line 366
- fs/xfs/libxfs/xfs_rmap_btree.c
- fs/xfs/libxfs/xfs_rtrefcount_btree.c, line 411
- fs/xfs/libxfs/xfs_rtrmap_btree.c
- fs/xfs/scrub/rcbag_btree.c, line 202
Smatch caller information:
fs/xfs/scrub/rcbag_btree.c rcbagbt_mem_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ops | 2057565135026597888 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_alloc_btree.c xfs_bnobt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 2865506413869281280 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_alloc_btree.c xfs_cntbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 7045033551692476416 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_rmap_btree.c xfs_rmapbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_super->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | mp->m_super->s_bdev->bd_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_super->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mp->m_super->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mp->m_super->s_cop->inode_info_offs | 1632,1640,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | mp->m_super->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mp->m_super->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ops | 248903091670867968 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/libxfs/xfs_rmap_btree.c xfs_rmapbt_mem_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ops | 1795251056040968192 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rr->lock |
fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_bm_maxlevels | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp->m_metadirip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_metadirip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_rtdirip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_rtdirip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ops | 2173030708748693504 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_mountp->m_sb_bp->b_transp->t_rtx_res_used | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 5177736840100265984 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 1 | tp | $0 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_refcount_btree.c xfs_refcountbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 3386398652014444544 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| CAPPED_DATA | 0 | mp->m_sb.sb_agcount | 1 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 6771264632830390272 |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| DATA_SOURCE | 1 | tp | $0 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | global &dax_srcu |
fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_mem_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | ops | 3279295782379569152 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | &rr->lock |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ops | 5493477311123169280 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_init_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ops | 3248889349463830528 |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| UNITS | 0 | mp | unit_byte |
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_btree_mem.c xfbtree_dup_cursor() -> xfs_btree_alloc_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->alloc_block | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->broot_realloc | 0,205008320403959808,1877799289265856512,4624930743969431552 |
| PARAM_VALUE | 2 | ops->buf_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->buf_ops->name | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->buf_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->buf_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->cmp_key_with_cur | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->cmp_two_keys | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->dup_cursor | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->free_block | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->geom_flags | 0-3 |
| PARAM_VALUE | 2 | ops->get_dmaxrecs | 0,3492848713905295360,3901288766128197632,8955386628324601856 |
| PARAM_VALUE | 2 | ops->get_maxrecs | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->get_minrecs | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->init_high_key_from_rec | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ops->init_key_from_rec | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->init_ptr_from_cur | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ops->init_rec_from_cur | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->key_len | 4,8,40 |
| PARAM_VALUE | 2 | ops->keys_contiguous | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ops->keys_inorder | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->lru_refs | 1-3 |
| PARAM_VALUE | 2 | ops->name | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ops->ptr_len | 4,8 |
| PARAM_VALUE | 2 | ops->rec_len | 8,12,16,24 |
| PARAM_VALUE | 2 | ops->recs_inorder | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->set_root | 0,135209176560377856,500508166552113152,524490925254889472,5551055571258630144,6116626257139232768,9044852301428047872 |
| PARAM_VALUE | 2 | ops->sick_mask | 0,8,16,32,64,128,256,512 |
| PARAM_VALUE | 2 | ops->statoff | 76,91,106,121,136,151,166,181,196,211,226,241 |
| PARAM_VALUE | 2 | ops->type | 0-2 |
| PARAM_VALUE | 2 | ops->update_cursor | 0,2872932845050183680 |
| STR_LEN | 0 | mp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used | |
| NO_OVERFLOW_SIMPLE | 4 | cache->object_size | |
| NO_OVERFLOW_SIMPLE | 4 | cache->sheaf_capacity | |
| UNITS | 0 | mp | unit_byte |