Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c pvr2_ctrl_get_valname() -> pvr2_ctrl_range_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cptr->info | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->info->type | 1 |
| CAPPED_DATA | 0 | &cptr->hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | cptr | $0 |
| DATA_SOURCE | 1 | val | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | s32min-s32max[u] |
| LOCK2 | 0 | &cptr->hdw->big_lock_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c pvr2_ctrl_set_mask_value() -> pvr2_ctrl_range_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cptr->info | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->info->set_value | 1-u64max |
| PARAM_VALUE | 0 | cptr->info->type | 0-1 |
| CAPPED_DATA | 0 | &cptr->hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | cptr | $0 |
| DATA_SOURCE | 1 | val | $2 |
| FUZZY_MAX | 0 | cptr->info->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | cptr->hdw->vid_stream->buffer_slot_count | |
| LOCK2 | 0 | &cptr->hdw->big_lock_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c pvr2_ctrl_sym_to_value() -> pvr2_ctrl_range_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cptr->info | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->info->type | 0 |
| CAPPED_DATA | 0 | &cptr->hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | cptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | s32min-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &cptr->hdw->big_lock_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c pvr2_ctrl_sym_to_value() -> pvr2_ctrl_range_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cptr->hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cptr->info | 4096-ptr_max |
| PARAM_VALUE | 0 | cptr->info->type | 1 |
| CAPPED_DATA | 0 | &cptr->hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | cptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | s32min-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &cptr->hdw->big_lock_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |