Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/netfs/buffered_read.c netfs_read_to_pagecache() -> netfs_cancel_read()
| 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->cache_resources.ops->end_operation | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 2 |
| PARAM_VALUE | 0 | subreq->start | 0-18446744073709551614 |
| PARAM_VALUE | 1 | error | 0 |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| CAPPED_DATA | 0 | subreq->start | 1 |
| 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->len | 0-17592186040320 |
| 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 |
| USER_DATA | 0 | subreq->start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/buffered_read.c netfs_read_to_pagecache() -> netfs_cancel_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->len | 1-u64max |
| 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->cache_resources.ops->end_operation | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 2 |
| PARAM_VALUE | 0 | subreq->start | 0-18446744073709551614 |
| PARAM_VALUE | 1 | error | (-512),(-2) |
| CAPPED_DATA | 0 | subreq->len | 1 |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| CAPPED_DATA | 0 | subreq->start | 1 |
| 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->len | 1-17592186040320[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 |
| USER_DATA | 0 | subreq->start | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/buffered_read.c netfs_read_to_pagecache() -> netfs_cancel_read()
| 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->cache_resources.cache_priv->state | 0-4294967295 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.cache_priv->volume->cache->state | 0-4294967295 |
| PARAM_VALUE | 0 | subreq->rreq->cache_resources.ops->end_operation | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 1,3-4 |
| PARAM_VALUE | 1 | error | 0 |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| 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->len | 0-17592186040320 |
| 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 |
| USER_DATA | 0 | subreq->start | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/buffered_read.c netfs_read_to_pagecache() -> netfs_cancel_read()
| 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.head | 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->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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 1-4 |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| CAPPED_DATA | 1 | error | 1 |
| DATA_SOURCE | 0 | subreq | r netfs_alloc_subrequest |
| FUZZY_MAX | 0 | subreq->source | 1 |
| 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->len | 0-17592186040320 |
| 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 |
| USER_DATA | 0 | subreq->start | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/direct_read.c netfs_dispatch_unbuffered_reads() -> netfs_cancel_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subreq | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->len | 1-9223372036854775807 |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 2 |
| PARAM_VALUE | 1 | error | (-512),(-2) |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| DATA_SOURCE | 0 | subreq | r netfs_alloc_subrequest |
| NOSPEC | 0 | subreq->len | |
| NOSPEC | 0 | subreq->rreq->buffer.iter.count | |
| NOSPEC | 0 | subreq->start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | subreq->len | 1-1000000000 |
| 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 |
| USER_DATA | 0 | subreq->start | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &cinode->lock_sem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/netfs/read_single.c netfs_single_dispatch_read() -> netfs_cancel_read()
| 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->cache_resources.ops->end_operation | 4096-ptr_max |
| 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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->rreq_link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subreq->source | 1-2,4 |
| PARAM_VALUE | 0 | subreq->start | 0 |
| PARAM_VALUE | 1 | error | (-512),(-5),(-2) |
| CAPPED_DATA | 0 | subreq->rreq->gfp | 1 |
| DATA_SOURCE | 0 | subreq | r netfs_alloc_subrequest |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->direct_bv_count | |
| NO_OVERFLOW_SIMPLE | 0 | subreq->rreq->i_size | |
| HALF_LOCKED2 | &dvnode->validate_lock | ||
| HALF_LOCKED2 | &vnode->validate_lock | ||
| TYPE_LOCK | (struct afs_vnode)->validate_lock |