Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/nxp/nxpwifi/init.c nxpwifi_shutdown_drv() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_timer.entry.pprev 0
PARAM_VALUE 0 adapter->cmd_timer.flags 0-4194302
PARAM_VALUE 0 adapter->cmd_timer.function 0
PARAM_VALUE 0 adapter->curr_cmd 1-u64max
PARAM_VALUE 0 adapter->hw_status 0-2,4-u32max
PARAM_VALUE 0 adapter->mem_type_mapping_tbl->done_flag 221,240-254
PARAM_VALUE 0 adapter->rx_workqueue 0
PARAM_VALUE 0 adapter->workqueue 0
PARAM_VALUE 0 *adapter->rx_workqueue->lockdep_map->name 0-255
PARAM_VALUE 0 *adapter->rx_workqueue->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *adapter->workqueue->lockdep_map->name 0-255
PARAM_VALUE 0 *adapter->workqueue->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 cmd_node 1-u64max
BUF_SIZE 0 adapter (-1),7536
BUF_SIZE 0 adapter (-1),7536
BUF_SIZE 0 adapter->card (-1),352
CAPPED_DATA 0 &adapter->cmd_timer 1
DATA_SOURCE 0 adapter $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adapter->num_in_chan_stats
NO_OVERFLOW_SIMPLE 0 adapter->wiphy->n_radio

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_cancel_all_pending_cmd() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_pending_q_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->curr_cmd 0,4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->wait_q_enabled 0
PARAM_VALUE 0 adapter->nxpwifi_cmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd_node 4096-ptr_max
CAPPED_DATA 0 &adapter->cmd_pending_q 1
CAPPED_DATA 1 &cmd_node->list 1
DATA_SOURCE 0 adapter $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &adapter->cmd_pending_q_lock
LOCK2 0 &adapter->nxpwifi_cmd_lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct nxpwifi_adapter)->cmd_pending_q_lock
TYPE_LOCK (struct nxpwifi_adapter)->nxpwifi_cmd_lock

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_cancel_pending_ioctl() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_wait_q.status (-110)
PARAM_VALUE 0 adapter->curr_cmd 0
PARAM_VALUE 0 adapter->dbg.last_cmd_act 4096-ptr_max
PARAM_VALUE 0 adapter->dbg.last_cmd_id 4096-ptr_max
PARAM_VALUE 0 adapter->dbg.timeout_cmd_act 0-255
PARAM_VALUE 0 adapter->nxpwifi_cmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmd_node 4096-ptr_max
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_dnld_cmd_to_fw() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 1 cmd_node 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_skb 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_skb->data 4096-ptr_max
DATA_SOURCE 1 cmd_node $1
NOCHECK_CALL

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_dnld_cmd_to_fw() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->hw_status 2
PARAM_VALUE 1 cmd_node 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_no 0-168,171-u16max
PARAM_VALUE 1 cmd_node->cmd_skb 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_skb->data 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_skb->data->size 1-u16max
DATA_SOURCE 1 cmd_node $1
NOCHECK_CALL
USER_DATA 1 cmd_node->cmd_no 0-168,171-u16max[u]

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_dnld_cmd_to_fw() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_sent 0-1
PARAM_VALUE 0 adapter->curr_cmd 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->cmd_no 0-u16max
PARAM_VALUE 0 adapter->curr_cmd->cmd_skb 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->priv 4096-ptr_max
PARAM_VALUE 0 adapter->nxpwifi_cmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *adapter->dbg.last_mp_curr_wr_port 0-4294967295
PARAM_VALUE 0 *adapter->dbg.last_mp_wr_bitmap 0-4294967295
PARAM_VALUE 0 *adapter->dbg.last_mp_wr_len 0-4294967295
PARAM_VALUE 0 *adapter->dbg.last_mp_wr_ports 0-4294967295
PARAM_VALUE 1 cmd_node 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_no 0-u16max
PARAM_VALUE 1 cmd_node->cmd_skb 4096-ptr_max
PARAM_VALUE 1 cmd_node->priv 4096-ptr_max
CAPPED_DATA 0 adapter->intf_hdr_len 1
DATA_SOURCE 1 cmd_node $1
NOCHECK_CALL
USER_DATA 0 adapter->curr_cmd->cmd_no 0-u16max[u]
USER_DATA 1 cmd_node->cmd_no 0-u16max[u]

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_process_cmdresp() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_resp_received 0
PARAM_VALUE 0 adapter->cmd_timer.entry.pprev 0
PARAM_VALUE 0 adapter->cmd_timer.flags 0-4194302
PARAM_VALUE 0 adapter->cmd_timer.function 0
PARAM_VALUE 0 adapter->curr_cmd 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->cmd_no 0-4095
PARAM_VALUE 0 adapter->curr_cmd->resp_skb 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->resp_skb->data 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->resp_skb->data->command 0-4095
PARAM_VALUE 0 adapter->data_received 0
PARAM_VALUE 0 adapter->dbg.last_cmd_resp_id 4096-ptr_max
PARAM_VALUE 0 adapter->event_received 0
PARAM_VALUE 0 adapter->hw_status 0-2,4-u32max
PARAM_VALUE 0 adapter->int_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->int_status 0
PARAM_VALUE 1 cmd_node 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_no 0-4095
PARAM_VALUE 1 cmd_node->resp_skb 4096-ptr_max
PARAM_VALUE 1 cmd_node->resp_skb->data 4096-ptr_max
PARAM_VALUE 1 cmd_node->resp_skb->data->command 0-4095
CAPPED_DATA 0 adapter->curr_cmd->cmd_no 1
CAPPED_DATA 0 adapter->priv_num 1
CAPPED_DATA 0 &adapter->cmd_timer 1
CAPPED_DATA 1 cmd_node->cmd_no 1
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->curr_cmd->cmd_flag 0x0,0xffffffff
BIT_INFO 1 cmd_node->cmd_flag 0x0,0xffffffff
NOCHECK_CALL

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_process_cmdresp() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_resp_received 0
PARAM_VALUE 0 adapter->cmd_timer.entry.pprev 0
PARAM_VALUE 0 adapter->cmd_timer.flags 0-4194302
PARAM_VALUE 0 adapter->cmd_timer.function 0
PARAM_VALUE 0 adapter->curr_cmd 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->cmd_no 0-4095
PARAM_VALUE 0 adapter->curr_cmd->resp_skb 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->resp_skb->data 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd->resp_skb->data->command 0-4095
PARAM_VALUE 0 adapter->data_received 0
PARAM_VALUE 0 adapter->dbg.last_cmd_resp_id 4096-ptr_max
PARAM_VALUE 0 adapter->event_received 0
PARAM_VALUE 0 adapter->hw_status 0-2,4-u32max
PARAM_VALUE 0 adapter->int_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->int_status 0
PARAM_VALUE 1 cmd_node 4096-ptr_max
PARAM_VALUE 1 cmd_node->cmd_no 0-4095
PARAM_VALUE 1 cmd_node->resp_skb 4096-ptr_max
PARAM_VALUE 1 cmd_node->resp_skb->data 4096-ptr_max
PARAM_VALUE 1 cmd_node->resp_skb->data->command 0-4095
PARAM_VALUE 1 cmd_node->resp_skb->data->result 0
CAPPED_DATA 0 adapter->curr_cmd->cmd_no 1
CAPPED_DATA 0 adapter->priv_num 1
CAPPED_DATA 0 &adapter->cmd_timer 1
CAPPED_DATA 1 cmd_node->cmd_no 1
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->curr_cmd->cmd_flag 0x0,0xfffffffe
BIT_INFO 1 cmd_node->cmd_flag 0x0,0xfffffffe
NOCHECK_CALL

drivers/net/wireless/nxp/nxpwifi/cmdevt.c nxpwifi_process_cmdresp_error() -> nxpwifi_recycle_cmd_node()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->curr_cmd 4096-ptr_max
PARAM_VALUE 1 cmd_node 4096-ptr_max
NOCHECK_CALL