Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/netfs/read_pgpriv2.c netfs_pgpriv2_copy_folio() -> netfs_advance_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer->head->orders | 0-255 |
| PARAM_VALUE | 0 | wreq->buffer.head | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->marks | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->marks2 | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->vec.i | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->vec.nr | 0-31 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->marks | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->marks2 | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->next | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->vec.i | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->vec.nr | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.iov_offset | 0-u32max |
| PARAM_VALUE | 0 | wreq->buffer.iter.nr_segs | 0-255 |
| PARAM_VALUE | 0 | wreq->buffer.iter.xarray_start | 0-255 |
| PARAM_VALUE | 0 | wreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->io_streams | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->stream_nr | 0-1 |
| BUF_SIZE | 1 | stream | 96 |
| DATA_SOURCE | 0 | wreq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/netfs/write_issue.c netfs_write_folio() -> netfs_advance_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer->head->orders | 0-255 |
| PARAM_VALUE | 0 | wreq->buffer.head | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->vec.nr | 0-31 |
| PARAM_VALUE | 0 | wreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->group | 0-853,855-u64max |
| PARAM_VALUE | 0 | wreq->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->io_streams | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| BUF_SIZE | 0 | wreq | (-1)-s32max |
| BUF_SIZE | 0 | wreq | (-1)-s32max |
| CAPPED_DATA | 0 | wreq->group | 1 |
| DATA_SOURCE | 0 | wreq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | wreq->iocb->ki_flags | 2-s32max[c][u] |
| USER_DATA | 0 | wreq->iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | wreq->iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 1 | stream->construct->io_iter.count | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | wreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | wreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | wreq->inode->i_size | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/write_issue.c netfs_write_folio_single() -> netfs_advance_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer->head->orders | 0-255 |
| PARAM_VALUE | 0 | wreq->buffer.head | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->marks | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->marks2 | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.head->vec.i | 0 |
| PARAM_VALUE | 0 | wreq->buffer.head->vec.nr | 0-31 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->marks | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->marks2 | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->next | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->vec.i | 0 |
| PARAM_VALUE | 0 | wreq->buffer.iter.folioq->vec.nr | 0 |
| PARAM_VALUE | 0 | wreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->cache_resources.ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | wreq->io_streams | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| BUF_SIZE | 0 | wreq | (-1),1-s32max |
| BUF_SIZE | 0 | wreq | (-1),1-s32max |
| DATA_SOURCE | 0 | wreq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wreq->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | wreq->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | wreq->inode->i_size | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &dvnode->validate_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &vnode->validate_lock | ||
| TYPE_LOCK | (struct afs_vnode)->validate_lock |