Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/cachefiles/io.c __cachefiles_write() -> vfs_iocb_iter_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb->ki_filp | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb->ki_flags | 393216 |
| PARAM_VALUE | 2 | iter | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $1 |
| DATA_SOURCE | 2 | iter | $3 |
| NOSPEC | 2 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | iocb->ki_pos | s64min-(-2),0-s64max[c] |
| USER_DATA | 2 | iter->count | 0-18446744073709551614 |
| USER_DATA | 2 | iter->iov_offset | 0-u64max[c] |
fs/nfsd/vfs.c nfsd_direct_write() -> vfs_iocb_iter_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 5999424344117301248 |
| DATA_SOURCE | 1 | iocb | $5 |
fs/nfsd/vfs.c nfsd_vfs_write() -> vfs_iocb_iter_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 5999424344117301248 |
| PARAM_VALUE | 2 | iter | 8591669409924861952 |
fs/backing-file.c do_backing_file_write_iter() -> vfs_iocb_iter_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb->ki_complete | 7798411059803463680 |
| PARAM_VALUE | 2 | iter | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | file | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 2 | iter | $1 |
| BIT_INFO | 0 | file->f_mode | 0x1000000,0xffffffffffffffff |
| NOSPEC | 2 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 2 | iter->count | 0-18446744073709551614 |
| USER_DATA | 2 | iter->iov_offset | 0-u64max[c] |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |