Searched refs:sock2 (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/tools/testing/selftests/net/ |
H A D | so_netns_cookie.c | 28 int sock1, sock2; in main() local 44 sock2 = socket(AF_INET, SOCK_STREAM, 0); in main() 45 if (sock2 < 0) in main() 49 if (getsockopt(sock2, SOL_SOCKET, SO_NETNS_COOKIE, &cookie2, &vallen) != 0) in main() 59 close(sock2); in main()
|
/openbmc/linux/net/ |
H A D | socket.c | 1738 struct socket *sock1, *sock2; in __sys_socketpair() local 1782 err = sock_create(family, type, protocol, &sock2); in __sys_socketpair() 1788 err = security_socket_socketpair(sock1, sock2); in __sys_socketpair() 1790 sock_release(sock2); in __sys_socketpair() 1795 err = READ_ONCE(sock1->ops)->socketpair(sock1, sock2); in __sys_socketpair() 1797 sock_release(sock2); in __sys_socketpair() 1805 sock_release(sock2); in __sys_socketpair() 1809 newfile2 = sock_alloc_file(sock2, flags, NULL); in __sys_socketpair()
|
/openbmc/linux/include/linux/ |
H A D | net.h | 172 struct socket *sock2);
|
/openbmc/linux/net/tipc/ |
H A D | socket.c | 3336 static int tipc_socketpair(struct socket *sock1, struct socket *sock2) in tipc_socketpair() argument 3338 struct tipc_sock *tsk2 = tipc_sk(sock2->sk); in tipc_socketpair()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_receiver.c | 866 struct socket **sock2) in connection_established() argument 872 if (!*sock1 || !*sock2) in connection_established() 882 ok = drbd_socket_okay(sock2) && ok; in connection_established()
|
/openbmc/qemu/docs/interop/ |
H A D | live-block-operations.rst | 708 -S -monitor stdio -qmp unix:./qmp-sock2,server=on,wait=off \\
|
/openbmc/linux/net/core/ |
H A D | sock.c | 3211 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() argument
|