Defined in 1 files as a function:
Referenced in 10 files:
- drivers/greybus/connection.c, line 547
- drivers/greybus/control.c
- drivers/staging/greybus/authentication.c
- drivers/staging/greybus/camera.c, line 200
- drivers/staging/greybus/hid.c, line 119
- drivers/staging/greybus/i2c.c, line 189
- drivers/staging/greybus/loopback.c, line 361
- drivers/staging/greybus/power_supply.c, line 531
- drivers/staging/greybus/sdio.c
- drivers/staging/greybus/usb.c, line 125
Smatch caller information:
drivers/staging/greybus/usb.c hub_control() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
drivers/staging/greybus/power_supply.c gb_power_supply_prop_descriptors_get() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &supplies->supplies_lock | ||
| TYPE_LOCK | (struct gb_power_supplies)->supplies_lock |
drivers/staging/greybus/hid.c gb_hid_set_report() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | operation->request->buffer->size | 0-u16max[c] |
| USER_DATA | 0 | operation->request->payload_size | 1-401384[c] |
| USER_DATA | 0 | operation->response->payload_size | 1-401384[c] |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/staging/greybus/i2c.c gb_i2c_transfer_operation() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_i2c_operation_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | operation->request->buffer->size | 0-u16max[c] |
| USER_DATA | 0 | operation->request->payload_size | 1-401384[c] |
| USER_DATA | 0 | operation->response->payload_size | 1-401384[c] |
drivers/greybus/control.c gb_control_disconnecting_operation() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.done | 0 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->errno | (-53) |
| PARAM_VALUE | 0 | operation->flags | 8,10 |
| PARAM_VALUE | 0 | operation->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer->size | 0-u16max |
| PARAM_VALUE | 0 | operation->request->buffer->type | 0-126,128-255 |
| PARAM_VALUE | 0 | operation->request->header | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->type | 12 |
| PARAM_VALUE | 0 | operation->waiters.counter | 0 |
| DATA_SOURCE | 0 | operation | r gb_operation_create_core |
| BIT_INFO | 0 | operation->flags | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connection->mutex | ||
| TYPE_LOCK | (struct gb_connection)->mutex |
drivers/greybus/control.c gb_control_mode_switch_operation() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.done | 0 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->errno | (-53) |
| PARAM_VALUE | 0 | operation->flags | 8,10 |
| PARAM_VALUE | 0 | operation->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer->size | 0-u16max |
| PARAM_VALUE | 0 | operation->request->buffer->type | 0-126,128-255 |
| PARAM_VALUE | 0 | operation->request->header | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 0,17,4096-ptr_max |
| PARAM_VALUE | 0 | operation->type | 14 |
| PARAM_VALUE | 0 | operation->waiters.counter | 0 |
| DATA_SOURCE | 0 | operation | r gb_operation_create_core |
| BIT_INFO | 0 | operation->flags | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connection->mutex | ||
| TYPE_LOCK | (struct gb_connection)->mutex |
drivers/staging/greybus/loopback.c gb_loopback_operation_sync() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
| TASK_NOT_RUNNING | |||
| LOCK2 | &gb->mutex | ||
| TYPE_LOCK | (struct gb_loopback)->mutex |
drivers/staging/greybus/authentication.c cap_authenticate() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.done | 0 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->errno | (-53) |
| PARAM_VALUE | 0 | operation->flags | 0,2,4 |
| PARAM_VALUE | 0 | operation->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer->size | 0-u16max |
| PARAM_VALUE | 0 | operation->request->buffer->type | 0-126,128-255 |
| PARAM_VALUE | 0 | operation->request->header | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->type | 0-127 |
| PARAM_VALUE | 0 | operation->waiters.counter | 0 |
| DATA_SOURCE | 0 | operation | r gb_operation_create_flags |
| LOCK2 | &cap->mutex | ||
| TYPE_LOCK | (struct gb_cap)->mutex |
drivers/staging/greybus/authentication.c cap_get_ims_certificate() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.done | 0 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->errno | (-53) |
| PARAM_VALUE | 0 | operation->flags | 0,2,4 |
| PARAM_VALUE | 0 | operation->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer->size | 0-u16max |
| PARAM_VALUE | 0 | operation->request->buffer->type | 0-126,128-255 |
| PARAM_VALUE | 0 | operation->request->header | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->type | 0-127 |
| PARAM_VALUE | 0 | operation->waiters.counter | 0 |
| DATA_SOURCE | 0 | operation | r gb_operation_create_flags |
| LOCK2 | &cap->mutex | ||
| TYPE_LOCK | (struct gb_cap)->mutex |
drivers/staging/greybus/sdio.c _gb_sdio_recv() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
| LOCK2 | &host->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_sdio_host)->lock |
drivers/staging/greybus/sdio.c _gb_sdio_send() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| DATA_SOURCE | 0 | operation | r gb_operation_create |
| LOCK2 | &host->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gb_sdio_host)->lock |
drivers/greybus/connection.c gb_connection_shutdown_operation() -> gb_operation_request_send_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.done | 0 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | operation->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->connection->hd | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->errno | (-53) |
| PARAM_VALUE | 0 | operation->flags | 8,10 |
| PARAM_VALUE | 0 | operation->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->buffer->size | 0-u16max |
| PARAM_VALUE | 0 | operation->request->buffer->type | 0-126,128-255 |
| PARAM_VALUE | 0 | operation->request->header | 16,4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->operation->request | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->request->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | operation->type | 0 |
| PARAM_VALUE | 0 | operation->waiters.counter | 0 |
| BUF_SIZE | 0 | operation->connection | (-1),376 |
| DATA_SOURCE | 0 | operation | r gb_operation_create_core |
| BIT_INFO | 0 | operation->flags | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &connection->mutex | ||
| TYPE_LOCK | (struct gb_connection)->mutex |