Documented in 2 files:

Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/thunderbolt/icm.c icm_usb4_switch_nvm_authenticate() -> tb_cfg_request()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->copy 964053227424043008
PARAM_VALUE 1 req->kref.refcount.refs.counter 1
PARAM_VALUE 1 req->match 5731745475252862976
PARAM_VALUE 1 req->npackets 1
PARAM_VALUE 1 req->request 4096-ptr_max
PARAM_VALUE 1 req->request_size 84
PARAM_VALUE 1 req->request_type 11
PARAM_VALUE 1 req->response 4096-ptr_max
PARAM_VALUE 1 req->response_size 84
PARAM_VALUE 1 req->response_type 12
PARAM_VALUE 3 callback_data 4096-ptr_max
BUF_SIZE 1 req 232
BUF_SIZE 1 req->request 84
BUF_SIZE 1 req->response 84
BUF_SIZE 3 callback_data 176
DATA_SOURCE 1 req r tb_cfg_request_alloc
DATA_SOURCE 3 callback_data r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &icm->request_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock
TYPE_LOCK (struct icm)->request_lock

drivers/thunderbolt/xdomain.c __tb_xdomain_response() -> tb_cfg_request()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->copy 5078013893785747456
PARAM_VALUE 1 req->kref.refcount.refs.counter 1
PARAM_VALUE 1 req->match 2285294635734847488
PARAM_VALUE 1 req->request 4096-ptr_max
PARAM_VALUE 1 req->request_size 36,40,56,72-252
PARAM_VALUE 1 req->request_type 7
PARAM_VALUE 3 callback_data 4096-ptr_max
BUF_SIZE 1 req 232
BUF_SIZE 1 req->request 36,40,56,72-252
BUF_SIZE 3 callback_data 232
CAPPED_DATA 1 req->request_size 1
DATA_SOURCE 0 ctl $0
DATA_SOURCE 1 req r tb_cfg_request_alloc
DATA_SOURCE 3 callback_data r tb_cfg_request_alloc
RX_PATH
HALF_LOCKED2 &pool->lock

drivers/thunderbolt/ctl.c tb_cfg_request_sync() -> tb_cfg_request()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->copy 964053227424043008,4578231973898088448,5078013893785747456,5307027512922566656
PARAM_VALUE 1 req->kref.refcount.refs.counter 1
PARAM_VALUE 1 req->match 2285294635734847488,4381229910526525440,5069044196936261632,5731745475252862976
PARAM_VALUE 1 req->request 4096-ptr_max
PARAM_VALUE 1 req->request_size 0-u32max
PARAM_VALUE 1 req->request_type 1-2,6-7,9,11
PARAM_VALUE 1 req->response 4096-ptr_max
PARAM_VALUE 1 req->response_size 8,12-252
PARAM_VALUE 1 req->response_type 1-2,7,9,12
PARAM_VALUE 3 callback_data 5932112582668308480
BUF_SIZE 1 req 232
BUF_SIZE 1 req->request 4,8,12,24,32,36,48,56,64,68,84,92,132,268
BUF_SIZE 1 req->response 8,12,16,24,32,36,40,56,72,84,88,96,100,132,252,268,2128
BUF_SIZE 3 callback_data 96
CAPPED_DATA 1 req->request_size 1
CAPPED_DATA 1 req->response_size 1
DATA_SOURCE 0 ctl $0
DATA_SOURCE 1 req $1
HARD_MAX 1 req->response_type 12
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 req->response_size 12-76[c]
NO_OVERFLOW_SIMPLE 0 ctl->frame_pool->allocation
NO_OVERFLOW_SIMPLE 1 req->npackets
HALF_LOCKED2 &icm->request_lock
HALF_LOCKED2 &tb->lock