Home
last modified time | relevance | path

Searched refs:socketpair (Results 1 – 25 of 102) sorted by relevance

12345

/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c169 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.6.21/arch/um/os-Linux/drivers/
Dethertap_user.c147 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()
Dtuntap_user.c159 err = socketpair(AF_UNIX, SOCK_DGRAM, 0, fds); in tuntap_open()
/linux-6.6.21/crypto/
Dalgif_rng.c168 .socketpair = sock_no_socketpair,
186 .socketpair = sock_no_socketpair,
Dalgif_skcipher.c186 .socketpair = sock_no_socketpair,
264 .socketpair = sock_no_socketpair,
Dalgif_hash.c284 .socketpair = sock_no_socketpair,
373 .socketpair = sock_no_socketpair,
Dalgif_aead.c362 .socketpair = sock_no_socketpair,
440 .socketpair = sock_no_socketpair,
/linux-6.6.21/tools/testing/selftests/mm/
Dmap_populate.c94 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
/linux-6.6.21/net/nfc/
Drawsock.c274 .socketpair = sock_no_socketpair,
292 .socketpair = sock_no_socketpair,
/linux-6.6.21/arch/um/os-Linux/
Dhelper.c53 ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in run_helper()
/linux-6.6.21/net/atm/
Dpvc.c113 .socketpair = sock_no_socketpair,
/linux-6.6.21/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c390 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST()
509 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST()
/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
Dpidfd_setns_test.c173 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP()
203 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP()
/linux-6.6.21/net/bluetooth/bnep/
Dsock.c187 .socketpair = sock_no_socketpair,
/linux-6.6.21/net/bluetooth/cmtp/
Dsock.c189 .socketpair = sock_no_socketpair,
/linux-6.6.21/tools/perf/bench/
Dsched-messaging.c64 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0) in fdpair()
/linux-6.6.21/samples/seccomp/
Duser-trap.c206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
/linux-6.6.21/net/bluetooth/hidp/
Dsock.c238 .socketpair = sock_no_socketpair,
/linux-6.6.21/net/phonet/
Dsocket.c434 .socketpair = sock_no_socketpair,
452 .socketpair = sock_no_socketpair,
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c1352 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1356 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1488 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0, sfd)) in vsock_unix_redir_connectible()
1760 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, sfd)) in inet_unix_redir_to_connected()
1844 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, sfd)) in unix_inet_redir_to_connected()
/linux-6.6.21/tools/testing/selftests/landlock/
Dbase_test.c285 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, in TEST()
/linux-6.6.21/kernel/
Dsys_ni.c144 COND_SYSCALL(socketpair);
/linux-6.6.21/tools/perf/Documentation/
Dperf-bench.txt86 Use pipe() instead of socketpair()
/linux-6.6.21/include/linux/
Dnet.h171 int (*socketpair)(struct socket *sock1, member

12345