Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- block/bio-integrity.c, line 393
- block/blk-map.c, line 511
- fs/btrfs/direct-io.c, line 873
- fs/direct-io.c, line 1117
- fs/ext2/file.c, line 119
- fs/ext4/file.c
- fs/f2fs/file.c, line 4805
- fs/ntfs3/file.c, line 59
- lib/iov_iter.c, line 866
Smatch caller information:
block/bio-integrity.c bio_integrity_map_user() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 2053489065843576832,2054009744978411520 |
| DATA_SOURCE | 0 | i | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext2/file.c ext2_dio_write_iter() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 0 | i->count | 0-18446744073709551614 |
| DATA_SOURCE | 0 | i | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/direct-io.c __blockdev_direct_IO() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| DATA_SOURCE | 0 | i | $3 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 0-u64max |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/direct-io.c check_direct_IO() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | i | $1 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 1-1000000000 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &pool->lock |
block/blk-map.c blk_rq_map_user_iov() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 192091742437986304,994473194779484160,1619417322542931968,6944560901205405696 |
| BUF_SIZE | 0 | i | (-1)-0,40 |
| BUF_SIZE | 0 | i | (-1)-0,40 |
| DATA_SOURCE | 0 | i | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 0-s32max[c] |
fs/f2fs/file.c f2fs_should_use_dio() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| DATA_SOURCE | 0 | i | $2 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 1-1000000000 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/ext4/file.c ext4_should_use_dio() -> iov_iter_alignment()
| 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 | |||
| USER_DATA | 0 | i->count | 0-18446744073709551614 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/file.c ext4_unaligned_io() -> iov_iter_alignment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i | 4096-ptr_max |
| PARAM_VALUE | 0 | i->count | 0-18446744073709551614 |
| DATA_SOURCE | 0 | i | $1 |
| NOSPEC | 0 | i->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | i->count | 1-s32max[c] |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/file.c ntfs_should_use_dio() -> iov_iter_alignment()
| 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 | |||
| USER_DATA | 0 | i->count | 1-1000000000 |
| USER_DATA | 0 | i->iov_offset | 0-u64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |