Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/xfs/libxfs/xfs_dir2_block.c
- fs/xfs/libxfs/xfs_exchmaps.c, line 474
- fs/xfs/scrub/dir.c, line 485
- fs/xfs/scrub/readdir.c, line 103
- fs/xfs/xfs_dir2_readdir.c, line 160
Smatch caller information:
fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_dir_to_sf() -> xfs_dir3_block_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_df.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 1 | dp->i_disk_size | 0-4294967295 |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | bpp | 5355276079319711744 |
| DATA_SOURCE | 0 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_dir2_readdir.c xfs_dir2_block_getdents() -> xfs_dir3_block_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 0 |
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 3 | bpp | 7449581492873687040 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dp | unit_byte |
| UNITS | 2 | owner | unit_byte |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_block_addname() -> xfs_dir3_block_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | bpp | 3329222307422785536 |
| 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 | owner | unit_byte |
fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_block_lookup_int() -> xfs_dir3_block_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | bpp | 3262295686147444736 |
| 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 | owner | unit_byte |
fs/xfs/scrub/dir.c xchk_directory_data_bestfree() -> xfs_dir3_block_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dp | 4096-ptr_max |
| PARAM_VALUE | 1 | dp->i_disk_size | 6-s64max |
| PARAM_VALUE | 1 | dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 3 | bpp | 8140555324538556416 |
fs/xfs/scrub/readdir.c xchk_dir_walk_block() -> xfs_dir3_block_read()
| 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 | 3 | bpp | 4885631991391748096 |
| DATA_SOURCE | 1 | dp | $1 |