Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cdx/controller/mcdi.c _cdx_mcdi_cancel_cmd() -> cdx_mcdi_remove_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcdi | 4096-ptr_max |
| PARAM_VALUE | 0 | mcdi->mode | 1 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->rc | (-32) |
| PARAM_VALUE | 1 | cmd->state | 0-1 |
| PARAM_VALUE | 2 | cleanup_list | 8005357632440406016 |
| PARAM_VALUE | 2 | cleanup_list->next | 8005357632440406016 |
| PARAM_VALUE | 2 | cleanup_list->prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | cleanup_list->prev->next->next | 5201804025036742656,8005357632440406016 |
| BUF_SIZE | 0 | mcdi | 432 |
| BUF_SIZE | 2 | cleanup_list->next | 16 |
| CAPPED_DATA | 0 | &mcdi->cmd_list | 1 |
| CAPPED_DATA | 1 | &cmd->list | 1 |
| DATA_SOURCE | 0 | mcdi | $0 |
| DATA_SOURCE | 2 | cleanup_list | $2 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &mcdi->iface_lock | ||
| TYPE_LOCK | (struct cdx_mcdi_iface)->iface_lock |
drivers/cdx/controller/mcdi.c cdx_mcdi_complete_cmd() -> cdx_mcdi_remove_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcdi | 4096-ptr_max |
| PARAM_VALUE | 0 | mcdi->iface_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcdi->iface_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcdi->iface_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcdi->iface_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mcdi->seq_held_by | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->rc | (-114),(-105),(-98),(-95),(-71),(-62),(-35)-(-34),(-28),(-22),(-16),(-13)-(-11),(-5)-(-4),(-2)-0 |
| PARAM_VALUE | 1 | cmd->state | 0-2,5-u32max |
| PARAM_VALUE | 2 | cleanup_list | 5201804025036742656 |
| PARAM_VALUE | 2 | cleanup_list->next | 5201804025036742656 |
| PARAM_VALUE | 2 | cleanup_list->prev | 5201804025036742656 |
| BUF_SIZE | 0 | mcdi | 432 |
| CAPPED_DATA | 1 | cmd | 1 |
| DATA_SOURCE | 0 | mcdi | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | cleanup_list | $4 |
| PARAM_COMPARE | 1 | cmd | > $0->db_held_by |
| PARAM_COMPARE | 1 | cmd | > $0->db_held_by |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mcdi->iface_lock | |
| HALF_LOCKED2 | &channel->recv_lock | ||
| HALF_LOCKED2 | &ept->cb_lock | ||
| TYPE_LOCK | (struct cdx_mcdi_iface)->iface_lock |
drivers/cdx/controller/mcdi.c cdx_mcdi_timeout_cmd() -> cdx_mcdi_remove_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mcdi | 4096-ptr_max |
| PARAM_VALUE | 0 | mcdi->iface_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcdi->iface_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mcdi->iface_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mcdi->iface_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mcdi->iface_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cleanup_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cleanup_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cleanup_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cleanup_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cleanup_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd | 1-9 |
| PARAM_VALUE | 1 | cmd->completer | 1506549079449554944 |
| PARAM_VALUE | 1 | cmd->cookie | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | cmd->inbuf | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd->inlen | 0,4,8,12,28 |
| PARAM_VALUE | 1 | cmd->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->mcdi | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->mcdi->mode | 0 |
| PARAM_VALUE | 1 | cmd->mcdi->prev_seq | 0-15 |
| PARAM_VALUE | 1 | cmd->outbuf | 0 |
| PARAM_VALUE | 1 | cmd->outlen | 0 |
| PARAM_VALUE | 1 | cmd->quiet | 0 |
| PARAM_VALUE | 1 | cmd->rc | (-110) |
| PARAM_VALUE | 1 | cmd->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | cleanup_list | 8005357632440406016 |
| PARAM_VALUE | 2 | cleanup_list->next | 8005357632440406016 |
| PARAM_VALUE | 2 | cleanup_list->prev | 8005357632440406016 |
| BUF_SIZE | 0 | mcdi | 432 |
| BUF_SIZE | 1 | cmd | 216 |
| BUF_SIZE | 1 | cmd->completer | 8 |
| BUF_SIZE | 1 | cmd->inbuf | (-1),8,12,28 |
| DATA_SOURCE | 0 | mcdi | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | cleanup_list | $2 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mcdi->iface_lock | |
| TYPE_LOCK | (struct cdx_mcdi_iface)->iface_lock |