Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 authreq 0-63
CAPPED_DATA 0 authreq 1
RX_PATH
USER_DATA 0 authreq 0-63[c]
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock

net/bluetooth/smp.c smp_cmd_security_req() -> authreq_to_seclevel()

Type Parameter Key Value
PARAM_VALUE 0 authreq 0-63
CAPPED_DATA 0 authreq 1
RX_PATH
USER_DATA 0 authreq 0-63[c]
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock