Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/netfs/write_collect.c netfs_write_collection_worker() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/netfs/misc.c netfs_collect_in_app() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| DATA_SOURCE | 0 | rreq | $0 |
| NOSPEC | 0 | rreq->buffer.iter.count | |
| NOSPEC | 0 | rreq->direct_bv_count | |
| NOSPEC | 0 | rreq->iocb->ki_pos | |
| NOSPEC | 0 | rreq->len | |
| NOSPEC | 0 | rreq->start | |
| NOSPEC | 0 | rreq->submitted | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | rreq->iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 0 | rreq->len | 0-17592186040320 |
| USER_DATA | 0 | rreq->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 0 | rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | rreq->submitted | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_size |
fs/netfs/misc.c netfs_wait_for_in_progress() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| DATA_SOURCE | 0 | rreq | $0 |
| NOSPEC | 0 | rreq->buffer.iter.count | |
| NOSPEC | 0 | rreq->direct_bv_count | |
| NOSPEC | 0 | rreq->iocb->ki_pos | |
| NOSPEC | 0 | rreq->len | |
| NOSPEC | 0 | rreq->start | |
| NOSPEC | 0 | rreq->submitted | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | rreq->iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 0 | rreq->len | 0-17592186040320 |
| USER_DATA | 0 | rreq->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 0 | rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | rreq->submitted | 1-18446744073709551612[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/misc.c netfs_wait_for_in_progress() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| BUF_SIZE | 0 | rreq | (-1)-s32max |
| DATA_SOURCE | 0 | rreq | $0 |
| NOSPEC | 0 | rreq->buffer.iter.count | |
| NOSPEC | 0 | rreq->direct_bv_count | |
| NOSPEC | 0 | rreq->iocb->ki_pos | |
| NOSPEC | 0 | rreq->len | |
| NOSPEC | 0 | rreq->start | |
| NOSPEC | 0 | rreq->submitted | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | rreq->iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 0 | rreq->len | 0-17592186040320 |
| USER_DATA | 0 | rreq->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 0 | rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | rreq->submitted | 1-18446744073709551612[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/misc.c netfs_wait_for_pause() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| DATA_SOURCE | 0 | rreq | $0 |
| NOSPEC | 0 | rreq->buffer.iter.count | |
| NOSPEC | 0 | rreq->iocb->ki_pos | |
| NOSPEC | 0 | rreq->len | |
| NOSPEC | 0 | rreq->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | rreq->iocb->ki_pos | 0-11294967294 |
| USER_DATA | 0 | rreq->len | 0-17592186040320 |
| USER_DATA | 0 | rreq->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 0 | rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | rreq->submitted | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_size |
fs/netfs/misc.c netfs_wait_for_pause() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| DATA_SOURCE | 0 | rreq | $0 |
| NOSPEC | 0 | rreq->buffer.iter.count | |
| NOSPEC | 0 | rreq->iocb->ki_pos | |
| NOSPEC | 0 | rreq->len | |
| NOSPEC | 0 | rreq->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | rreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | rreq->iocb->ki_pos | 0-11294967294 |
| USER_DATA | 0 | rreq->len | 0-17592186040320 |
| USER_DATA | 0 | rreq->mapping->writeback_index | 0-524287[c] |
| USER_DATA | 0 | rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | rreq->submitted | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | rreq->inode->i_size |
fs/netfs/read_collect.c netfs_read_collection_worker() -> netfs_check_rreq_in_progress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rreq | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |