Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/netns/
Dcore.h15 int __percpu *sock_inuse; member
/kernel/linux/linux-5.10/net/core/
Dsock.c3364 this_cpu_add(*net->core.sock_inuse, val); in sock_inuse_add()
3372 res += *per_cpu_ptr(net->core.sock_inuse, cpu); in sock_inuse_get()
3385 net->core.sock_inuse = alloc_percpu(int); in sock_inuse_init_net()
3386 if (net->core.sock_inuse == NULL) in sock_inuse_init_net()
3399 free_percpu(net->core.sock_inuse); in sock_inuse_exit_net()
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c1197 this_cpu_add(*net->core.sock_inuse, 1); in mptcp_subflow_create_socket()