Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/netfs/write_retry.c netfs_retry_write_stream() -> (struct netfs_io_stream)->prepare_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->len | 1-u64max |
| PARAM_VALUE | 0 | subreq->rreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->write | 4096-ptr_max |
| CAPPED_DATA | 0 | subreq->len | 1 |
| CAPPED_DATA | 0 | &subreq->rreq_link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/netfs/write_retry.c netfs_retry_write_stream() -> (struct netfs_io_stream)->prepare_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->ref.refs.counter | 2 |
| PARAM_VALUE | 0 | subreq->retry_count | 1 |
| PARAM_VALUE | 0 | subreq->rreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->netfs_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | subreq | r netfs_alloc_subrequest |
| NOSPEC | 0 | subreq->rreq->buffer.iter.count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | subreq->rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | subreq->rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | subreq->rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | subreq->rreq->len | 0-17592186040320 |
| USER_DATA | 0 | subreq->rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | subreq->rreq->submitted | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &pool->lock |
fs/netfs/write_issue.c netfs_prepare_write() -> (struct netfs_io_stream)->prepare_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->ref.refs.counter | 2 |
| PARAM_VALUE | 0 | subreq->rreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | subreq->rreq->netfs_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->stream_nr | 0-1 |
| BUF_SIZE | 0 | subreq->rreq | (-1)-s32max |
| DATA_SOURCE | 0 | subreq | r netfs_alloc_subrequest |
| NOSPEC | 0 | subreq->io_iter.iov_offset | |
| NOSPEC | 0 | subreq->rreq->buffer.iter.count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | subreq->io_iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | subreq->rreq->buffer.iter.count | 1-1000000000 |
| USER_DATA | 0 | subreq->rreq->buffer.iter.iov_offset | 0-u64max[c] |
| USER_DATA | 0 | subreq->rreq->direct_bv_count | 1-488284[c][u] |
| USER_DATA | 0 | subreq->rreq->len | 0-17592186040320 |
| USER_DATA | 0 | subreq->rreq->start | 0-18446744073709551614 |
| USER_DATA | 0 | subreq->rreq->submitted | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size |
fs/netfs/direct_write.c netfs_unbuffered_write() -> (struct netfs_io_stream)->prepare_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->error | (-11) |
| PARAM_VALUE | 0 | subreq->rreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->buffer.next_head_slot | 0-30 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->end_operation | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->expand_readahead | 0 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->issue_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->prepare_write_subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->query_occupancy | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->transferred | 0 |
| NOSPEC | 0 | subreq->io_iter.iov_offset | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | subreq->io_iter.iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |