Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/xfs/libxfs/xfs_attr_leaf.c, line 554
- fs/xfs/libxfs/xfs_da_btree.c, line 440
- fs/xfs/libxfs/xfs_dir2_block.c, line 149
- fs/xfs/libxfs/xfs_dir2_data.c, line 457
- fs/xfs/libxfs/xfs_dir2_leaf.c
- fs/xfs/libxfs/xfs_dir2_node.c, line 225
- fs/xfs/scrub/dabtree.c, line 362
- fs/xfs/scrub/dir_repair.c, line 617
Smatch caller information:
fs/xfs/libxfs/xfs_dir2_node.c __xfs_dir3_free_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0-1 |
| PARAM_VALUE | 4 | bpp | 3312744092171644928,3575268047369428992,5412434205784502272,7060429550432006144,7884524295963590656,7909545626842816512,8508063257132343296 |
| PARAM_VALUE | 4 | *bpp | 0,4096-ptr_max |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 2996462062984204288 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $3 |
| DATA_SOURCE | 3 | flags | $4 |
| DATA_SOURCE | 4 | bpp | $5 |
| STR_LEN | 0 | tp | (-1),5,8 |
| STR_LEN | 0 | tp | (-1),5,8 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dp->i_mount->m_sb_bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount->m_sb_bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount->m_sb_bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount->m_sb_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | bpp | 4096-ptr_max |
| PARAM_VALUE | 5 | whichfork | 1 |
| PARAM_VALUE | 6 | ops | 2348109553517068288 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $3 |
| DATA_SOURCE | 4 | bpp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_mountp->m_sb_bp->b_transp->t_rtx_res_used | |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
fs/xfs/libxfs/xfs_da_btree.c xfs_da3_node_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dp->i_mount->m_super->s_bdev->bd_holder_ops->sync | 8235259936313790464 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | bpp | 4096-ptr_max |
| PARAM_VALUE | 6 | ops | 124594178013147136 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $2 |
| DATA_SOURCE | 4 | bpp | $3 |
| DATA_SOURCE | 5 | whichfork | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | bno | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | dp->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 1 | dp->i_gdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 1 | dp->i_pdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 1 | dp->i_udquot->q_id | |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
fs/xfs/scrub/dir_repair.c xrep_dir_recover_dirblock() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_df.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 1 | dp->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 1 | dp->i_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | bpp | 535858862100135936 |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 0 |
| CAPPED_DATA | 2 | bno | 1 |
| DATA_SOURCE | 2 | bno | $2 |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | bpp | 2209473401039020032,3845925075518312448,7393393266050850816 |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 5374674744482988032 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $3 |
| DATA_SOURCE | 4 | bpp | $4 |
| STR_LEN | 0 | tp | (-1),5,8 |
| STR_LEN | 0 | tp | (-1),5,8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leafn_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp->m_quotainfo->qi_dqperchunk | 0-4294967295 |
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 2 | bno | 1-u32max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | bpp | 7369045710258151424 |
| PARAM_VALUE | 4 | *bpp | 0,4096-ptr_max |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 3485974199440592896 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $3 |
| DATA_SOURCE | 4 | bpp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir3_block_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount->m_dir_geo | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | bpp | 3262295686147444736,3329222307422785536,4885631991391748096,5355276079319711744,7449581492873687040,8140555324538556416 |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 8130666099431895040 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 4 | bpp | $3 |
| STR_LEN | 0 | tp | (-1),5,8 |
| STR_LEN | 0 | tp | (-1),5,8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| UNITS | 1 | dp | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/libxfs/xfs_dir2_data.c xfs_dir3_data_read() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | flags | 0-1 |
| PARAM_VALUE | 5 | whichfork | 0 |
| PARAM_VALUE | 6 | ops | 5744654065408303104 |
| CAPPED_DATA | 1 | dp | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | dp | $1 |
| DATA_SOURCE | 2 | bno | $3 |
| DATA_SOURCE | 3 | flags | $4 |
| DATA_SOURCE | 4 | bpp | $5 |
| STR_LEN | 0 | tp | (-1),5,8 |
| STR_LEN | 0 | tp | (-1),5,8 |
| HARD_MAX | 3 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tp->t_blk_res | |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/scrub/dabtree.c xchk_da_btree_block() -> xfs_da_read_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 1 |
| PARAM_VALUE | 4 | bpp | 4096-ptr_max |
| PARAM_VALUE | 4 | *bpp | 0 |
| PARAM_VALUE | 5 | whichfork | 0-1 |
| PARAM_VALUE | 6 | ops | 7543925114068135936 |
| DATA_SOURCE | 2 | bno | $2 |
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | bno | unit_array_size |