Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 22 files:
- fs/adfs/file.c, line 30
- fs/affs/file.c, line 1006
- fs/bfs/file.c, line 29
- fs/ecryptfs/file.c, line 430
- fs/ext2/file.c, line 181
- fs/fat/file.c, line 208
- fs/hfs/inode.c, line 719
- fs/hfsplus/inode.c, line 460
- fs/hostfs/hostfs_kern.c, line 384
- fs/hpfs/file.c, line 263
- fs/jffs2/file.c, line 58
- fs/jfs/file.c, line 149
- fs/minix/file.c, line 20
- fs/nilfs2/file.c, line 167
- fs/omfs/file.c, line 335
- fs/orangefs/file.c, line 372
- fs/ramfs/file-mmu.c, line 43
- fs/ramfs/file-nommu.c, line 44
- fs/ubifs/file.c, line 1440
- fs/ufs/file.c, line 41
- fs/vboxsf/file.c, line 215
- mm/filemap.c, line 4524
Smatch caller information:
fs/orangefs/file.c orangefs_file_write_iter() -> generic_file_write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| BUF_SIZE | 0 | iocb | (-1),48 |
| BUF_SIZE | 0 | iocb | (-1),48 |
| CAPPED_DATA | 0 | iocb->ki_pos | 1 |
| DATA_SOURCE | 0 | iocb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | iocb->ki_pos | s64min-(-2),0-s64max[c] |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
fs/ext2/file.c ext2_file_write_iter() -> generic_file_write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| BUF_SIZE | 0 | iocb | (-1),48 |
| BUF_SIZE | 0 | iocb | (-1),48 |
| DATA_SOURCE | 0 | iocb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| BIT_INFO | 0 | iocb->ki_flags | 0x0,0x7ffdffff |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
fs/nilfs2/file.c nilfs_file_write_iter() -> generic_file_write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| BUF_SIZE | 0 | iocb | (-1),48 |
| BUF_SIZE | 0 | iocb | (-1),48 |
| DATA_SOURCE | 0 | iocb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| BIT_INFO | 0 | iocb->ki_flags | 0x0,0x7ffdffff |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
fs/ubifs/file.c ubifs_write_iter() -> generic_file_write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| BUF_SIZE | 0 | iocb | (-1),48 |
| BUF_SIZE | 0 | iocb | (-1),48 |
| DATA_SOURCE | 0 | iocb | $0 |
| DATA_SOURCE | 1 | from | $1 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | iocb->ki_pos | s64min-(-2),0-s64max |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/block/zloop.c zloop_do_rw() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_complete | 8459132655968817152 |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_ioprio | 0 |
| PARAM_VALUE | 0 | iocb->ki_pos | s64min-(-512),0,512-s64max |
| PARAM_VALUE | 1 | from | 4512932090484486144 |
| PARAM_VALUE | 1 | from->iov_offset | 0-u32max |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &zone->lock |
fs/splice.c iter_file_splice_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 7197278420156661760 |
| PARAM_VALUE | 1 | from | 378210617204011008 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_pos | 0-1000000000 |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/aio.c aio_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_complete | 683869007495086080 |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp->f_op->write_iter | 1-u64max |
| PARAM_VALUE | 0 | iocb->ki_flags | 0,262144-s32max |
| PARAM_VALUE | 0 | iocb->ki_pos | 0-1000000000 |
| PARAM_VALUE | 0 | iocb->ki_write_stream | 0 |
| PARAM_VALUE | 0 | iocb->private | 0 |
| PARAM_VALUE | 1 | from | 7965983928270811136 |
| DATA_SOURCE | 0 | iocb | $0 |
| BIT_INFO | 0 | iocb->ki_flags | 0x40000,0x7fffffff |
| USER_DATA | 0 | iocb->ki_flags | 0,262144-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 0 | iocb->ki_pos | 0-1000000000 |
fs/read_write.c __kernel_write_iter() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 2990504705652162560 |
| PARAM_VALUE | 1 | from | 3618802826294763520 |
| DATA_SOURCE | 1 | from | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/read_write.c do_iter_readv_writev() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 8928323583060017152 |
| PARAM_VALUE | 0 | iocb->ki_pos | 0-1000000000 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| DATA_SOURCE | 1 | from | $1 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_pos | 0-1000000000 |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
fs/read_write.c new_sync_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 2851296040204849152 |
| PARAM_VALUE | 0 | iocb->ki_pos | 0-1000000000 |
| PARAM_VALUE | 1 | from | 1721654642188869632 |
| USER_DATA | 0 | iocb->ki_pos | 0-1000000000 |
fs/read_write.c vfs_iocb_iter_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_pos | 0-1000000000 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| DATA_SOURCE | 0 | iocb | $1 |
| DATA_SOURCE | 1 | from | $2 |
| NOSPEC | 1 | from->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 0 | iocb->ki_pos | 0-1000000000[c] |
| USER_DATA | 1 | from->count | 0-18446744073709551614 |
| USER_DATA | 1 | from->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
drivers/block/loop.c lo_rw_aio() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_complete | 0,8446262464815783936 |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_flags | 0,131072 |
| PARAM_VALUE | 1 | from | 4986616275652591616 |
| PARAM_VALUE | 1 | from->iov_offset | 0-u32max |
| LOCK2 | &pool->lock |
drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_pwrite() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 603693436218933248 |
| PARAM_VALUE | 0 | iocb->ki_pos | s64min-(-2),0-s64max |
| PARAM_VALUE | 1 | from | 8617020172108414976 |
| USER_DATA | 0 | iocb->ki_pos | s64min-(-2),0-s64max[u] |
drivers/target/target_core_file.c fd_execute_rw_aio() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_complete | 6460172474054909952 |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_flags | 131072,131074 |
| PARAM_VALUE | 1 | from | 8990917934472527872 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |
io_uring/rw.c io_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_flags | 0,262144-s32max |
| BUF_SIZE | 0 | iocb | 48 |
| BIT_INFO | 0 | iocb->ki_flags | 0x40000,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/localio.c nfs_local_call_write() -> (struct file_operations)->write_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_flags | 0-s32max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/io-cmd-file.c nvmet_file_submit_bvec() -> nvmet_file_submit_bvec ptr call_iter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iocb | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 0 | iocb->ki_filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 5359588537460973568 |
| BUF_SIZE | 0 | iocb | 48 |
| MEM_ZERO | 0 | iocb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |