Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/buffer.c, line 2927
- fs/ext4/extents.c, line 568
- fs/ext4/indirect.c, line 172
- fs/ext4/resize.c, line 1301
- include/linux/buffer_head.h
Smatch caller information:
fs/ocfs2/super.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ext4/extents.c __read_extent_tree_block() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| 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() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| 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/udf/inode.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ufs/balloc.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1),1-s32max |
| BUF_SIZE | 0 | bh | (-1),1-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/gfs2/meta_io.c bh_read_nowait() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/jbd2/journal.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/gfs2/quota.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| 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/jbd2/recovery.c bh_read_nowait() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext2/balloc.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| CAPPED_DATA | 0 | bh | 1 |
| DATA_SOURCE | 0 | bh | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ei->truncate_mutex |
fs/ocfs2/aops.c bh_read_nowait() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/ext4/resize.c ext4_get_bitmap() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| 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/buffer.c bh_read() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/buffer.c bh_read_nowait() -> bh_uptodate_or_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bh | $0 |