Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c sc_select_method() -> get_auth_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| DATA_SOURCE | 0 | smp | $0 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_pairing_req() -> get_auth_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| RX_PATH | |||
| USER_DATA | 2 | remote_io | 0-255[u] |
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_pairing_rsp() -> get_auth_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| RX_PATH | |||
| USER_DATA | 0 | smp->remote_key_dist | 0-255[c][u] |
| USER_DATA | 2 | remote_io | 0-255[u] |
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c tk_request() -> get_auth_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| DATA_SOURCE | 1 | local_io | $3 |
| DATA_SOURCE | 2 | remote_io | $4 |
| MEM_ZERO | 0 | smp->tk | |
| RX_PATH | |||
| USER_DATA | 2 | remote_io | 0-255[u] |
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |