Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/greybus/greybus_trace.h, line 370
- drivers/greybus/interface.c
- drivers/greybus/module.c
- drivers/greybus/svc.c, line 1055
Smatch caller information:
drivers/greybus/interface.c gb_interface_legacy_mode_switch() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->disconnected | 1 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | intf | $0 |
| BIT_INFO | 0 | intf->quirks | 0x10,0xffffffffffffffff |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/interface.c gb_interface_mailbox_event() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 1-u64max |
| PARAM_VALUE | 0 | intf->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/interface.c gb_interface_mode_switch_work() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->control->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->control->connection->mode_switch | 1 |
| PARAM_VALUE | 0 | intf->enabled | 1 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/interface.c power_state_store() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/greybus/svc.c gb_svc_process_intf_oops() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->disconnected | 1 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| DATA_SOURCE | 0 | intf | r gb_svc_interface_lookup |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex |
drivers/greybus/module.c eject_store() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | intf->ejected | 1 |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &intf->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_interface)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/greybus/module.c gb_module_deregister_interface() -> gb_interface_disable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | intf | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->module | 4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | intf->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | intf->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | intf->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | intf->removed | 1 |
| CAPPED_DATA | 0 | &intf->mutex | 1 |
| DATA_SOURCE | 0 | intf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &intf->mutex | |
| TYPE_LOCK | (struct gb_interface)->mutex |