Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dsocket.h8 * have to define SOCK_NONBLOCK to a different value here.
10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dsocket.h8 * had to define SOCK_NONBLOCK to a different value here.
10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-6.6/arch/alpha/include/asm/
H A Dsocket.h8 * have to define SOCK_NONBLOCK to a different value here.
10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dsocket.h8 * had to define SOCK_NONBLOCK to a different value here.
10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c379 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete()
434 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete()
546 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete()
686 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_connected()
782 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_listening()
884 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_partial()
956 s = socket_loopback_reuseport(family, sotype | SOCK_NONBLOCK, in test_reuseport_select_listening()
1352 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()
1438 c = xsocket(AF_VSOCK, sotype | SOCK_NONBLOCK, in vsock_socketpair_connectible()
[all...]
H A Dsockmap_basic.c405 n = recv(c1, &b, 1, SOCK_NONBLOCK); in test_sockmap_skb_verdict_shutdown()
462 recvd = recv_timeout(c1, &buf, sizeof(buf), SOCK_NONBLOCK, IO_TIMEOUT_SEC); in test_sockmap_skb_verdict_fionread()
/kernel/linux/linux-5.10/samples/bpf/
H A Dsock_example.h18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/kernel/linux/linux-6.6/samples/bpf/
H A Dsock_example.h18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/kernel/linux/linux-5.10/include/linux/
H A Dnet.h78 #ifndef SOCK_NONBLOCK
79 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-6.6/include/linux/
H A Dnet.h81 #ifndef SOCK_NONBLOCK
82 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-6.6/net/
H A Dsocket.c1653 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()
1655 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()
1676 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file()
1677 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file()
1716 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1717 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1739 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1743 if (SOCK_NONBLOCK ! in __sys_socketpair()
[all...]
/kernel/linux/linux-5.10/net/
H A Dsocket.c1518 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket()
1521 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket()
1525 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1526 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1552 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1556 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair()
1557 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair()
1777 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dso_incoming_cpu.c130 fd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in create_server()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A Dsocket.h119 #define SOCK_NONBLOCK 04000 macro
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c630 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete()
684 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete()
795 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete()
937 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_connected()
1069 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_listening()
1180 s = socket_loopback_reuseport(family, sotype | SOCK_NONBLOCK, in test_reuseport_select_listening()
/kernel/linux/linux-6.6/io_uring/
H A Dnet.c1371 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
1373 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
1374 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
1455 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket_prep()
/kernel/linux/linux-6.6/fs/smb/server/
H A Dtransport_tcp.c238 SOCK_NONBLOCK); in ksmbd_kthread_fn()
/kernel/linux/linux-5.10/drivers/xen/
H A Dpvcalls-front.c782 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/kernel/linux/linux-6.6/drivers/xen/
H A Dpvcalls-front.c791 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/kernel/linux/linux-5.10/io_uring/
H A Dio_uring.c5208 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
5210 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
5211 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
/kernel/linux/linux-5.10/net/smc/
H A Daf_smc.c1166 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()

Completed in 41 milliseconds

12