Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bluetooth/smp.c sc_check_confirm() -> sc_passkey_round()

Type Parameter Key Value
PARAM_VALUE 0 smp 4096-ptr_max
PARAM_VALUE 0 smp->method 2,5
PARAM_VALUE 1 smp_op 3
BUF_SIZE 0 smp 1-s32max
BUF_SIZE 0 smp 1-s32max
DATA_SOURCE 0 smp $0
FUZZY_MAX 0 smp->method 5
RX_PATH
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock

net/bluetooth/smp.c sc_passkey_round() -> sc_passkey_round()

Type Parameter Key Value
PARAM_VALUE 0 smp 4096-ptr_max
PARAM_VALUE 0 smp->conn 4096-ptr_max
PARAM_VALUE 0 smp->method 2,5
PARAM_VALUE 0 smp->passkey_round 0-19
PARAM_VALUE 1 smp_op 0
BUF_SIZE 0 smp 1-s32max
BUF_SIZE 0 smp 1-s32max
DATA_SOURCE 0 smp $0
FUZZY_MAX 0 smp->method 5
RX_PATH
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock

net/bluetooth/smp.c sc_user_reply() -> sc_passkey_round()

Type Parameter Key Value
PARAM_VALUE 0 smp 4096-ptr_max
PARAM_VALUE 0 smp->conn 4096-ptr_max
PARAM_VALUE 0 smp->passkey_round 0
PARAM_VALUE 1 smp_op 0,3
BUF_SIZE 0 smp 1-s32max
BUF_SIZE 0 smp 1-s32max
DATA_SOURCE 0 smp $0
FUZZY_MAX 1 smp_op 3
HARD_MAX 1 smp_op 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chan->lock
LOCK2 &hdev->lock
LOCK2 global &mgmt_chan_list_lock
LOCK2 sk
HALF_LOCKED2 &vq->mutex
TYPE_LOCK (struct hci_dev)->lock
TYPE_LOCK (struct l2cap_chan)->lock

net/bluetooth/smp.c smp_cmd_pairing_random() -> sc_passkey_round()

Type Parameter Key Value
PARAM_VALUE 0 smp 4096-ptr_max
PARAM_VALUE 0 smp->method 2,5
PARAM_VALUE 1 smp_op 4
BUF_SIZE 0 smp 1-s32max
BUF_SIZE 0 smp 1-s32max
FUZZY_MAX 0 smp->method 5
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_public_key() -> sc_passkey_round()

Type Parameter Key Value
PARAM_VALUE 0 smp 4096-ptr_max
PARAM_VALUE 0 smp->method 5
PARAM_VALUE 0 smp->passkey_round 0
PARAM_VALUE 1 smp_op 12
BUF_SIZE 0 smp 1-s32max
BUF_SIZE 0 smp 1-s32max
CAPPED_DATA 0 smp->dhkey 1
RX_PATH
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock