/linux-6.12.1/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 169 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, sfd), 0); in TEST() 200 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, sfd), 0); in TEST() 231 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[0]), 0); in TEST() 232 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[2]), 0); in TEST() 269 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[0]), 0); in TEST() 270 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[2]), 0); in TEST() 308 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[0]), 0); in TEST() 347 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[0]), 0); in TEST() 387 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[0]), 0); in TEST() 388 ASSERT_EQ(socketpair(AF_UNIX, SOCK_STREAM, 0, &sfd[2]), 0); in TEST() [all …]
|
/linux-6.12.1/net/smc/ |
D | smc_inet.c | 39 .socketpair = sock_no_socketpair, 87 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/arch/um/os-Linux/drivers/ |
D | ethertap_user.c | 147 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, data_fds); in etap_open() 155 err = socketpair(AF_UNIX, SOCK_STREAM, 0, control_fds); in etap_open()
|
D | tuntap_user.c | 159 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, fds); in tuntap_open()
|
/linux-6.12.1/crypto/ |
D | algif_rng.c | 168 .socketpair = sock_no_socketpair, 186 .socketpair = sock_no_socketpair,
|
D | algif_skcipher.c | 250 .socketpair = sock_no_socketpair, 328 .socketpair = sock_no_socketpair,
|
D | algif_hash.c | 284 .socketpair = sock_no_socketpair, 373 .socketpair = sock_no_socketpair,
|
D | algif_aead.c | 362 .socketpair = sock_no_socketpair, 440 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | map_populate.c | 101 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
|
/linux-6.12.1/net/nfc/ |
D | rawsock.c | 274 .socketpair = sock_no_socketpair, 292 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/arch/um/os-Linux/ |
D | helper.c | 53 ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in run_helper()
|
/linux-6.12.1/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 391 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST() 510 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST()
|
/linux-6.12.1/net/atm/ |
D | pvc.c | 113 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/tools/testing/selftests/pidfd/ |
D | pidfd_getfd_test.c | 140 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
|
D | pidfd_setns_test.c | 239 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP() 294 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP()
|
/linux-6.12.1/net/bluetooth/cmtp/ |
D | sock.c | 189 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/net/bluetooth/bnep/ |
D | sock.c | 187 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 714 err = socketpair(AF_UNIX, SOCK_STREAM, 0, stream); in test_sockmap_many_socket() 783 err = socketpair(AF_UNIX, SOCK_STREAM, 0, stream); in test_sockmap_many_maps() 854 err = socketpair(AF_UNIX, SOCK_STREAM, 0, stream); in test_sockmap_same_sock()
|
D | sockmap_listen.c | 1438 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1442 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1509 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0, sfd)) in vsock_unix_redir_connectible() 1709 if (socketpair(AF_UNIX, type | SOCK_NONBLOCK, 0, sfd)) in inet_unix_redir_to_connected() 1765 if (socketpair(AF_UNIX, type | SOCK_NONBLOCK, 0, sfd)) in unix_inet_redir_to_connected()
|
/linux-6.12.1/tools/testing/selftests/net/rds/ |
D | test.py | 37 u0, u1 = socket.socketpair(socket.AF_UNIX, socket.SOCK_SEQPACKET)
|
/linux-6.12.1/samples/seccomp/ |
D | user-trap.c | 210 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
|
/linux-6.12.1/tools/testing/selftests/net/af_unix/ |
D | scm_rights.c | 165 ret = socketpair(AF_UNIX, variant->type, 0, self->fd + i); in create_socketpairs()
|
/linux-6.12.1/net/bluetooth/hidp/ |
D | sock.c | 238 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/net/phonet/ |
D | socket.c | 433 .socketpair = sock_no_socketpair, 451 .socketpair = sock_no_socketpair,
|
/linux-6.12.1/tools/perf/bench/ |
D | sched-messaging.c | 72 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0) in fdpair()
|