Defined in 1 files as a function:
Referenced in 3 files:
- drivers/pci/hotplug/pciehp_core.c
- drivers/pci/hotplug/pciehp_ctrl.c
- drivers/pci/hotplug/pciehp_hpc.c
Smatch caller information:
drivers/pci/hotplug/pciehp_core.c get_adapter_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_core.c get_latch_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_core.c get_power_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_core.c set_attention_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_ctrl.c pciehp_sysfs_disable_slot() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_ctrl.c pciehp_sysfs_enable_slot() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_hpc.c pciehp_get_attention_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_hpc.c pciehp_get_raw_indicator_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/hotplug/pciehp_hpc.c pciehp_reset_slot() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/hotplug/pciehp_hpc.c pciehp_set_raw_indicator_status() -> to_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hotplug_slot | 4096-ptr_max |
| DATA_SOURCE | 0 | hotplug_slot | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |