Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/greybus/operation.c gb_operation_message_alloc() -> gb_operation_message_init()

Type Parameter Key Value
PARAM_VALUE 0 hd 4096-ptr_max
PARAM_VALUE 1 message 4096-ptr_max
PARAM_VALUE 1 message->buffer 16,4096-ptr_max
PARAM_VALUE 2 operation_id 0
BUF_SIZE 1 message->buffer 0-u64max
DATA_SOURCE 0 hd $0
DATA_SOURCE 1 message r kmem_cache_alloc_noprof
DATA_SOURCE 3 payload_size $2
DATA_SOURCE 4 type $1
PARAM_COMPARE 0 hd->buffer_size_max > $3
PARAM_COMPARE 3 payload_size < $0->buffer_size_max
PARAM_COMPARE 3 payload_size <= $0->buffer_size_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 payload_size 1-401384[c]
UNITS 3 payload_size unit_byte