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-debugifc.c pvr2_debugifc_do1cmd() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 1 |
| DATA_SOURCE | 0 | hdw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/media/usb/pvrusb2/pvrusb2-debugifc.c pvr2_debugifc_do1cmd() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdw | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| DATA_SOURCE | 0 | hdw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/media/usb/pvrusb2/pvrusb2-hdw.c pvr2_hdw_cpufw_set_enabled() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdw->fw_buffer | 0 |
| PARAM_VALUE | 0 | hdw->fw_cpu_flag | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | hdw->fw_size | 0 |
| PARAM_VALUE | 1 | val | 0 |
| CAPPED_DATA | 0 | &hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | hdw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &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-hdw.c pvr2_hdw_cpufw_set_enabled() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdw->fw_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->fw_cpu_flag | 1 |
| PARAM_VALUE | 0 | hdw->fw_size | 8192,16384 |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | hdw->fw_buffer | 8192,16384 |
| CAPPED_DATA | 0 | &hdw->big_lock_mutex | 1 |
| DATA_SOURCE | 0 | hdw | $0 |
| FUZZY_MAX | 0 | hdw->fw_size | 16384 |
| BIT_INFO | 0 | hdw->fw_size | 0x0,0x6000 |
| HARD_MAX | 0 | hdw->fw_size | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &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-hdw.c pvr2_upload_firmware1() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdw->flag_disconnected | 0 |
| PARAM_VALUE | 0 | hdw->fw1_state | 2 |
| PARAM_VALUE | 0 | hdw->hdw_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->hdw_desc->flag_fx2_16kb | 1 |
| PARAM_VALUE | 0 | hdw->hdw_desc->fx2_firmware.cnt | 1 |
| PARAM_VALUE | 0 | hdw->state_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *hdw->usb_dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | val | 1 |
| DATA_SOURCE | 0 | hdw | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdw->vid_stream->buffer_slot_count | |
| LOCK2 | 0 | &hdw->big_lock_mutex | |
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |
drivers/media/usb/pvrusb2/pvrusb2-hdw.c pvr2_upload_firmware1() -> pvr2_hdw_cpureset_assert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdw | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_held | 1 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdw->big_lock_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdw->flag_disconnected | 0 |
| PARAM_VALUE | 0 | hdw->fw1_state | 2 |
| PARAM_VALUE | 0 | hdw->hdw_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->hdw_desc->flag_fx2_16kb | 1 |
| PARAM_VALUE | 0 | hdw->hdw_desc->fx2_firmware.cnt | 1 |
| PARAM_VALUE | 0 | hdw->state_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hdw->usb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *hdw->usb_dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | val | 0 |
| DATA_SOURCE | 0 | hdw | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdw->vid_stream->buffer_slot_count | |
| LOCK2 | 0 | &hdw->big_lock_mutex | |
| TYPE_LOCK | (struct pvr2_hdw)->big_lock_mutex |