Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bluetooth/smp.c smp_cmd_pairing_req() -> build_pairing_cmd()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->hcon 4096-ptr_max
PARAM_VALUE 0 conn->hcon->hdev 4096-ptr_max
PARAM_VALUE 0 conn->hcon->hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 conn->hcon->hdev->smp_data 4096-ptr_max
PARAM_VALUE 0 conn->hcon->type 0,2-255
PARAM_VALUE 0 conn->smp 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 rsp 713360623887872000
PARAM_VALUE 3 authreq 0-63
BUF_SIZE 1 req 1-s32max
BUF_SIZE 1 req 1-s32max
CAPPED_DATA 3 authreq 1
DATA_SOURCE 0 conn $0
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]
USER_DATA 3 authreq 0-63[c]
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_pairing_cmd()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->hcon 4096-ptr_max
PARAM_VALUE 0 conn->hcon->type 0,2-255
PARAM_VALUE 0 conn->smp 4096-ptr_max
PARAM_VALUE 1 req 3285437846193831936
PARAM_VALUE 2 rsp 0
PARAM_VALUE 3 authreq 0-63
BUF_SIZE 0 conn (-1),896
BUF_SIZE 0 conn (-1),896
CAPPED_DATA 3 authreq 1
DATA_SOURCE 3 authreq $1
NOSPEC 3 authreq
NOSPEC 3 authreq
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 authreq 0-63[c]
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &conn->lock