Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_bmap_btree.c, line 38
- fs/xfs/libxfs/xfs_btree.c, line 1324
- fs/xfs/libxfs/xfs_btree_mem.c, line 102
Smatch caller information:
fs/xfs/libxfs/xfs_btree.c xfs_btree_init_block_cur() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 1 | bp->b_lockref.count | 1-s32max |
| PARAM_VALUE | 1 | bp->b_map_count | 0-s32max |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->buf_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->get_maxrecs | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->get_minrecs | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->key_len | 4,8,40 |
| PARAM_VALUE | 2 | ops->ptr_len | 4,8 |
| PARAM_VALUE | 2 | ops->sick_mask | 0,8,16,32,64,128,256,512 |
| PARAM_VALUE | 2 | ops->type | 0-2 |
| CAPPED_DATA | 3 | level | 1 |
| DATA_SOURCE | 1 | bp | $1 |
| DATA_SOURCE | 3 | level | $2 |
| DATA_SOURCE | 4 | numrecs | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bp->b_map_count | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmbt_init_block() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | mp->m_filestream->lru_grp | 0-4294967295 |
| PARAM_VALUE | 0 | mp->m_sb.sb_agblocks | 1-u32max |
| PARAM_VALUE | 0 | mp->m_sb.sb_agcount | 1-u32max |
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 1 | bp->b_map_count | 0-s32max |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | ops | 2173030708748693504 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | numrecs | 0 |
| DATA_SOURCE | 1 | bp | $2 |
| DATA_SOURCE | 3 | level | $3 |
| DATA_SOURCE | 4 | numrecs | $4 |
| STR_LEN | 0 | mp | (-1) |
| STR_LEN | 0 | mp | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bp->b_map_count | |
| UNITS | 0 | mp | unit_byte |
fs/xfs/libxfs/xfs_btree_mem.c xfbtree_init_leaf_block() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_error | 0 |
| PARAM_VALUE | 1 | bp->b_flags | 0,2097152 |
| PARAM_VALUE | 1 | bp->b_lockref.count | 1-s32max |
| PARAM_VALUE | 1 | bp->b_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_sema.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 1 | bp->b_sema.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 1 | bp->b_sema.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 1 | bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | bp->b_sema.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 2 | ops | 1795251056040968192,2057565135026597888,3279295782379569152 |
| PARAM_VALUE | 2 | ops->buf_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->ptr_len | 8 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | numrecs | 0 |
| PARAM_VALUE | 5 | owner | 0 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 2 | ops | $2 |
| NOCHECK_CALL | |||
| UNITS | 0 | mp | unit_byte |
| LOCK2 | &*bpp->b_sema |
fs/xfs/libxfs/xfs_ag.c xfs_bnoroot_init() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 1 | bp->b_iowait.done | 0 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bp->b_lockref.count | 1 |
| PARAM_VALUE | 1 | bp->b_lru_ref.counter | 1 |
| PARAM_VALUE | 1 | bp->b_map_count | 1 |
| PARAM_VALUE | 1 | bp->b_ops | 725821516516683776 |
| PARAM_VALUE | 1 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | ops | 0 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | numrecs | 0 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | bp | $1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bp->b_map_count | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_btroot_init() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 1 | bp->b_iowait.done | 0 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bp->b_lockref.count | 1 |
| PARAM_VALUE | 1 | bp->b_lru_ref.counter | 1 |
| PARAM_VALUE | 1 | bp->b_map_count | 1 |
| PARAM_VALUE | 1 | bp->b_ops | 725821516516683776 |
| PARAM_VALUE | 1 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | ops | 0 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | numrecs | 0 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | bp | $1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bp->b_map_count | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_rmaproot_init() -> xfs_btree_init_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp | 4096-ptr_max |
| PARAM_VALUE | 0 | mp->m_ddev_targp->bt_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | bp | 4096-ptr_max |
| PARAM_VALUE | 1 | bp->b_flags | 0-270532608 |
| PARAM_VALUE | 1 | bp->b_iowait.done | 0 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_iowait.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | bp->b_lockref.count | 1 |
| PARAM_VALUE | 1 | bp->b_lru_ref.counter | 1 |
| PARAM_VALUE | 1 | bp->b_map_count | 1 |
| PARAM_VALUE | 1 | bp->b_ops | 725821516516683776 |
| PARAM_VALUE | 1 | bp->b_pin_count.counter | 0 |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 1 | bp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | ops | 0 |
| PARAM_VALUE | 3 | level | 0 |
| PARAM_VALUE | 4 | numrecs | 4 |
| DATA_SOURCE | 0 | mp | $0 |
| DATA_SOURCE | 1 | bp | $1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bp->b_map_count | |
| LOCK2 | &*bpp->b_sema | ||
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |