Searched refs:proto_tab (Results 1 – 1 of 1) sorted by relevance
16 static const struct nfc_protocol *proto_tab[NFC_SOCKPROTO_MAX]; variable30 if (proto_tab[proto] && try_module_get(proto_tab[proto]->owner)) { in nfc_sock_create()31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()32 module_put(proto_tab[proto]->owner); in nfc_sock_create()57 if (proto_tab[nfc_proto->id]) in nfc_proto_register()60 proto_tab[nfc_proto->id] = nfc_proto; in nfc_proto_register()73 proto_tab[nfc_proto->id] = NULL; in nfc_proto_unregister()