Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/core/hcd-pci.c hcd_pci_suspend_noirq() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 1017402825826095104 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | fn | 2444882551801589760 |
| PARAM_VALUE | 3 | ret | (-22) |
| BUF_SIZE | 0 | function | 22 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 3 | ret | r pci_prepare_to_sleep |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/usb/core/hcd-pci.c suspend_common() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 9146834239770488832 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| PARAM_VALUE | 3 | ret | (-110),(-22),(-16),0 |
| BUF_SIZE | 0 | function | 15 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pnp/driver.c __pnp_bus_suspend() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 1034185418958815232 |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 18 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_legacy_suspend() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 3269062701255569408 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | fn | 4096-ptr_max |
| BUF_SIZE | 0 | function | 19 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_freeze() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 751189675479793664 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver->pm->freeze | 1-u64max |
| PARAM_VALUE | 1 | dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 14 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_freeze_noirq() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 8542305194516062208 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 20 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_poweroff() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 3075079128163872768 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver->pm->poweroff | 1-u64max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 16 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_poweroff_noirq() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 3450781383921016832 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 22 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_suspend() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4267443084171575296 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver->pm->suspend | 1-u64max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 15 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/pci/pci-driver.c pci_pm_suspend_noirq() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 8582780551986880512 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 21 |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/base/power/main.c device_prepare() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 503870294248357888 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus->pm | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class->pm | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->pm_domain | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.no_pm_callbacks | 0 |
| PARAM_VALUE | 1 | dev->power.out_band_wakeup | 0 |
| PARAM_VALUE | 1 | dev->power.syscore | 0 |
| PARAM_VALUE | 1 | dev->power.wakeup_path | 0 |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->type->pm | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fn | 1-u64max |
| PARAM_VALUE | 3 | ret | s32min-(-1) |
| BUF_SIZE | 0 | function | 15 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 3 | ret | r callback |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/base/power/main.c dpm_run_callback() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4807398529694265344 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.direct_complete | 0 |
| PARAM_VALUE | 1 | dev->power.syscore | 0 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 17 |
| BUF_SIZE | 1 | dev | (-1),16,24,56,64,120,1616,7104 |
| BUF_SIZE | 1 | dev | (-1),16,24,56,64,120,1616,7104 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | fn | $0 |
| DATA_SOURCE | 3 | ret | r cb |
| STR_LEN | 0 | function | (-1),4-7,9-13,18-19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 1 | &dev->mutex |
drivers/base/power/main.c legacy_suspend() -> __suspend_report_result()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | function | 4395927497684905984 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus->pm | 0 |
| PARAM_VALUE | 1 | dev->bus->suspend | 1-u64max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class->pm | 0 |
| PARAM_VALUE | 1 | dev->pm_domain | 0 |
| PARAM_VALUE | 1 | dev->power.direct_complete | 0 |
| PARAM_VALUE | 1 | dev->power.may_skip_resume | 1 |
| PARAM_VALUE | 1 | dev->power.request_pending | 0 |
| PARAM_VALUE | 1 | dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 1 | dev->power.syscore | 0 |
| PARAM_VALUE | 1 | dev->power.timer_expires | 0 |
| PARAM_VALUE | 1 | dev->power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->type->pm | 0 |
| PARAM_VALUE | 2 | fn | 1-u64max |
| BUF_SIZE | 0 | function | 15 |
| BUF_SIZE | 1 | dev | (-1),16,24,56,64,120,1616,7104 |
| BUF_SIZE | 1 | dev | (-1),16,24,56,64,120,1616,7104 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 2 | fn | $2 |
| DATA_SOURCE | 3 | ret | r cb |
| STR_LEN | 0 | function | 11 |
| STR_LEN | 1 | dev | 11 |
| CONTAINER | 2 | -112-280+0 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &dev->mutex | |
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |