Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

lib/iov_iter.c import_ubuf() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 1 direction 0-1
PARAM_VALUE 3 count 0-2147479552
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 i $3
DATA_SOURCE 1 direction $0
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2 [m]
FUZZY_MAX 3 count 2147479552
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 buf 0-u64max[c]
USER_DATA 3 count 0-2147479552
UNITS 2 buf unit_byte
UNITS 3 count unit_byte
HALF_LOCKED2 &ctx->uring_lock

net/ipv6/udp.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 85242854093877288
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ipv6/udp.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 85242854093877248
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/phonet/pep.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 8128427269908308008
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/phonet/pep.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 8128427269908307968
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ipv4/raw.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 5504201227878936616
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ipv4/raw.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 5504201227878936576
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

drivers/tee/tee_shm.c tee_shm_register_user_buf() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 7748150700857266176
PARAM_VALUE 1 direction 0
CAPPED_DATA 2 buf 1
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
NOCHECK_CALL
USER_DATA 3 count 0-u64max
UNITS 3 count unit_byte

fs/read_write.c new_sync_read() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1897402466651123712
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-1000000000,2147479552
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 2147479552
NOCHECK_CALL
USER_DATA 3 count 0-1000000000

fs/read_write.c new_sync_write() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1721654642188869632
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-1000000000,2147479552
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
FUZZY_MAX 3 count 2147479552
NOCHECK_CALL
USER_DATA 3 count 0-1000000000

drivers/gpu/drm/i915/gem/i915_gem_shmem.c shmem_pwrite() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 8617020172108414976
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 1-2147479552
NOCHECK_CALL
USER_DATA 3 count 1-2147479552[u]

lib/tests/kunit_iov_iter.c iov_kunit_iter_to_sg_ubuf() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 8463852778652590080
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 2097152
NOCHECK_CALL

net/ipv4/udp.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 7738447601290563624
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ipv4/udp.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 7738447601290563584
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/tls/tls_main.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 6368986773989998632
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max
HALF_LOCKED2 &smc->clcsock_release_lock

net/tls/tls_main.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 6368986773989998592
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max
HALF_LOCKED2 &smc->clcsock_release_lock

io_uring/net.c io_recvmsg() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 1 direction 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 buf unit_byte
UNITS 3 count unit_byte

net/ieee802154/socket.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 5690065819351859240
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ieee802154/socket.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 5690065819351859200
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/socket.c sockptr_to_sockopt() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1266357494456262696
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/socket.c sockptr_to_sockopt() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1266357494456262656
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

block/blk-integrity.c blk_rq_integrity_map_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 2054009744978411520
PARAM_VALUE 1 direction 0-1
PARAM_VALUE 2 buf 1-u64max
PARAM_VALUE 3 count 1-u32max
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
FUZZY_MAX 1 direction 1
HARD_MAX 1 direction 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 count 1-u32max

net/ipv6/raw.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1623515881105043496
PARAM_VALUE 1 direction 0
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max

net/ipv6/raw.c sockopt_init_user() -> iov_iter_ubuf()

Type Parameter Key Value
PARAM_VALUE 0 i 1623515881105043456
PARAM_VALUE 1 direction 1
PARAM_VALUE 3 count 0-s32max
DATA_SOURCE 2 buf $1
RX_PATH
NOCHECK_CALL
USER_DATA 3 count 0-s32max