Searched refs:sock2 (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/net/ |
D | socket.c | 1538 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/ |
D | net.h | 151 struct socket *sock2);
|
/Linux-v5.10/net/tipc/ |
D | socket.c | 3297 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/ |
D | drbd_receiver.c | 865 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/ |
D | sock.c | 2740 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument
|