Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/bluetooth/btbcm.c, line 61
- drivers/bluetooth/btqca.c, line 1011
- drivers/bluetooth/btusb.c, line 3105
- drivers/bluetooth/hci_ll.c
- net/bluetooth/6lowpan.c
- net/bluetooth/bnep/core.c
- net/bluetooth/hci_sync.c, line 3738
- net/bluetooth/lib.c, line 48
Smatch caller information:
drivers/bluetooth/btbcm.c btbcm_set_bdaddr_from_efi() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2053524745953755136 |
| PARAM_VALUE | 1 | src | 7156237368110260224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/6lowpan.c add_peer_chan() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pchan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &hci_cb_list_lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/6lowpan.c setup_netdev() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 1561872487794208768 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pchan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &hci_cb_list_lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
drivers/bluetooth/btqca.c qca_set_bdaddr() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2784419787504046080 |
| DATA_SOURCE | 1 | src | $1 |
| NOCHECK_CALL |
drivers/bluetooth/btusb.c btusb_set_bdaddr_wcn6855() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 8042127268524421120 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_sync.c hci_dev_get_bd_addr_from_property() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 1914040468194455552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/hci_ll.c hci_ti_probe() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 16,4096-ptr_max |
| BUF_SIZE | 1 | src | s32min-s32max |
| DATA_SOURCE | 1 | src | r nvmem_cell_read |
| MEM_ZERO | 0 | dst | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/hci_ll.c ll_set_bdaddr() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2270034997797224448 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/bnep/core.c bnep_add_connection() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 7919698869600403456 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &smc->sk |
net/bluetooth/bnep/core.c bnep_add_connection() -> baswap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2218389438688710656 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &smc->sk |