Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/hwmon/pmbus/ibm-cffps.c
- drivers/hwmon/pmbus/isl68137.c
- drivers/hwmon/pmbus/pmbus.h, line 590
- drivers/hwmon/pmbus/pmbus_core.c, line 3981
Smatch caller information:
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_debugfs_read() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_debugfs_read_input_history() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_debugfs_read_input_history() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->currpage | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->currphase | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_debugfs_write() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_debugfs_write() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->currpage | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->currphase | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_led_blink_set() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_led_blink_set() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->currpage | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->currphase | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_led_brightness_set() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/ibm-cffps.c ibm_cffps_led_brightness_set() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->currpage | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->currphase | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &client->dev.driver_data->update_lock |
drivers/hwmon/pmbus/adm1266.c class_pmbus_lock_destructor() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &client->dev.driver_data->update_lock | ||
| HALF_LOCKED2 | &data->client->dev.driver_data->update_lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/hwmon/pmbus/mpq8646.c class_pmbus_lock_destructor() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &ctx->priv->client->dev.driver_data->update_lock | ||
| HALF_LOCKED2 | &priv->client->dev.driver_data->update_lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/hwmon/pmbus/pmbus_core.c class_pmbus_lock_destructor() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &client->dev.driver_data->update_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/pmbus/isl68137.c isl68137_avs_enable_show_page() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->dev.driver_data->currpage | s16min-s16max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | client | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | client | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &client->dev.driver_data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/pmbus/isl68137.c isl68137_avs_enable_store_page() -> pmbus_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->dev.driver_data->update_lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | client | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | client | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &client->dev.driver_data->update_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |