Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/hidp/core.c hidp_verify_sockets() -> l2cap_is_socket()

Type Parameter Key Value
PARAM_VALUE 0 sock 1-u64max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
DATA_SOURCE 0 sock $0
CAPABLE 0 12

net/bluetooth/hidp/core.c hidp_verify_sockets() -> l2cap_is_socket()

Type Parameter Key Value
PARAM_VALUE 0 sock 1-u64max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
DATA_SOURCE 0 sock $1
CAPABLE 0 12

net/bluetooth/bnep/core.c bnep_add_connection() -> l2cap_is_socket()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
DATA_SOURCE 0 sock $1
CAPABLE 0 12
HALF_LOCKED2 &smc->sk