Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/icm.c icm_ar_driver_ready() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->complete | 7344484008833683456,7933475869276585984 |
| PARAM_VALUE | 0 | tb->cm_ops->driver_ready | 0,5983533379181912064 |
| PARAM_VALUE | 0 | tb->cm_ops->runtime_resume | 0,1088654030484299776,6391206352141213696 |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->nhi->ops->runtime_resume | 0,9109942058640949248 |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 2178112616197378048 |
| PARAM_VALUE | 2 | request_size | 4 |
| PARAM_VALUE | 3 | response | 2160296099301572608 |
| PARAM_VALUE | 4 | response_size | 8 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | request | 4 |
| BUF_SIZE | 3 | response | 8 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tb->nhi->hop_count | 0-1023 |
| NO_OVERFLOW_SIMPLE | 0 | tb->ctl->frame_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | tb->nhi->hop_count | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/icm.c icm_ar_get_boot_acl() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | tb->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | request | 7059062036365549568 |
| PARAM_VALUE | 2 | request_size | 132 |
| PARAM_VALUE | 3 | response | 5953359021410480128 |
| PARAM_VALUE | 4 | response_size | 132 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 132 |
| BUF_SIZE | 3 | response | 132 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tb->nboot_acl | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_ar_get_route() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->privdata->rescan_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | tb->root_switch | 1-u64max |
| PARAM_VALUE | 1 | request | 331828710733086720 |
| PARAM_VALUE | 2 | request_size | 8 |
| PARAM_VALUE | 3 | response | 1218949238375616512 |
| PARAM_VALUE | 4 | response_size | 16 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 8 |
| BUF_SIZE | 3 | response | 16 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_ar_set_boot_acl() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | tb->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tb->nboot_acl | 1-s32max |
| PARAM_VALUE | 1 | request | 3990405868171968512 |
| PARAM_VALUE | 2 | request_size | 132 |
| PARAM_VALUE | 3 | response | 7945465430681047040 |
| PARAM_VALUE | 4 | response_size | 132 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 132 |
| BUF_SIZE | 3 | response | 132 |
| CAPPED_DATA | 0 | tb->nboot_acl | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tb->nboot_acl | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_fr_add_switch_key() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->add_switch_key | 1002246512258781184,6981059831128449024 |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 1 | request | 579147714336632832 |
| PARAM_VALUE | 2 | request_size | 56 |
| PARAM_VALUE | 3 | response | 5720879084280643584 |
| PARAM_VALUE | 4 | response_size | 24 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 56 |
| BUF_SIZE | 3 | response | 24 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_fr_approve_switch() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->add_switch_key | 0,1002246512258781184,6981059831128449024 |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 0 | tb->cm_ops->challenge_switch_key | 0,2464593166624247808,8264241279748280320 |
| PARAM_VALUE | 1 | request | 6914663201737068544 |
| PARAM_VALUE | 2 | request_size | 24 |
| PARAM_VALUE | 3 | response | 8729187944382840832 |
| PARAM_VALUE | 4 | response_size | 24 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 10000 |
| BUF_SIZE | 1 | request | 24 |
| BUF_SIZE | 3 | response | 24 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_fr_approve_xdomain_paths() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->approve_xdomain_paths | 3901506540878663680,4968364433096765440,6378239632894922752 |
| PARAM_VALUE | 1 | request | 3515554959248834560 |
| PARAM_VALUE | 2 | request_size | 32 |
| PARAM_VALUE | 3 | response | 6776749655665999872 |
| PARAM_VALUE | 4 | response_size | 32 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 32 |
| BUF_SIZE | 3 | response | 32 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dt->lock |
drivers/thunderbolt/icm.c icm_fr_challenge_switch_key() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 0 | tb->cm_ops->challenge_switch_key | 2464593166624247808,8264241279748280320 |
| PARAM_VALUE | 1 | request | 8774189112840880128 |
| PARAM_VALUE | 2 | request_size | 56 |
| PARAM_VALUE | 3 | response | 8168396062439317504 |
| PARAM_VALUE | 4 | response_size | 88 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 56 |
| BUF_SIZE | 3 | response | 88 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_fr_driver_ready() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->complete | 7344484008833683456,7933475869276585984 |
| PARAM_VALUE | 0 | tb->cm_ops->driver_ready | 0,5983533379181912064 |
| PARAM_VALUE | 0 | tb->cm_ops->runtime_resume | 0,1088654030484299776,6391206352141213696 |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->nhi->ops->runtime_resume | 0,9109942058640949248 |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 1630009331082600448 |
| PARAM_VALUE | 2 | request_size | 4 |
| PARAM_VALUE | 3 | response | 2904936118152376320 |
| PARAM_VALUE | 4 | response_size | 8 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | request | 4 |
| BUF_SIZE | 3 | response | 8 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tb->nhi->hop_count | 0-1023 |
| NO_OVERFLOW_SIMPLE | 0 | tb->ctl->frame_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | tb->nhi->hop_count | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/icm.c icm_fr_get_route() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tb->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tb->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tb->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->privdata->rescan_work.cpu | s32min-s32max |
| PARAM_VALUE | 0 | tb->root_switch | 1-u64max |
| PARAM_VALUE | 1 | request | 664573270339289088 |
| PARAM_VALUE | 2 | request_size | 4 |
| PARAM_VALUE | 3 | response | 4096-ptr_max |
| PARAM_VALUE | 4 | response_size | 152 |
| PARAM_VALUE | 5 | npackets | 14 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 4 |
| BUF_SIZE | 3 | response | 2128 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 3 | response | r _kzalloc_noprof |
| NO_OVERFLOW_SIMPLE | 5 | npackets | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| UNITS | 5 | npackets | unit_array_size |
| ELEM_COUNT | 3 | ==response5 | 8051 |
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_icl_driver_ready() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->complete | 7344484008833683456,7933475869276585984 |
| PARAM_VALUE | 0 | tb->cm_ops->driver_ready | 0,5983533379181912064 |
| PARAM_VALUE | 0 | tb->cm_ops->runtime_resume | 0,1088654030484299776,6391206352141213696 |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->nhi->ops->runtime_resume | 0,9109942058640949248 |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 6007110510418563072 |
| PARAM_VALUE | 2 | request_size | 4 |
| PARAM_VALUE | 3 | response | 159471864698613760 |
| PARAM_VALUE | 4 | response_size | 16 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 20000 |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | request | 4 |
| BUF_SIZE | 3 | response | 16 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tb->nhi->hop_count | 0-1023 |
| NO_OVERFLOW_SIMPLE | 0 | tb->ctl->frame_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | tb->nhi->hop_count | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/icm.c icm_tr_add_switch_key() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->add_switch_key | 1002246512258781184,6981059831128449024 |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 1 | request | 3311423001114181632 |
| PARAM_VALUE | 2 | request_size | 64 |
| PARAM_VALUE | 3 | response | 1160039516157198336 |
| PARAM_VALUE | 4 | response_size | 32 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 64 |
| BUF_SIZE | 3 | response | 32 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_tr_approve_switch() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->add_switch_key | 0,1002246512258781184,6981059831128449024 |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 0 | tb->cm_ops->challenge_switch_key | 0,2464593166624247808,8264241279748280320 |
| PARAM_VALUE | 1 | request | 9186394087134150656 |
| PARAM_VALUE | 2 | request_size | 32 |
| PARAM_VALUE | 3 | response | 7007673521081999360 |
| PARAM_VALUE | 4 | response_size | 32 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 10000 |
| BUF_SIZE | 1 | request | 32 |
| BUF_SIZE | 3 | response | 32 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_tr_approve_xdomain_paths() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->approve_xdomain_paths | 3901506540878663680,4968364433096765440,6378239632894922752 |
| PARAM_VALUE | 1 | request | 5888634382937923584 |
| PARAM_VALUE | 2 | request_size | 36 |
| PARAM_VALUE | 3 | response | 1207303388059910144 |
| PARAM_VALUE | 4 | response_size | 36 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 36 |
| BUF_SIZE | 3 | response | 36 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dt->lock |
drivers/thunderbolt/icm.c icm_tr_challenge_switch_key() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->approve_switch | 31640814900572160,2048108674026024960,5888713353499512832 |
| PARAM_VALUE | 0 | tb->cm_ops->challenge_switch_key | 2464593166624247808,8264241279748280320 |
| PARAM_VALUE | 1 | request | 2048585803062542336 |
| PARAM_VALUE | 2 | request_size | 64 |
| PARAM_VALUE | 3 | response | 4710390795491180544 |
| PARAM_VALUE | 4 | response_size | 96 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 64 |
| BUF_SIZE | 3 | response | 96 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/icm.c icm_tr_driver_ready() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->complete | 7344484008833683456,7933475869276585984 |
| PARAM_VALUE | 0 | tb->cm_ops->driver_ready | 0,5983533379181912064 |
| PARAM_VALUE | 0 | tb->cm_ops->runtime_resume | 0,1088654030484299776,6391206352141213696 |
| PARAM_VALUE | 0 | tb->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tb->nhi | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->nhi->ops->runtime_resume | 0,9109942058640949248 |
| PARAM_VALUE | 0 | tb->privdata | 4096-ptr_max |
| PARAM_VALUE | 1 | request | 5318389189438869504 |
| PARAM_VALUE | 2 | request_size | 4 |
| PARAM_VALUE | 3 | response | 5213594606724366336 |
| PARAM_VALUE | 4 | response_size | 16 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 10 |
| PARAM_VALUE | 7 | timeout_msec | 250 |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tb | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | request | 4 |
| BUF_SIZE | 3 | response | 16 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tb->nhi->hop_count | 0-1023 |
| NO_OVERFLOW_SIMPLE | 0 | tb->ctl->frame_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | tb->nhi->hop_count | |
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/icm.c icm_tr_xdomain_tear_down() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops->disconnect_xdomain_paths | 458351564107493376,2041890303655161856,7345532823409143808 |
| PARAM_VALUE | 1 | request | 7620761511654744064 |
| PARAM_VALUE | 2 | request_size | 32 |
| PARAM_VALUE | 3 | response | 1537550929194598400 |
| PARAM_VALUE | 4 | response_size | 32 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 1 | request | 32 |
| BUF_SIZE | 3 | response | 32 |
| DATA_SOURCE | 0 | tb | $0 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dt->lock | ||
| HALF_LOCKED2 | &net->connection_lock |
drivers/thunderbolt/icm.c icm_usb4_switch_op() -> icm_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->cm_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tb->privdata->proto_version | 3-255 |
| PARAM_VALUE | 1 | request | 1071607058167017472 |
| PARAM_VALUE | 2 | request_size | 84 |
| PARAM_VALUE | 3 | response | 5894114132371988480 |
| PARAM_VALUE | 4 | response_size | 84 |
| PARAM_VALUE | 5 | npackets | 1 |
| PARAM_VALUE | 6 | retries | 3 |
| PARAM_VALUE | 7 | timeout_msec | 5000 |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| BUF_SIZE | 1 | request | 84 |
| BUF_SIZE | 3 | response | 84 |
| FUZZY_MAX | 0 | tb->privdata->proto_version | 3 |
| MEM_ZERO | 1 | request | |
| MEM_ZERO | 3 | response | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | request_size | unit_byte |
| UNITS | 4 | response_size | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sw->tb->lock |