Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/pci/ivtv/ivtv-fileops.c ivtv_write() -> ivtv_buf_copy_from_user()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->dma 0-3
PARAM_VALUE 0 s->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 s->type 8
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 1 buf r ivtv_dequeue
DATA_SOURCE 2 src $1 [m]
USER_DATA 2 src 0-u64max[c]
LOCK2 &itv->serialize_lock
TYPE_LOCK (struct ivtv)->serialize_lock

drivers/media/pci/ivtv/ivtv-fileops.c ivtv_write() -> ivtv_buf_copy_from_user()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->dma 0-3
PARAM_VALUE 0 s->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 s->type 5,8
PARAM_VALUE 1 buf 4096-ptr_max
DATA_SOURCE 1 buf r ivtv_dequeue
DATA_SOURCE 2 src $1 [m]
DATA_SOURCE 3 copybytes $2 [m]
FUZZY_MAX 0 s->type 8
BIT_INFO 0 s->type 0x0,0xd
USER_DATA 2 src 0-u64max[c]
USER_DATA 3 copybytes (-2147483646)-s32max
LOCK2 &itv->serialize_lock
TYPE_LOCK (struct ivtv)->serialize_lock