Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/usb/line6/driver.c line6_hwdep_read() -> __kfifo_to_user_r()

Type Parameter Key Value
PARAM_VALUE 0 fifo 4096-ptr_max
PARAM_VALUE 2 len 0-1000000000,2147479552
PARAM_VALUE 3 copied 6953817477211959296
PARAM_VALUE 4 recsize 2
BUF_SIZE 0 fifo 24
BUF_SIZE 3 copied 4
DATA_SOURCE 1 to $1
DATA_SOURCE 2 len $2
USER_DATA 2 len 0-1000000000
UNITS 4 recsize unit_byte
LOCK2 &line6->messages.read_lock
TYPE_LOCK (struct usb_line6)->messages.read_lock

samples/kfifo/record-example.c fifo_read() -> __kfifo_to_user_r()

Type Parameter Key Value
PARAM_VALUE 0 fifo 1937674104675807232
PARAM_VALUE 2 len 0-1000000000,2147479552
PARAM_VALUE 3 copied 3005443839106654208
PARAM_VALUE 4 recsize 1
BUF_SIZE 0 fifo 24
BUF_SIZE 3 copied 4
DATA_SOURCE 1 to $1
DATA_SOURCE 2 len $2
USER_DATA 2 len 0-1000000000
UNITS 4 recsize unit_byte
LOCK2 global &read_access