Home
last modified time | relevance | path

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

/Linux-v5.10/net/
Dsocket.c1538 struct socket *sock1, *sock2; in __sys_socketpair() local
1582 err = sock_create(family, type, protocol, &sock2); in __sys_socketpair()
1588 err = security_socket_socketpair(sock1, sock2); in __sys_socketpair()
1590 sock_release(sock2); in __sys_socketpair()
1595 err = sock1->ops->socketpair(sock1, sock2); in __sys_socketpair()
1597 sock_release(sock2); in __sys_socketpair()
1605 sock_release(sock2); in __sys_socketpair()
1609 newfile2 = sock_alloc_file(sock2, flags, NULL); in __sys_socketpair()
/Linux-v5.10/include/linux/
Dnet.h151 struct socket *sock2);
/Linux-v5.10/net/tipc/
Dsocket.c3297 static int tipc_socketpair(struct socket *sock1, struct socket *sock2) in tipc_socketpair() argument
3299 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
/Linux-v5.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()
/Linux-v5.10/net/core/
Dsock.c2740 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument