Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/greybus/operation.c gb_connection_recv_request() -> gb_operation_result_set()

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->connection->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 operation->connection->operations.prev 4096-ptr_max
PARAM_VALUE 0 operation->connection->operations.prev->next 4096-ptr_max
PARAM_VALUE 0 operation->connection->operations.prev->next->next 4096-ptr_max
PARAM_VALUE 0 operation->connection->state 1-3
PARAM_VALUE 0 operation->errno (-53)
PARAM_VALUE 0 operation->flags 1,3
PARAM_VALUE 0 operation->kref.refcount.refs.counter 1
PARAM_VALUE 0 operation->links.next 4096-ptr_max
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-126
PARAM_VALUE 0 operation->waiters.counter 0
PARAM_VALUE 1 result (-115)
DATA_SOURCE 0 operation r gb_operation_create_incoming
BIT_INFO 0 operation->flags 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock

drivers/greybus/operation.c gb_connection_recv_response() -> gb_operation_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->id 1-u16max
PARAM_VALUE 0 operation->response 4096-ptr_max
PARAM_VALUE 1 result (-110),(-93),(-90),(-84),(-22),(-19),(-12)-(-11),(-5)-(-4),0
CAPPED_DATA 0 operation->id 1
DATA_SOURCE 0 operation r gb_operation_find_outgoing
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &pool->lock

drivers/greybus/operation.c gb_operation_cancel() -> gb_operation_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 1 result (-125),(-108)
BUF_SIZE 0 operation (-1)-s32max
BUF_SIZE 0 operation (-1)-s32max
BUF_SIZE 0 operation->connection (-1)-0,376
CAPPED_DATA 0 operation 1
DATA_SOURCE 0 operation $0
DATA_SOURCE 1 result $1
HARD_MAX 1 result (-108)
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 &connection->mutex

drivers/greybus/operation.c gb_operation_cancel_incoming() -> gb_operation_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 1 result (-108)
CAPPED_DATA 0 &operation->work 1
DATA_SOURCE 0 operation $0
DATA_SOURCE 1 result $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &connection->mutex
TYPE_LOCK (struct gb_connection)->mutex

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

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->request 4096-ptr_max
PARAM_VALUE 0 operation->request->header 4096-ptr_max
PARAM_VALUE 1 result (-115)
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_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
DATA_SOURCE 0 operation $0
DATA_SOURCE 1 result $1
HALF_LOCKED2 &pool->lock

drivers/greybus/operation.c gb_operation_timeout() -> gb_operation_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 1 result (-110)
RX_PATH
TASK_NOT_RUNNING

drivers/greybus/operation.c greybus_message_sent() -> gb_operation_result_set()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 1 result (-108),(-104),(-84),(-75),(-71),(-11),(-2),0
DATA_SOURCE 1 result $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock