Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/netns/
Dcore.h15 int __percpu *sock_inuse; member
/Linux-v5.4/net/core/
Dsock.c3249 this_cpu_add(*net->core.sock_inuse, val); in sock_inuse_add()
3257 res += *per_cpu_ptr(net->core.sock_inuse, cpu); in sock_inuse_get()
3270 net->core.sock_inuse = alloc_percpu(int); in sock_inuse_init_net()
3271 if (net->core.sock_inuse == NULL) in sock_inuse_init_net()
3284 free_percpu(net->core.sock_inuse); in sock_inuse_exit_net()