Home
last modified time | relevance | path

Searched refs:sock2 (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/
Dsocket.c1527 struct socket *sock1, *sock2; in __sys_socketpair() local
1571 err = sock_create(family, type, protocol, &sock2); in __sys_socketpair()
1577 err = security_socket_socketpair(sock1, sock2); in __sys_socketpair()
1579 sock_release(sock2); in __sys_socketpair()
1584 err = sock1->ops->socketpair(sock1, sock2); in __sys_socketpair()
1586 sock_release(sock2); in __sys_socketpair()
1594 sock_release(sock2); in __sys_socketpair()
1598 newfile2 = sock_alloc_file(sock2, flags, NULL); in __sys_socketpair()
/kernel/linux/linux-5.10/include/linux/
Dnet.h151 struct socket *sock2);
/kernel/linux/linux-5.10/net/tipc/
Dsocket.c3324 static int tipc_socketpair(struct socket *sock1, struct socket *sock2) in tipc_socketpair() argument
3326 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_receiver.c865 struct socket **sock2) in connection_established() argument
871 if (!*sock1 || !*sock2) in connection_established()
881 ok = drbd_socket_okay(sock2) && ok; in connection_established()
/kernel/linux/linux-5.10/net/core/
Dsock.c2756 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument