Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/nfc/microread/microread.c, line 562
- drivers/nfc/pn533/pn533.c
- net/nfc/core.c
- net/nfc/digital_core.c, line 396
- net/nfc/hci/core.c, line 369
- net/nfc/nci/ntf.c
Smatch caller information:
drivers/nfc/pn533/pn533.c pn533_autopoll_complete() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 5902883840843825152 |
| PARAM_VALUE | 1 | targets->nfcid1_len | 0-10 |
| PARAM_VALUE | 1 | targets->nfcid2_len | 0,8 |
| PARAM_VALUE | 1 | targets->sensf_res_len | 0,9 |
| PARAM_VALUE | 1 | targets->supported_protocols | 2,4,8,16,32,48,64 |
| PARAM_VALUE | 2 | n_targets | 1 |
| MEM_ZERO | 1 | targets | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | targets->nfcid1_len | 0-10[u] |
| USER_DATA | 1 | targets->sel_res | 0[u] |
| USER_DATA | 1 | targets->sens_res | 0[u] |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/pn533/pn533.c pn533_in_dep_link_up_complete() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 4968087868932239360 |
| PARAM_VALUE | 1 | targets->nfcid1_len | 10 |
| PARAM_VALUE | 1 | targets->supported_protocols | 32 |
| PARAM_VALUE | 2 | n_targets | 1 |
| MEM_ZERO | 1 | targets | |
| USER_PTR | 1 | targets->nfcid1 | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/pn533/pn533.c pn533_poll_dep_complete() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 7496218016181886976 |
| PARAM_VALUE | 1 | targets->nfcid1_len | 10 |
| PARAM_VALUE | 1 | targets->supported_protocols | 32 |
| PARAM_VALUE | 2 | n_targets | 1 |
| MEM_ZERO | 1 | targets | |
| USER_PTR | 1 | targets->nfcid1 | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/pn533/pn533.c pn533_target_found() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 4212551579184279552 |
| PARAM_VALUE | 1 | targets->nfcid1_len | 0-10 |
| PARAM_VALUE | 1 | targets->nfcid2_len | 0,8 |
| PARAM_VALUE | 1 | targets->sensf_res_len | 0,9 |
| PARAM_VALUE | 1 | targets->supported_protocols | 2,4,8,16,32,48,64 |
| PARAM_VALUE | 2 | n_targets | 1 |
| MEM_ZERO | 1 | targets | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | targets->nfcid1_len | 0-10[u] |
| USER_DATA | 1 | targets->sel_res | 0[u] |
| USER_DATA | 1 | targets->sens_res | 0[u] |
| LOCK2 | &pool->lock |
net/nfc/nci/ntf.c nci_rf_discover_ntf_packet() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | targets | 960 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/nfc/nci/ntf.c nci_target_auto_activated() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 4096-ptr_max |
| BUF_SIZE | 1 | targets | 960 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/nfc/core.c nfc_driver_failure() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 0 |
| PARAM_VALUE | 2 | n_targets | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->msg_tx_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nfc_hci_dev)->msg_tx_mutex |
net/nfc/hci/core.c nfc_hci_target_discovered() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 4096-ptr_max |
| PARAM_VALUE | 1 | targets->hci_reader_gate | 1-255 |
| PARAM_VALUE | 1 | targets->supported_protocols | 2,4,8,16,32,48,64,128 |
| PARAM_VALUE | 1 | *targets->iso15693_uid | 0-255 |
| PARAM_VALUE | 1 | *targets->nfcid1 | 0-255 |
| PARAM_VALUE | 2 | n_targets | 1 |
| BUF_SIZE | 1 | targets | 96 |
| DATA_SOURCE | 1 | targets | r _kzalloc_noprof |
| FUZZY_MAX | 1 | targets->supported_protocols | 64 |
| RX_PATH | |||
| USER_DATA | 1 | targets->sel_res | 0-255 |
| USER_DATA | 1 | targets->sens_res | 0-u16max |
| USER_DATA | 1 | *targets->nfcid1 | 0-255 |
| USER_DATA | 1 | *targets->sensf_res | 0-255 |
| USER_PTR | 1 | targets->nfcid1 | |
| HALF_LOCKED2 | &pool->lock |
drivers/nfc/microread/microread.c microread_target_discovered() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targets | 4096-ptr_max |
| PARAM_VALUE | 1 | targets->nfcid1_len | 0-10 |
| PARAM_VALUE | 1 | targets->supported_protocols | 2,4,8,16,32,48,64 |
| PARAM_VALUE | 2 | n_targets | 1 |
| BUF_SIZE | 1 | targets | 96 |
| CAPPED_DATA | 1 | targets->nfcid1_len | 1 |
| DATA_SOURCE | 1 | targets | r _kzalloc_noprof |
| FUZZY_MAX | 1 | targets->nfcid1_len | 10 |
| FUZZY_MAX | 1 | targets->supported_protocols | 64 |
| RX_PATH | |||
| USER_DATA | 1 | targets->sel_res | 0-255 |
| USER_DATA | 1 | targets->sens_res | 0-255 |
| USER_DATA | 1 | *targets->nfcid1 | 0-255 |
| USER_PTR | 1 | targets->nfcid1 | |
| LOCK2 | &pool->lock |
net/nfc/digital_core.c digital_target_found() -> nfc_targets_found()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | targets | 4096-ptr_max |
| PARAM_VALUE | 2 | n_targets | 1 |
| BUF_SIZE | 1 | targets | (-1),16,64,96,872 |
| BUF_SIZE | 1 | targets | (-1),16,64,96,872 |
| DATA_SOURCE | 1 | targets | $1 |
| POWER_OF_TWO | 1 | *targets | |
| RX_PATH | |||
| USER_DATA | 1 | targets->iso15693_dsfid | 0-255[u] |
| USER_DATA | 1 | targets->sel_res | 0-255 |
| USER_DATA | 1 | targets->sens_res | 0-u16max |
| USER_PTR | 1 | targets->iso15693_uid | |
| USER_PTR | 1 | targets->nfcid2 | |
| USER_PTR | 1 | targets->sensf_res | |
| HALF_LOCKED2 | &pool->lock |