Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ext4/extents.c, line 570
- fs/ext4/ialloc.c, line 198
- fs/ext4/indirect.c, line 173
- fs/ext4/mmp.c, line 92
- fs/ext4/resize.c, line 1302
- fs/ext4/super.c, line 221
Smatch caller information:
fs/ext4/extents.c __read_extent_tree_block() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| PARAM_VALUE | 2 | end_io | 0 |
| PARAM_VALUE | 3 | simu_fail | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r sb_getblk_gfp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ei->i_data_sem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/indirect.c ext4_get_branch() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| PARAM_VALUE | 2 | end_io | 0 |
| PARAM_VALUE | 3 | simu_fail | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r sb_getblk |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/ialloc.c ext4_read_inode_bitmap() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 12288 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r sb_getblk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/mmp.c read_mmp_block() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 12288 |
| PARAM_VALUE | 2 | end_io | 0 |
| PARAM_VALUE | 3 | simu_fail | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
fs/ext4/resize.c ext4_get_bitmap() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| PARAM_VALUE | 2 | end_io | 0 |
| PARAM_VALUE | 3 | simu_fail | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r sb_getblk |
fs/ext4/super.c ext4_read_bh_lock() -> ext4_read_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0,4096,12288 |
| PARAM_VALUE | 2 | end_io | 0 |
| PARAM_VALUE | 3 | simu_fail | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $0 |
| DATA_SOURCE | 1 | op_flags | $1 |
| NOSPEC | 0 | bh->b_blocknr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bh->b_blocknr | 0-576460756598390781,18446744069414584321-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |