Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c smp_cmd_pairing_req() -> build_bredr_pairing_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->preq | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp | 713360623887872000 |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 1 | req | 1-s32max |
| BUF_SIZE | 1 | req | 1-s32max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | req->auth_req | 0-255[u] |
| USER_DATA | 1 | req->init_key_dist | 0-255[u] |
| USER_DATA | 1 | req->io_capability | 0-255[u] |
| USER_DATA | 1 | req->max_key_size | 0-255[u] |
| USER_DATA | 1 | req->oob_flag | 0,2-255[u] |
| USER_DATA | 1 | req->resp_key_dist | 0-255[u] |
| UNITS | 1 | req | unit_byte |
| USER_PTR | 1 | req | |
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_send_pairing_req() -> build_bredr_pairing_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn->hcon->type | 1 |
| PARAM_VALUE | 0 | smp->conn->smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->tfm_ecdh | 1-ptr_max |
| PARAM_VALUE | 1 | req | 3285437846193831936 |
| PARAM_VALUE | 2 | rsp | 0 |
| BUF_SIZE | 0 | smp | 584 |
| BUF_SIZE | 0 | smp->conn | (-1),896 |
| DATA_SOURCE | 0 | smp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &conn->lock |