Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/nfc/nci/core.c nci_activate_target() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->n_targets 1-s32max
PARAM_VALUE 0 ndev->state.counter 3
PARAM_VALUE 0 ndev->target_active_prot 0
PARAM_VALUE 0 ndev->targets 4096-ptr_max
PARAM_VALUE 2 opt 4792433614014238720
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 2
CAPPED_DATA 0 ndev->n_targets 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
TYPE_LOCK (struct device)->mutex

net/nfc/nci/core.c nci_deactivate_target() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->state.counter 4
PARAM_VALUE 0 ndev->target_active_prot 0
PARAM_VALUE 2 opt 0-1
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
TYPE_LOCK (struct device)->mutex

net/nfc/nci/core.c nci_dep_link_down() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->state.counter 1,5
PARAM_VALUE 2 opt 0
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
TYPE_LOCK (struct device)->mutex

net/nfc/nci/core.c nci_nfcc_loopback() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 2 opt 1607545582727131136
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 16
CAPPED_DATA 0 ndev->cur_conn_id 1
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/nfc/nci/core.c nci_set_local_general_bytes() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 2 opt 1137182624004853760
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &nfc_dev->genl_data.genl_data_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nfc_genl_data)->genl_data_mutex

net/nfc/nci/core.c nci_set_local_general_bytes() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cmd_q.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_completion.done 0-4294967293,u32max
PARAM_VALUE 0 ndev->req_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_completion.wait.lock.owner (-1)
PARAM_VALUE 0 ndev->req_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ndev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->req_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ndev->req_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ndev->req_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ndev->req_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ndev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ndev->req_result 0
PARAM_VALUE 0 ndev->req_status 0
PARAM_VALUE 0 ndev->tx_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 opt 1137182624004853760
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 24
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &nfc_dev->genl_data.genl_data_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nfc_genl_data)->genl_data_mutex

net/nfc/nci/core.c nci_start_poll() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->state.counter 3-4
PARAM_VALUE 0 ndev->target_active_prot 0
PARAM_VALUE 2 opt 0
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &nfc_dev->genl_data.genl_data_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nfc_genl_data)->genl_data_mutex

net/nfc/nci/core.c nci_start_poll() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cmd_q.qlen 0-4294967295
PARAM_VALUE 0 ndev->req_completion.done 0-4294967295
PARAM_VALUE 0 ndev->req_completion.wait.lock.owner_cpu 0-4294967295
PARAM_VALUE 0 ndev->req_completion.wait.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ndev->req_result 0-4294967295
PARAM_VALUE 0 ndev->req_status 0-4294967295
PARAM_VALUE 0 ndev->state.counter s32min-0,3-s32max
PARAM_VALUE 0 ndev->target_active_prot 0
PARAM_VALUE 0 ndev->tx_q.qlen 0-4294967295
PARAM_VALUE 2 opt 8234593084418449408
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 8
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &nfc_dev->genl_data.genl_data_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nfc_genl_data)->genl_data_mutex

net/nfc/nci/core.c nci_stop_poll() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->state.counter 1-2
PARAM_VALUE 2 opt 0
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ndev unit_byte
LOCK2 &nfc_dev->dev.mutex
LOCK2 &nfc_dev->genl_data.genl_data_mutex
HALF_LOCKED2 global &nfc_devlist_mutex
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct nfc_genl_data)->genl_data_mutex

net/nfc/nci/hci.c nci_hci_get_param() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->gate2pipe 4096-ptr_max
PARAM_VALUE 0 ndev->ops->disable_se 0,1169938961821376512
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->enable_se 0,7245849656210124800
PARAM_VALUE 0 *ndev->hci_dev->gate2pipe 0-255
PARAM_VALUE 2 opt 6075214409683836928
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 15
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &nfc_dev->dev.mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/nfc/nci/hci.c nci_hci_open_pipe() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cur_dest_type 3
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info->data_exchange_cb 3869093464605970432
PARAM_VALUE 0 ndev->hci_dev->conn_info->data_exchange_cb_context 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->count_pipes 0
PARAM_VALUE 0 ndev->hci_dev->expected_pipes 0
PARAM_VALUE 0 ndev->hci_dev->gate2pipe 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->init_data.gate_count 6
PARAM_VALUE 0 ndev->hci_dev->init_data.gates 4096-ptr_max
PARAM_VALUE 0 ndev->ops 4096-ptr_max
PARAM_VALUE 0 ndev->ops->discover_se 5124400766258196480
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->tx_q.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *ndev->hci_dev->gate2pipe 0-255
PARAM_VALUE 2 opt 8693179561205616640
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 15
DATA_SOURCE 0 ndev $0
MEM_ZERO 0 ndev->hci_dev->gate2pipe
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex

net/nfc/nci/hci.c nci_hci_send_cmd() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->gate2pipe 4096-ptr_max
PARAM_VALUE 0 ndev->ops->discover_se 0,5124400766258196480
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 *ndev->hci_dev->gate2pipe 0-255
PARAM_VALUE 2 opt 6400410390331957248
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 15
DATA_SOURCE 0 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ndev unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &nfc_dev->dev.mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/nfc/nci/hci.c nci_hci_set_param() -> nci_request()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cur_dest_type 3
PARAM_VALUE 0 ndev->hci_dev 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info->data_exchange_cb 3869093464605970432
PARAM_VALUE 0 ndev->hci_dev->conn_info->data_exchange_cb_context 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->conn_info->rx_skb->data 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->count_pipes 0
PARAM_VALUE 0 ndev->hci_dev->expected_pipes 0
PARAM_VALUE 0 ndev->hci_dev->gate2pipe 4096-ptr_max
PARAM_VALUE 0 ndev->hci_dev->init_data.gate_count 6
PARAM_VALUE 0 ndev->ops 4096-ptr_max
PARAM_VALUE 0 ndev->ops->discover_se 5124400766258196480
PARAM_VALUE 0 ndev->ops->hci_load_session 0,6317225194690019328
PARAM_VALUE 0 ndev->req_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ndev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 ndev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ndev->req_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 *ndev->hci_dev->gate2pipe 0-255
PARAM_VALUE 2 opt 6457629541419679744
PARAM_VALUE 3 timeout 0-536870912
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 0 ndev s32min-(-2),1-s32max
BUF_SIZE 2 opt 15
DATA_SOURCE 0 ndev $0
STR_LEN 0 ndev (-1)-8
STR_LEN 0 ndev (-1)-8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc_dev->dev.mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct device)->mutex