Home
last modified time | relevance | path

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

/openbmc/linux/include/net/netns/
H A Dcore.h8 struct prot_inuse;
19 struct prot_inuse __percpu *prot_inuse; member
/openbmc/linux/net/core/
H A Dsock.c3770 res += per_cpu_ptr(net->core.prot_inuse, cpu)->val[idx]; in sock_prot_inuse_get()
3781 res += per_cpu_ptr(net->core.prot_inuse, cpu)->all; in sock_inuse_get()
3790 net->core.prot_inuse = alloc_percpu(struct prot_inuse); in sock_inuse_init_net()
3791 if (net->core.prot_inuse == NULL) in sock_inuse_init_net()
3798 free_percpu(net->core.prot_inuse); in sock_inuse_exit_net()
/openbmc/linux/include/net/
H A Dsock.h1532 struct prot_inuse { struct
1540 this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add() argument
1545 this_cpu_add(net->core.prot_inuse->all, val); in sock_inuse_add()