Searched refs:prot_inuse (Results 1 – 1 of 1) sorted by relevance
3513 struct prot_inuse { struct3521 __this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add() argument3531 res += per_cpu_ptr(net->core.prot_inuse, cpu)->val[idx]; in sock_prot_inuse_get()3556 net->core.prot_inuse = alloc_percpu(struct prot_inuse); in sock_inuse_init_net()3557 if (net->core.prot_inuse == NULL) in sock_inuse_init_net()3567 free_percpu(net->core.prot_inuse); in sock_inuse_init_net()3573 free_percpu(net->core.prot_inuse); in sock_inuse_exit_net()