Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

mm/maccess.c copy_to_user_nofault() -> __copy_to_user_inatomic()

Type Parameter Key Value
BUF_SIZE 1 from (-1),32
BUF_SIZE 1 from (-1),32
CAPPED_DATA 0 to 1
DATA_SOURCE 0 to $0
DATA_SOURCE 1 from $1
DATA_SOURCE 2 n $2
NOSPEC 2 n
NOSPEC 2 n
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 from 4096-ptr_max[c]
HOST_DATA 2 n 1-s32max[c]
USER_DATA 1 from 4096-ptr_max[c][u]
USER_DATA 2 n 1-u64max[c]
NO_OVERFLOW_SIMPLE 2 n
UNITS 0 to unit_byte
UNITS 1 from unit_byte
UNITS 2 n unit_byte
BYTE_COUNT 1 ==from2 8050
HALF_LOCKED2 &vcpu->kvm->srcu

mm/kasan/kasan_test_c.c copy_user_test_oob() -> __copy_to_user_inatomic()

Type Parameter Key Value
PARAM_VALUE 0 to 1-18446744073709551614
PARAM_VALUE 1 from 16,4096-ptr_max
PARAM_VALUE 2 n 1-s32max
BUF_SIZE 1 from 120
DATA_SOURCE 1 from r kunit_kmalloc

drivers/gpu/drm/i915/i915_gem.c gtt_user_read() -> __copy_to_user_inatomic()

Type Parameter Key Value
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 2 n 1-4096
CAPPED_DATA 2 n 1
DATA_SOURCE 0 to $3
DATA_SOURCE 2 n $4
NOSPEC 2 n
NOSPEC 2 n
PREEMPT_ADD <- disables preempt
USER_DATA 2 n 2-4096[c]
NO_OVERFLOW_SIMPLE 2 n
UNITS 1 from unit_byte
UNITS 2 n unit_byte