Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/ctl.c tb_ctl_alloc() -> tb_ctl_pkg_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->callback_data 4096-ptr_max
PARAM_VALUE 0 ctl->frame_pool 4096-ptr_max
PARAM_VALUE 0 ctl->index 0-s32max
PARAM_VALUE 0 ctl->nhi 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue.next 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue.next->next 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue.prev 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter 0
PARAM_VALUE 0 ctl->request_queue_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctl->request_queue_lock.owner.counter 0
PARAM_VALUE 0 ctl->rx 4096-ptr_max
PARAM_VALUE 0 ctl->timeout_msec 100,5000
PARAM_VALUE 0 ctl->tx 4096-ptr_max
BUF_SIZE 0 ctl 312
BUF_SIZE 0 ctl->callback_data 2304,3616
BUF_SIZE 0 ctl->frame_pool 192
BUF_SIZE 0 ctl->rx 360
BUF_SIZE 0 ctl->tx 360
CAPPED_DATA 0 ctl->frame_pool->allocation 1
CAPPED_DATA 0 ctl->frame_pool->boundary 1
CAPPED_DATA 0 ctl->frame_pool->size 1
DATA_SOURCE 0 ctl r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ctl->nhi->hop_count 0-1023
HOST_DATA 0 ctl->tx->nhi->hop_count 0-1023
NO_OVERFLOW_SIMPLE 0 ctl->nhi->hop_count

drivers/thunderbolt/ctl.c tb_ctl_tx() -> tb_ctl_pkg_alloc()

Type Parameter Key Value
DATA_SOURCE 0 ctl $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ctl->frame_pool->allocation
NO_OVERFLOW_SIMPLE 0 ctl->frame_pool->dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 0 ctl->nhi->hop_count
HALF_LOCKED2 &pool->lock