Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/gfs2/log.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/jbd2/transaction.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_private->b_jcount | s32min-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| BUF_SIZE | 0 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/jbd2/commit.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ext4/move_extent.c wait_on_buffer() -> __wait_on_buffer()
| 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 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/nilfs2/page.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| HALF_LOCKED2 | &btree->b_sem |
fs/affs/file.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ntfs3/index.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/nilfs2/gcinode.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/ext4/inode.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL |
fs/ext4/mmp.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_data | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/hpfs/buffer.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->s_fs_info->hpfs_mutex | ||
| HALF_LOCKED2 | &sbi->hpfs_mutex |
fs/nilfs2/btree.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| LOCK2 | &btree->b_sem | ||
| TYPE_LOCK | (struct nilfs_bmap)->b_sem |
fs/gfs2/meta_io.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/isofs/compress.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | global &zisofs_zlib_lock |
fs/jbd2/journal.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/jbd2/checkpoint.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bh | unit_byte |
| LOCK2 | &journal->j_checkpoint_mutex | ||
| TYPE_LOCK | (struct journal_s)->j_checkpoint_mutex |
fs/jbd2/recovery.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL |
fs/ext4/ext4_jbd2.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL |
fs/ocfs2/aops.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ufs/util.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sbi->s_lock | ||
| HALF_LOCKED2 | &ufsi->truncate_mutex |
fs/buffer.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bh->b_folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_blocknr | |
| NO_OVERFLOW_SIMPLE | 0 | bh->b_folio->index | |
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size | |
| USER_PTR | 0 | bh->b_data |
fs/fat/misc.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sbi->fat_lock |
fs/exfat/misc.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->s_lock | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ntfs3/fsntfs.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL |
fs/ext4/balloc.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL |
fs/ext4/namei.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nilfs2/mdt.c wait_on_buffer() -> __wait_on_buffer()
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/ocfs2/buffer_head_io.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/super.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bh->b_folio->mapping->host->i_sb->s_cop->set_context | 0,67,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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bh->b_size |
fs/ntfs3/super.c wait_on_buffer() -> __wait_on_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bh | 4096-ptr_max |
| DATA_SOURCE | 0 | bh | $0 |
| NOCHECK_CALL |