Defined in 1 files as a function:
Referenced in 7 files:
- fs/buffer.c, line 2620
- fs/ext2/balloc.c, line 148
- fs/gfs2/quota.c, line 781
- fs/jbd2/journal.c, line 1466
- fs/ocfs2/super.c, line 1712
- fs/udf/inode.c, line 1272
- fs/ufs/balloc.c, line 291
Smatch caller information:
fs/ocfs2/super.c ocfs2_get_sector() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | r sb_getblk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/udf/inode.c udf_bread() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 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/ufs/balloc.c ufs_change_blocknr() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| BUF_SIZE | 0 | bh | (-1),1-s32max |
| BUF_SIZE | 0 | bh | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/jbd2/journal.c journal_load_superblock() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | r getblk_unmovable |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/gfs2/quota.c gfs2_write_buf_to_page() -> bh_read()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &ip->i_inode.i_rwsem | ||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext2/balloc.c read_block_bitmap() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 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 | |||
| HALF_LOCKED2 | &ei->truncate_mutex |
fs/buffer.c block_truncate_page() -> bh_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 1 | op_flags | 0 |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |