Home
last modified time | relevance | path

Searched refs:BT_MAX_PROTO (Results 1 – 1 of 1) sorted by relevance

/linux/net/bluetooth/
H A Daf_bluetooth.c44 #define BT_MAX_PROTO (BTPROTO_LAST + 1) macro
45 static const struct net_proto_family *bt_proto[BT_MAX_PROTO];
48 static struct lock_class_key bt_lock_key[BT_MAX_PROTO];
49 static const char *const bt_key_strings[BT_MAX_PROTO] = {
61 static struct lock_class_key bt_slock_key[BT_MAX_PROTO];
62 static const char *const bt_slock_key_strings[BT_MAX_PROTO] = {
89 if (proto < 0 || proto >= BT_MAX_PROTO) in bt_sock_register()
107 if (proto < 0 || proto >= BT_MAX_PROTO) in bt_sock_unregister()
124 if (proto < 0 || proto >= BT_MAX_PROTO) in bt_sock_create()