Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/greybus/operation.c gb_operation_find_outgoing() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->id 1-u16max
CAPPED_DATA 0 operation->id 1
CAPPED_DATA 0 &operation->links 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &connection->lock
LOCK2 flags
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_connection)->lock

drivers/greybus/operation.c gb_operation_request_send() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->callback 1-u64max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 0 operation->errno (-115),(-84)
PARAM_VALUE 0 operation->request 4096-ptr_max
PARAM_VALUE 0 operation->request->header 4096-ptr_max
BUF_SIZE 0 operation (-1)-s32max
BUF_SIZE 0 operation (-1)-s32max
BUF_SIZE 0 operation->connection (-1)-0,376
DATA_SOURCE 0 operation $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 operation->request->payload_size 1-401384[c]
USER_DATA 0 operation->response->payload_size 1-401384[c]
HALF_LOCKED2 &gb->mutex

drivers/greybus/operation.c gb_operation_response_send() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 0 operation->errno s32min-(-54),(-52)-s32max
DATA_SOURCE 0 operation $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/greybus/svc.c gb_svc_queue_deferred_request() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 0 operation->connection->handler 1-u64max
PARAM_VALUE 0 operation->request 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 1-u64max
DATA_SOURCE 0 operation $0
FUZZY_MAX 0 operation->request->payload_size 7
NOCHECK_CALL
LOCK2 &pool->lock

drivers/greybus/connection.c gb_connection_cancel_operations() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &connection->lock
LOCK2 &connection->mutex
LOCK2 irq
TYPE_LOCK (struct gb_connection)->lock
TYPE_LOCK (struct gb_connection)->mutex

drivers/greybus/connection.c gb_connection_flush_incoming_operations() -> gb_operation_get()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
CAPPED_DATA 0 &operation->links 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &connection->lock
LOCK2 &connection->mutex
LOCK2 irq
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct gb_connection)->lock
TYPE_LOCK (struct gb_connection)->mutex