Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

fs/orangefs/inode.c orangefs_read_folio() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes u32max
PARAM_VALUE 1 i 5530779319857840128
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mapping->invalidate_lock

fs/dax.c dax_iomap_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->data_source 0
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 1-u64max[c]
USER_DATA 1 i->count 1-s32max
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ntfs3/frecord.c ni_query_ads() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-1000000000
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 1 i $2
NOSPEC 0 bytes
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 0-1000000000
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/inode.c btrfs_encoded_read() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-1000000000[c]
UNITS 0 bytes unit_byte

mm/shmem.c shmem_file_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->iter_type 2-255
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-14442450941[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/cachefiles/io.c cachefiles_read() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-1000000000
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 0 bytes r iov_iter_count
DATA_SOURCE 1 i $2
PARAM_COMPARE 0 bytes == $1->count
PARAM_COMPARE 1 i->count == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 0-1000000000
HALF_LOCKED2 &dvnode->validate_lock
HALF_LOCKED2 &vnode->validate_lock
TYPE_LOCK (struct afs_vnode)->validate_lock

fs/cachefiles/io.c cachefiles_read() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-999999999
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 1 i $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dvnode->validate_lock
HALF_LOCKED2 &vnode->validate_lock
TYPE_LOCK (struct afs_vnode)->validate_lock

fs/proc/vmcore.c read_from_oldmem() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 1 i $0
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 2-4096[c]
USER_DATA 1 i->count 1-9223372036854775806[c]
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &vmcore_cb_srcu
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

io_uring/mock_file.c io_mock_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-1000000000
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 0 bytes r iov_iter_count
DATA_SOURCE 1 i $1
PARAM_COMPARE 0 bytes == $1->count
PARAM_COMPARE 0 bytes == $1->count
NOSPEC 0 bytes
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-1000000000
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/tap.c __tun_vnet_hdr_put() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-999999990,4294967286-u32max
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->__iov 4096-u64max
PARAM_VALUE 1 i->bvec 4096-u64max
PARAM_VALUE 1 i->folioq 1-u64max
PARAM_VALUE 1 i->kvec 4096-u64max
DATA_SOURCE 1 i $2
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 i->count 0-u64max
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte

fs/netfs/read_collect.c netfs_clear_unread() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-1000000000
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->folioq 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 0-1000000000

fs/netfs/buffered_read.c netfs_issue_read() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->count 0-18446744073709551614
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 0-17592186040320[c]
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/smb/client/smb2ops.c receive_encrypted_read() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-s32max
PARAM_VALUE 1 i 8693320749376053248
PARAM_VALUE 1 i->__iov 4096-u64max
PARAM_VALUE 1 i->bvec 4096-u64max
PARAM_VALUE 1 i->folioq 1-u64max
CAPPED_DATA 0 bytes 1
NOCHECK_CALL
UNITS 0 bytes unit_byte

fs/hugetlbfs/inode.c hugetlbfs_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 1 i $1
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &pool->lock

drivers/net/tun.c __tun_vnet_hdr_put() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-999999990,4294967272-u32max
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->__iov 4096-u64max
PARAM_VALUE 1 i->bvec 4096-u64max
PARAM_VALUE 1 i->folioq 1-u64max
PARAM_VALUE 1 i->kvec 4096-u64max
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $2
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 i->count 0-u64max
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte

fs/ntfs3/file.c ntfs_file_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-u64max
PARAM_VALUE 1 i 4096-ptr_max
PARAM_VALUE 1 i->folioq 4096-ptr_max
PARAM_VALUE 1 i->iov_offset 1-9223372036854775806
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 i->iov_offset 1-9223372036854775806[c]
UNITS 0 bytes unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ntfs3/file.c ntfs_file_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-u64max
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
BIT_INFO 0 bytes 0x0,0x7fffffffffffffff
NOSPEC 0 bytes
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 1-u64max[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

drivers/target/target_core_file.c fd_do_rw() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-s32max
PARAM_VALUE 1 i 5343612192924618752
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bytes unit_byte
HALF_LOCKED2 &dev->caw_sem
HALF_LOCKED2 &pool->lock

fs/proc/kcore.c read_kcore_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &page_offline_rwsem
HALF_LOCKED2 &pool->lock

fs/proc/kcore.c read_kcore_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &page_offline_rwsem
HALF_LOCKED2 &pool->lock

fs/proc/kcore.c read_kcore_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &page_offline_rwsem
HALF_LOCKED2 &pool->lock

fs/proc/kcore.c read_kcore_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &page_offline_rwsem
HALF_LOCKED2 &pool->lock

fs/proc/kcore.c read_kcore_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
NOSPEC 0 bytes
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096[c]
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
LOCK2 global &page_offline_rwsem
HALF_LOCKED2 &pool->lock

drivers/char/mem.c read_iter_zero() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-4096
PARAM_VALUE 1 i 4096-ptr_max
DATA_SOURCE 1 i $1
FUZZY_MAX 0 bytes 4096
BIT_INFO 0 bytes 0x0,0x3fffffff
NOSPEC 0 bytes
NOSPEC 0 bytes
NOSPEC 1 i->count
HARD_MAX 0 bytes 4096
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 0-4096
USER_DATA 1 i->count 1-1000000000
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &pool->lock

fs/iomap/direct-io.c iomap_dio_hole_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 1-1000000000[c]
USER_DATA 1 i->count 0-18446744073709551614
USER_DATA 1 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &pool->lock

fs/ceph/file.c ceph_aio_complete_req() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-s32max
PARAM_VALUE 1 i 3260517727918510080
PARAM_VALUE 1 i->__iov 4096-u64max
PARAM_VALUE 1 i->bvec 4096-u64max
PARAM_VALUE 1 i->folioq 1-u64max
CAPPED_DATA 0 bytes 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 2-2147483645[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/ceph/file.c ceph_direct_read_write() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 i 304226021779845120
PARAM_VALUE 1 i->__iov 4096-u64max
PARAM_VALUE 1 i->bvec 4096-u64max
PARAM_VALUE 1 i->folioq 1-u64max
CAPPED_DATA 0 bytes 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bytes 2-1999999999[c]
UNITS 0 bytes unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ceph/file.c ceph_read_iter() -> iov_iter_zero()

Type Parameter Key Value
PARAM_VALUE 0 bytes 1-1000000000
PARAM_VALUE 1 i 4096-ptr_max
CAPPED_DATA 0 bytes 1
CAPPED_DATA 0 bytes 1
DATA_SOURCE 1 i $1
NOSPEC 1 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bytes 1-1000000000[c]
USER_DATA 1 i->count 0-u64max
USER_DATA 1 i->iov_offset 0-u64max[c]
UNITS 0 bytes unit_byte
HALF_LOCKED2 &pool->lock