Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/staging/greybus/bootrom.c gb_bootrom_firmware_size_request() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 1
PARAM_VALUE 1 response_size 4
PARAM_VALUE 2 gfp 3264
DATA_SOURCE 0 operation $0
UNITS 1 response_size unit_byte
LOCK2 &bootrom->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_bootrom)->mutex

drivers/staging/greybus/bootrom.c gb_bootrom_get_firmware() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 8
PARAM_VALUE 2 gfp 3264
CAPPED_DATA 1 response_size 1
DATA_SOURCE 0 operation $0
UNITS 1 response_size unit_byte
LOCK2 &bootrom->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_bootrom)->mutex

drivers/greybus/operation.c gb_operation_create_common() -> gb_operation_response_alloc()

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 0 operation->connection->hd 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 2 gfp 2080,3264
BUF_SIZE 0 operation->connection (-1)-0,376
DATA_SOURCE 0 operation r kmem_cache_alloc_noprof
DATA_SOURCE 1 response_size $3
DATA_SOURCE 2 gfp $5
NOSPEC 1 response_size
NOSPEC 1 response_size
HARD_MAX 2 gfp 3264
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 1 response_size 1-16384[c]
UNITS 1 response_size unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 operation 4096-ptr_max
PARAM_VALUE 0 operation->connection 4096-ptr_max
PARAM_VALUE 0 operation->response 0
PARAM_VALUE 1 response_size 0
PARAM_VALUE 2 gfp 3264
DATA_SOURCE 0 operation $0
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/fw-download.c fw_download_fetch_firmware() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 9
PARAM_VALUE 2 gfp 3264
CAPPED_DATA 1 response_size 1
DATA_SOURCE 0 operation $0
UNITS 1 response_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/fw-download.c fw_download_find_firmware() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 10
PARAM_VALUE 1 response_size 5
PARAM_VALUE 2 gfp 3264
DATA_SOURCE 0 operation $0
UNITS 1 response_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/loopback.c gb_loopback_request_handler() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 12-u64max
PARAM_VALUE 0 operation->type 3
PARAM_VALUE 1 response_size 12-4294967307
PARAM_VALUE 2 gfp 3264
CAPPED_DATA 1 response_size 1
DATA_SOURCE 0 operation $0
FUZZY_MAX 0 operation->request->payload_size 12
UNITS 1 response_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/greybus/svc.c gb_svc_version_request() -> gb_operation_response_alloc()

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 4096-ptr_max
PARAM_VALUE 0 operation->request->payload_size 2-u64max
PARAM_VALUE 1 response_size 2
PARAM_VALUE 2 gfp 3264
DATA_SOURCE 0 operation $0
FUZZY_MAX 0 operation->request->payload_size 2
UNITS 1 response_size unit_byte
HALF_LOCKED2 &pool->lock