Lines Matching defs:prot
1322 int proto_register(struct proto *prot, int alloc_slab);
1323 void proto_unregister(struct proto *prot);
1395 proto_sockets_allocated_sum_positive(struct proto *prot)
1397 return percpu_counter_sum_positive(prot->sockets_allocated);
1408 const struct proto *prot, int val)
1410 this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val);
1422 const struct proto *prot, int val)
1723 struct proto *prot, int kern);