sock1 863 drivers/block/drbd/drbd_receiver.c struct socket **sock1, sock1 870 drivers/block/drbd/drbd_receiver.c if (!*sock1 || !*sock2) sock1 879 drivers/block/drbd/drbd_receiver.c ok = drbd_socket_okay(sock1); sock1 145 include/linux/net.h int (*socketpair)(struct socket *sock1, sock1 2659 net/core/sock.c int sock_no_socketpair(struct socket *sock1, struct socket *sock2) sock1 1529 net/socket.c struct socket *sock1, *sock2; sock1 1569 net/socket.c err = sock_create(family, type, protocol, &sock1); sock1 1575 net/socket.c sock_release(sock1); sock1 1579 net/socket.c err = security_socket_socketpair(sock1, sock2); sock1 1582 net/socket.c sock_release(sock1); sock1 1586 net/socket.c err = sock1->ops->socketpair(sock1, sock2); sock1 1589 net/socket.c sock_release(sock1); sock1 1593 net/socket.c newfile1 = sock_alloc_file(sock1, flags, NULL); sock1 3138 net/tipc/socket.c static int tipc_socketpair(struct socket *sock1, struct socket *sock2) sock1 3141 net/tipc/socket.c struct tipc_sock *tsk1 = tipc_sk(sock1->sk); sock1 3142 net/tipc/socket.c u32 onode = tipc_own_addr(sock_net(sock1->sk)); sock1 1120 tools/testing/selftests/bpf/test_sock_addr.c static int cmp_sock_addr(info_fn fn, int sock1, sock1 1127 tools/testing/selftests/bpf/test_sock_addr.c if (fn(sock1, (struct sockaddr *)&addr1, (socklen_t *)&len1) != 0) sock1 1133 tools/testing/selftests/bpf/test_sock_addr.c static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) sock1 1135 tools/testing/selftests/bpf/test_sock_addr.c return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 0); sock1 1138 tools/testing/selftests/bpf/test_sock_addr.c static int cmp_local_addr(int sock1, const struct sockaddr_storage *addr2) sock1 1140 tools/testing/selftests/bpf/test_sock_addr.c return cmp_sock_addr(getsockname, sock1, addr2, /*cmp_port*/ 1); sock1 1143 tools/testing/selftests/bpf/test_sock_addr.c static int cmp_peer_addr(int sock1, const struct sockaddr_storage *addr2) sock1 1145 tools/testing/selftests/bpf/test_sock_addr.c return cmp_sock_addr(getpeername, sock1, addr2, /*cmp_port*/ 1);