Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/f2fs/file.c f2fs_file_read_iter() -> f2fs_should_use_dio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 1 | iocb | $0 |
| DATA_SOURCE | 2 | iter | $1 |
| PARAM_COMPARE | 0 | inode | == $1->ki_filp->f_inode |
| PARAM_COMPARE | 0 | inode | == $1->ki_filp->f_inode |
| NOSPEC | 1 | iocb->ki_pos | |
| NOSPEC | 2 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 1 | iocb->ki_pos | 0-13442450941 |
| USER_DATA | 2 | iter->count | 1-1000000000 |
| USER_DATA | 2 | iter->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
fs/f2fs/file.c f2fs_file_write_iter() -> f2fs_should_use_dio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flags | 0,4096-u32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb | 4096-ptr_max |
| PARAM_VALUE | 1 | iocb->ki_pos | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | iter | 4096-ptr_max |
| PARAM_VALUE | 2 | iter->count | 0-18446744073709551614 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| BUF_SIZE | 1 | iocb | (-1),48 |
| DATA_SOURCE | 1 | iocb | $0 |
| DATA_SOURCE | 2 | iter | $1 |
| PARAM_COMPARE | 0 | inode | == $1->ki_filp->f_inode |
| PARAM_COMPARE | 0 | inode | == $1->ki_filp->f_inode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | iocb->ki_flags | 0-s32max[c][u] |
| USER_DATA | 1 | iocb->ki_ioprio | 0-u16max |
| USER_DATA | 2 | iter->iov_offset | 0-u64max[c] |
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |