Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/netfs/write_issue.c netfs_advance_write() -> netfs_prepare_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->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
PARAM_VALUE 1 stream->avail 1
PARAM_VALUE 1 stream->construct 0
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->end_operation 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->issue_write 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->prepare_read 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->prepare_write 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->prepare_write_subreq 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->query_occupancy 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->read 4096-ptr_max
PARAM_VALUE 1 stream->construct->rreq->cache_resources.ops->write 4096-ptr_max
BUF_SIZE 0 wreq (-1)-s32max
BUF_SIZE 0 wreq (-1)-s32max
BUF_SIZE 1 stream (-1),96
BUF_SIZE 1 stream (-1),96
DATA_SOURCE 0 wreq $0
DATA_SOURCE 1 stream $1
DATA_SOURCE 2 start $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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->error (-4095)-(-1)
USER_DATA 1 stream->construct->io_iter.count 0-u64max
USER_DATA 1 stream->construct->io_iter.iov_offset 0-u64max[c]
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

fs/netfs/direct_write.c netfs_unbuffered_write() -> netfs_prepare_write()

Type Parameter Key Value
PARAM_VALUE 0 wreq 4096-ptr_max
PARAM_VALUE 0 wreq->io_streams 4096-ptr_max
PARAM_VALUE 0 wreq->netfs_ops->retry_request 0,8472728073334329344
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->active 1
PARAM_VALUE 1 stream->failed 1
PARAM_VALUE 1 stream->stream_nr 0-1
BUF_SIZE 0 wreq (-1),1-s32max
BUF_SIZE 0 wreq (-1),1-s32max
BUF_SIZE 1 stream 192
BUF_SIZE 1 stream 192
DATA_SOURCE 0 wreq $0
NOSPEC 1 stream->construct->io_iter.iov_offset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 wreq->buffer.iter.iov_offset 0-u64max[c]
USER_DATA 0 wreq->direct_bv_count 1-488284[c][u]
USER_DATA 0 wreq->len 0-1000000000
USER_DATA 1 stream->construct->io_iter.iov_offset 0-u64max[c]
USER_DATA 1 stream->submit_extendable_to 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 wreq->direct_bv_count
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
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock