Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_enum_input() -> pvr2_ctrl_get_valname()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
PARAM_VALUE 1 val 0-4
PARAM_VALUE 2 bptr 0
PARAM_VALUE 3 bmax 31
PARAM_VALUE 4 blen 4119187405786255360
PARAM_VALUE 4 *blen 0
BUF_SIZE 2 bptr 32
DATA_SOURCE 0 cptr r pvr2_hdw_get_ctrl_by_id
NOCHECK_CALL
UNITS 3 bmax unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_querymenu() -> pvr2_ctrl_get_valname()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->v4l_id s32min-(-1),1-s32max
PARAM_VALUE 3 bmax 31
PARAM_VALUE 4 blen 8281578295062077440
PARAM_VALUE 4 *blen 0
BUF_SIZE 2 bptr 32
USER_DATA 1 val s32min-s32max[u]
USER_DATA 2 *bptr 0-255
UNITS 3 bmax unit_byte
USER_PTR 2 bptr
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-sysfs.c show_bits() -> pvr2_ctrl_get_valname()

Type Parameter Key Value
PARAM_VALUE 0 cptr 4096-ptr_max
PARAM_VALUE 0 cptr->hdw->big_lock_held 0
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 val 1-2
PARAM_VALUE 2 bptr 4096-ptr_max
PARAM_VALUE 4 blen 5810911807486705664
FUZZY_MAX 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 bptr unit_byte
UNITS 3 bmax unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/media/usb/pvrusb2/pvrusb2-sysfs.c show_enum() -> pvr2_ctrl_get_valname()

Type Parameter Key Value
PARAM_VALUE 0 cptr 4096-ptr_max
PARAM_VALUE 0 cptr->hdw->big_lock_held 0
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 bptr 1-u64max
PARAM_VALUE 3 bmax 0-4094,4096-u32max
PARAM_VALUE 4 blen 4962997189530365952
CAPPED_DATA 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 bptr unit_byte
UNITS 3 bmax unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex