Defined in 1 files as a function:
Referenced in 6 files:
- block/fops.c
- fs/ceph/file.c, line 156
- fs/fuse/file.c, line 2789
- fs/iomap/direct-io.c, line 590
- fs/xfs/xfs_file.c, line 433
- include/linux/uio.h, line 356
Smatch caller information:
net/tls/tls_sw.c iov_iter_npages_cap() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 0 | i->count | 0-999999999 |
| PARAM_VALUE | 1 | count | 1-1999999999 |
| DATA_SOURCE | 0 | i | $0 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-999999999 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | count | 1-1999999999[c] |
| UNITS | 1 | count | unit_byte |
| HALF_LOCKED2 | sk |
fs/xfs/xfs_file.c xfs_file_write_zero_eof() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 0 | i->count | 0-18446744073709551614 |
| PARAM_VALUE | 1 | count | 0-1000000000 |
| DATA_SOURCE | 0 | i | $1 |
| DATA_SOURCE | 1 | count | $3 |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | count | 0-1000000000 |
block/fops.c blkdev_read_iter() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| DATA_SOURCE | 0 | i | $1 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-18446744073709551614 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| UNITS | 1 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
block/fops.c blkdev_write_iter() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | count | 0-1999999999 |
| DATA_SOURCE | 0 | i | $1 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-18446744073709551614 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | count | 0-1999999999[c] |
| UNITS | 1 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/iomap/direct-io.c iomap_dio_bio_iter() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-18446744073709551614[c] |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
fs/ceph/file.c iter_get_bvecs_alloc() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 0 | i->count | 0-1000000000 |
| PARAM_VALUE | 1 | count | 0-1000000000 |
| DATA_SOURCE | 0 | i | $0 |
| DATA_SOURCE | 1 | count | r iov_iter_count |
| NOSPEC | 0 | i->count | |
| NOSPEC | 1 | count | |
| NOSPEC | 1 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-1000000000[c] |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | count | 0-1000000000 |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/file.c fuse_direct_IO() -> iov_iter_reexpand()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 1 | count | 0-2000000000 |
| DATA_SOURCE | 0 | i | $1 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | i->count | 0-u64max |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| USER_DATA | 1 | count | 0-2000000000 |
| UNITS | 1 | count | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &iocb->ki_filp->f_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |