Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 – 24 of 24) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch4 Subject: [PATCH] musl: Define SOCK_NONBLOCK with O_NONBLOCK
8 for SOCK_NONBLOCK
10 [1] https://github.com/search?q=repo%3Abminor%2Fmusl++%22%23define+SOCK_NONBLOCK%22&type=code
31 -pub const SOCK_NONBLOCK: ::c_int = 2048;
42 -pub const SOCK_NONBLOCK: ::c_int = 2048;
52 -pub const SOCK_NONBLOCK: ::c_int = 0o200;
63 -pub const SOCK_NONBLOCK: ::c_int = 2048;
74 -pub const SOCK_NONBLOCK: ::c_int = 2048;
85 -pub const SOCK_NONBLOCK: ::c_int = 2048;
96 +pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
H A D0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch91 pub const SOCK_NONBLOCK: ::c_int = O_NONBLOCK;
/openbmc/linux/tools/perf/trace/beauty/
H A Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/openbmc/linux/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, 0); 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()
/openbmc/linux/arch/parisc/include/asm/
H A Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/openbmc/linux/arch/alpha/include/asm/
H A Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/openbmc/linux/arch/mips/include/asm/
H A Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/openbmc/linux/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()
/openbmc/linux/net/
H A Dsocket.c1658 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()
1660 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()
1681 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file()
1682 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file()
1721 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1722 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1744 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1748 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair()
1749 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair()
1968 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
[all …]
/openbmc/slpd-lite/
H A Dslp_server.cpp70 fd = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in run()
/openbmc/linux/include/linux/
H A Dnet.h81 #ifndef SOCK_NONBLOCK
82 #define SOCK_NONBLOCK O_NONBLOCK macro
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyruvate_1.2.1.bb13 …file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${UNPACKDIR}/cargo_home/bitba…
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp44 if ((sock = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0)) == -1) in setupUnixSocket()
/openbmc/linux/io_uring/
H A Dnet.c1376 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
1378 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
1379 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
1460 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket_prep()
/openbmc/phosphor-debug-collector/
H A Ddump_offload.cpp112 if ((unixSocket = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0)) == -1) in socketInit()
/openbmc/linux/tools/testing/selftests/net/
H A Dso_incoming_cpu.c130 fd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in create_server()
/openbmc/linux/fs/smb/server/
H A Dtransport_tcp.c238 SOCK_NONBLOCK); in ksmbd_kthread_fn()
/openbmc/libmctp/utils/
H A Dmctp-demux-daemon.c331 fd = accept4(ctx->sock, NULL, 0, SOCK_NONBLOCK); in socket_process()
/openbmc/linux/drivers/xen/
H A Dpvcalls-front.c791 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/openbmc/qemu/linux-user/
H A Dsyscall.c825 #if defined(SOCK_NONBLOCK) in safe_syscall3()
826 if (host_type & SOCK_NONBLOCK) { in safe_syscall3()
3126 #if defined(SOCK_NONBLOCK) in target_to_host_sock_type()
3127 host_type |= SOCK_NONBLOCK; in target_to_host_sock_type()
3139 #if !defined(SOCK_NONBLOCK) && defined(O_NONBLOCK) in sock_flags_fixup()
3437 host_flags |= SOCK_NONBLOCK; in do_accept4()
/openbmc/linux/net/smc/
H A Daf_smc.c1734 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
/openbmc/linux/net/sctp/
H A Dsocket.c5703 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()
/openbmc/linux/
H A Dopengrok1.0.log[all...]