Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/nfc/fdp/fdp.c
- drivers/nfc/s3fwrn5/nci.c
- drivers/nfc/st-nci/core.c, line 26
- drivers/nfc/st-nci/ndlc.c, line 65
- net/nfc/nci/core.c, line 367
Smatch caller information:
drivers/nfc/fdp/fdp.c fdp_nci_patch_cmd() -> nci_prop_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | ndev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->driver_data->ram_patch_version | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ops->init | 0,8782083445668626432 |
| PARAM_VALUE | 0 | ndev->ops->setup | 5634939265862148096,6077193304604819456 |
| 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ndev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ndev->req_result | 0 |
| PARAM_VALUE | 0 | ndev->req_status | 0 |
| PARAM_VALUE | 1 | oid | 8 |
| PARAM_VALUE | 2 | len | 1 |
| PARAM_VALUE | 3 | *payload | 0-1,255 |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &nfc_dev->dev.mutex | ||
| LOCK2 | 0 | &ndev->req_lock | |
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/fdp/fdp.c fdp_nci_set_production_data() -> nci_prop_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | ndev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ops->init | 0,8782083445668626432 |
| PARAM_VALUE | 0 | ndev->ops->post_setup | 2081724076561776640,3317669546448752640 |
| PARAM_VALUE | 0 | ndev->ops->setup | 0,5634939265862148096,6077193304604819456 |
| 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ndev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ndev->req_result | 0 |
| PARAM_VALUE | 0 | ndev->req_status | 0 |
| PARAM_VALUE | 1 | oid | 35 |
| PARAM_VALUE | 3 | payload | 4096-ptr_max |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | payload | (-1),9 |
| BUF_SIZE | 3 | payload | (-1),9 |
| DATA_SOURCE | 0 | ndev | $0 |
| DATA_SOURCE | 2 | len | $1 |
| DATA_SOURCE | 3 | payload | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nfc_dev->dev.mutex | ||
| LOCK2 | 0 | &ndev->req_lock | |
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/s3fwrn5/nci.c s3fwrn5_nci_rf_configure() -> nci_prop_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | oid | 40 |
| PARAM_VALUE | 2 | len | 3 |
| PARAM_VALUE | 3 | payload | 6466331148918599680 |
| BUF_SIZE | 3 | payload | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &ndev->req_lock | ||
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/s3fwrn5/nci.c s3fwrn5_nci_rf_configure() -> nci_prop_cmd()
| 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->cmd_work.entry.next->prev | 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_result | 0 |
| PARAM_VALUE | 0 | ndev->req_status | 0 |
| PARAM_VALUE | 0 | ndev->tx_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | oid | 38 |
| PARAM_VALUE | 2 | len | 0 |
| PARAM_VALUE | 3 | payload | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ndev->req_lock | ||
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/s3fwrn5/nci.c s3fwrn5_nci_rf_configure() -> nci_prop_cmd()
| 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->cmd_work.entry.next->prev | 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_result | 0 |
| PARAM_VALUE | 0 | ndev->req_status | 0 |
| PARAM_VALUE | 0 | ndev->tx_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | oid | 34 |
| PARAM_VALUE | 2 | len | 1-253 |
| PARAM_VALUE | 3 | payload | 7234910130842411008 |
| BUF_SIZE | 3 | payload | 253 |
| CAPPED_DATA | 2 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &ndev->req_lock | ||
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/s3fwrn5/nci.c s3fwrn5_nci_rf_configure() -> nci_prop_cmd()
| 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->cmd_work.entry.next->prev | 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_result | 0 |
| PARAM_VALUE | 0 | ndev->req_status | 0 |
| PARAM_VALUE | 0 | ndev->tx_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | oid | 39 |
| PARAM_VALUE | 2 | len | 2 |
| PARAM_VALUE | 3 | payload | 769408299665891328 |
| BUF_SIZE | 3 | payload | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &ndev->req_lock | ||
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |
drivers/nfc/st-nci/ndlc.c ndlc_close() -> nci_prop_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | oid | 1 |
| PARAM_VALUE | 2 | len | 2 |
| PARAM_VALUE | 3 | payload | 9140736429777645568 |
| BUF_SIZE | 3 | payload | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &ndev->req_lock |
drivers/nfc/st-nci/core.c st_nci_init() -> nci_prop_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | ndev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ops->init | 8782083445668626432 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ndev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | oid | 1 |
| PARAM_VALUE | 2 | len | 2 |
| PARAM_VALUE | 3 | payload | 3264208810001125376 |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | payload | 2 |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &nfc_dev->dev.mutex | ||
| LOCK2 | 0 | &ndev->req_lock | |
| 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 | ||
| TYPE_LOCK | (struct nci_dev)->req_lock |