Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/staging/greybus/usb.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0

drivers/staging/greybus/spilib.c gb_spi_transfer_one_message() -> gb_operation_request_send_sync_timeout()

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_spi_operation_create
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ctlr->io_mutex
HALF_LOCKED2 &ctlr->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/staging/greybus/power_supply.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &supplies->supplies_lock
TYPE_LOCK (struct gb_power_supplies)->supplies_lock

drivers/greybus/operation.c gb_operation_sync_timeout() -> gb_operation_request_send_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 1 timeout 1-u32max
DATA_SOURCE 0 operation r gb_operation_create
DATA_SOURCE 1 timeout $6
FUZZY_MAX 1 timeout 1000
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 &cap->mutex
HALF_LOCKED2 &fw_mgmt->mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &intf->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &raw->disconnect_lock

drivers/greybus/operation.c gb_operation_unidirectional_timeout() -> gb_operation_request_send_sync_timeout()

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 0,17,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
DATA_SOURCE 1 timeout $4

drivers/staging/greybus/hid.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
RX_PATH
TASK_NOT_RUNNING
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_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 operation->request->payload_size 1-401384[c]
USER_DATA 0 operation->response->payload_size 1-401384[c]
HALF_LOCKED2 &pool->lock

drivers/greybus/control.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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 12,14
PARAM_VALUE 0 operation->waiters.counter 0
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
BIT_INFO 0 operation->flags 0x8,0xffffffffffffffff
HARD_MAX 0 operation->type 14
RX_PATH
TASK_NOT_RUNNING
LOCK2 &connection->mutex
TYPE_LOCK (struct gb_connection)->mutex

drivers/staging/greybus/loopback.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
TASK_NOT_RUNNING
LOCK2 &gb->mutex
TYPE_LOCK (struct gb_loopback)->mutex

drivers/staging/greybus/authentication.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
LOCK2 &cap->mutex
TYPE_LOCK (struct gb_cap)->mutex

drivers/staging/greybus/sdio.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
DATA_SOURCE 0 operation $0
LOCK2 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_sdio_host)->lock

drivers/greybus/connection.c gb_operation_request_send_sync() -> gb_operation_request_send_sync_timeout()

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
PARAM_VALUE 1 timeout 1000
BUF_SIZE 0 operation->connection (-1)-0,376
DATA_SOURCE 0 operation $0
BIT_INFO 0 operation->flags 0x8,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &connection->mutex
TYPE_LOCK (struct gb_connection)->mutex