Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/nfc/microread/microread.c, line 317
- drivers/nfc/pn533/pn533.c
- drivers/nfc/pn544/pn544.c, line 462
- drivers/nfc/st21nfca/dep.c
- net/nfc/core.c
- net/nfc/digital_dep.c, line 448
- net/nfc/nci/core.c, line 1008
Smatch caller information:
drivers/nfc/pn533/pn533.c pn533_activate_target_nfcdep() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| LOCK2 | &nfc_dev->dev.mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/nfc/pn533/pn533.c pn533_in_dep_link_up_complete() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/pn533/pn533.c pn533_poll_dep_complete() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->polling | 0 |
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/st21nfca/dep.c st21nfca_im_recv_atr_res_cb() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| LOCK2 | &hdev->msg_tx_mutex | ||
| TYPE_LOCK | (struct nfc_hci_dev)->msg_tx_mutex |
drivers/nfc/st21nfca/dep.c st21nfca_tm_send_atr_res() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gb | 0 |
| PARAM_VALUE | 2 | gb_len | 1-238 |
| CAPPED_DATA | 2 | gb_len | 1 |
| RX_PATH | |||
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| LOCK2 | &pool->lock |
net/nfc/core.c nfc_tm_activated() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->ops->activate_target | 1350527993488265216,2090455160799363072,5811113038757195776,7190532993760436224 |
| PARAM_VALUE | 0 | dev->ops->deactivate_target | 2858505644636377088,3505303411679371264,5287386874550202368,5538608275120844800 |
| PARAM_VALUE | 0 | dev->ops->im_transceive | 3757027147600400384,6796097066707775488,7791576850691203072,8294741778791845888 |
| PARAM_VALUE | 0 | dev->ops->start_poll | 97016609647321088,4977140339538804736,5010152465821687808,7688295346357948416 |
| PARAM_VALUE | 0 | dev->ops->stop_poll | 320249344774709248,3924151257180327936,4176340183763841024,7367369938005217280 |
| PARAM_VALUE | 0 | dev->polling | 0 |
| PARAM_VALUE | 1 | gb | 1-u64max |
| BUF_SIZE | 1 | gb | (-1),1-s32max |
| BUF_SIZE | 1 | gb | (-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | gb | $3 |
| DATA_SOURCE | 2 | gb_len | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 1 | gb | unit_byte |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| LOCK2 | 0 | &dev->dev.mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex |
net/nfc/digital_dep.c digital_in_recv_atr_res() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->ops->activate_target | 1350527993488265216,2090455160799363072,5811113038757195776,7190532993760436224 |
| PARAM_VALUE | 0 | dev->ops->deactivate_target | 2858505644636377088,3505303411679371264,5287386874550202368,5538608275120844800 |
| PARAM_VALUE | 0 | dev->ops->im_transceive | 3757027147600400384,6796097066707775488,7791576850691203072,8294741778791845888 |
| PARAM_VALUE | 0 | dev->ops->start_poll | 97016609647321088,4977140339538804736,5010152465821687808,7688295346357948416 |
| PARAM_VALUE | 0 | dev->ops->stop_poll | 320249344774709248,3924151257180327936,4176340183763841024,7367369938005217280 |
| RX_PATH | |||
| USER_DATA | 1 | *gb | 0-255 |
| UNITS | 2 | gb_len | unit_byte |
| USER_PTR | 1 | gb | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/microread/microread.c microread_dep_link_up() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | gb_len | 1-48 |
| BUF_SIZE | 1 | gb | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | gb | unit_byte |
| UNITS | 2 | gb_len | unit_byte |
| LOCK2 | &nfc_dev->dev.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 |
drivers/nfc/pn544/pn544.c pn544_hci_dep_link_up() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | gb_len | 1-48 |
| BUF_SIZE | 1 | gb | 1-s32max |
| CAPPED_DATA | 2 | gb_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | gb | unit_byte |
| UNITS | 2 | gb_len | unit_byte |
| LOCK2 | &nfc_dev->dev.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 |
net/nfc/nci/core.c nci_dep_link_up() -> nfc_set_remote_general_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dep_link_up | 0 |
| PARAM_VALUE | 0 | dev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.driver_data->cmd_q.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.driver_data->cur_conn_id | 0-255 |
| PARAM_VALUE | 0 | dev->dev.driver_data->n_targets | 1-s32max |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_completion.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_completion.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_completion.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_result | 0 |
| PARAM_VALUE | 0 | dev->dev.driver_data->req_status | 0 |
| PARAM_VALUE | 0 | dev->dev.driver_data->state.counter | 3-4 |
| PARAM_VALUE | 0 | dev->dev.driver_data->target_active_prot | 0-7 |
| PARAM_VALUE | 0 | dev->dev.driver_data->tx_q.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | dev->n_targets | 1-s32max |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops->dep_link_up | 4982742196432220160,6609184986829758464,8633503071116914688,9209094737021091840 |
| PARAM_VALUE | 0 | dev->shutting_down | 0 |
| BUF_SIZE | 1 | gb | 48 |
| CAPPED_DATA | 0 | dev->dev.driver_data->n_targets | 1 |
| CAPPED_DATA | 0 | dev->n_targets | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | gb_len | unit_byte |
| LOCK2 | 0 | &dev->dev.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 |