Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

net/rds/info.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1266357494456262696
DATA_SOURCE 0 i $0
RX_PATH

lib/iov_iter.c fault_in_iov_iter_readable() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
NOSPEC 0 i->iov_offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 0-18446744073709551614
USER_DATA 0 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &vi->i_rwsem

lib/iov_iter.c fault_in_iov_iter_writeable() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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 &pool->lock
HALF_LOCKED2 global &page_offline_rwsem

lib/iov_iter.c first_iovec_segment() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0-1
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 0-u64max
USER_DATA 0 i->iov_offset 0-u64max[c]

lib/iov_iter.c iov_iter_advance() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
BUF_SIZE 0 i (-1),40
BUF_SIZE 0 i (-1),40
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
NOSPEC 0 i->iov_offset
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i->count 0-u64max[c]
HOST_DATA 0 i->iov_offset 0-u64max[c]
USER_DATA 0 i->count 0-u64max
USER_DATA 0 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &cache_seg->gen_lock
HALF_LOCKED2 &cache_subtree->tree_lock
HALF_LOCKED2 &cmd->lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &nsock->tx_lock
HALF_LOCKED2 &queue->send_mutex
HALF_LOCKED2 &transport->recv_mutex
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

lib/iov_iter.c iov_iter_alignment() -> iter_is_ubuf()

Type Parameter Key Value
BUF_SIZE 0 i (-1)-0,40
BUF_SIZE 0 i (-1)-0,40
DATA_SOURCE 0 i $0
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

lib/iov_iter.c iov_iter_gap_alignment() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 192091742437986304,994473194779484160,1619417322542931968,6944560901205405696
PARAM_VALUE 0 i->iter_type 0-1
BUF_SIZE 0 i (-1)-0,40
BUF_SIZE 0 i (-1)-0,40
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 0-s32max[c]

lib/iov_iter.c iov_iter_npages() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
BUF_SIZE 0 i (-1),40
BUF_SIZE 0 i (-1),40
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
NOSPEC 0 i->iov_offset
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i->count 1-2151677951,18446744071562067970-u64max[c]
HOST_DATA 0 i->iov_offset 1-9223372036854775806[c]
USER_DATA 0 i->count 1-u64max
USER_DATA 0 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

lib/iov_iter.c iov_iter_restore() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0,3-255
DATA_SOURCE 0 i $0
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]

lib/iov_iter.c iov_iter_restore() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0-3
DATA_SOURCE 0 i $0
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]

lib/iov_iter.c iov_iter_revert() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0-4,7-255
BUF_SIZE 0 i (-1),40
BUF_SIZE 0 i (-1),40
CAPPED_DATA 0 i->iov_offset 1
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
NOSPEC 0 i->iov_offset
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i->count 2-4294963199[c]
HOST_DATA 0 i->iov_offset 1-2147479551[c]
USER_DATA 0 i->count 0-u64max
USER_DATA 0 i->iov_offset 0-2147479551[c]
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &epdata->lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &server->_srv_mutex
HALF_LOCKED2 &tls_ctx->tx_lock
HALF_LOCKED2 &transport->recv_mutex
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk
HALF_LOCKED2 sock->sk

lib/iov_iter.c iterate_and_advance2() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
BUF_SIZE 0 i (-1),24,40
BUF_SIZE 0 i (-1),24,40
DATA_SOURCE 0 i $0
STR_LEN 0 i (-1)-1010101
STR_LEN 0 i (-1)-1010101
NOSPEC 0 i->count
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i->count 0-s32max,18446744071562067970-u64max[c]
HOST_DATA 0 i->iov_offset 1-u32max[c]
USER_DATA 0 i->count 0-u64max
USER_DATA 0 i->iov_offset 0-u64max[c]
UNITS 0 i unit_byte
HALF_LOCKED2 global &page_offline_rwsem

lib/iov_iter.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
BUF_SIZE 0 i (-1),24,40
BUF_SIZE 0 i (-1),24,40
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 i->count 1-2151677951[c]
HOST_DATA 0 i->iov_offset 1-9223372036854775806[c]
USER_DATA 0 i->count 0-u64max
USER_DATA 0 i->iov_offset 0-u64max[c]
UNITS 0 i unit_byte

net/core/datagram.c iterate_and_advance2() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]

drivers/usb/gadget/legacy/inode.c ep_read_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
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]
LOCK2 &epdata->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ep_data)->lock

net/core/skbuff.c iterate_and_advance2() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING

fs/nfs/direct.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]

mm/shmem.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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

fs/read_write.c generic_atomic_write_valid() -> iter_is_ubuf()

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]
HALF_LOCKED2 &pool->lock

block/bio-integrity.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 2053489065843576832,2054009744978411520
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING

lib/tests/kunit_iov_iter.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 3048282000753262592,5160237283824492544,8463852778652590080,8677277146185875456,9014510593725669376
DATA_SOURCE 0 i $0

fs/direct-io.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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/fuse/dev.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
DATA_SOURCE 0 i $0
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]
HALF_LOCKED2 &pool->lock

block/blk-map.c user_backed_iter() -> iter_is_ubuf()

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 $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 0-s32max[c]

drivers/block/ublk_drv.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
DATA_SOURCE 0 i $0
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]
HALF_LOCKED2 &pool->lock

block/bio.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 0-u64max[c]
USER_DATA 0 i->iov_offset 0-u64max[c]

crypto/af_alg.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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 &vq->mutex
HALF_LOCKED2 sk

drivers/infiniband/hw/hfi1/file_ops.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]
HALF_LOCKED2 &pool->lock

io_uring/net.c io_bundle_nbufs() -> iter_is_ubuf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/netfs/direct_read.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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 &cinode->lock_sem
HALF_LOCKED2 &inode->i_rwsem

sound/core/pcm_native.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]
HALF_LOCKED2 &pool->lock

fs/smb/client/smb2ops.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &server->_srv_mutex

fs/gfs2/file.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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

block/fops.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]
HALF_LOCKED2 &pool->lock

crypto/algif_hash.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0-5
DATA_SOURCE 0 i $0
NOSPEC 0 i->count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->count 1-18446744073709551614
USER_DATA 0 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

drivers/usb/gadget/function/f_fs.c ffs_epfile_read_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
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

io_uring/rw.c loop_rw_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $2
RX_PATH
TASK_NOT_RUNNING

fs/netfs/direct_write.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i->iov_offset 0-u64max[c]
HALF_LOCKED2 &inode->i_rwsem

fs/iomap/direct-io.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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]

fs/ceph/file.c user_backed_iter() -> iter_is_ubuf()

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

fs/netfs/iterator.c netfs_extract_user_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
PARAM_VALUE 0 i->iter_type 0-1
DATA_SOURCE 0 i $0
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

fs/fuse/file.c user_backed_iter() -> iter_is_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 4096-ptr_max
DATA_SOURCE 0 i $0
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 &iocb->ki_filp->f_inode->i_rwsem
HALF_LOCKED2 &pool->lock