Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/trace/beauty/
Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/Linux-v6.1/arch/parisc/include/asm/
Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/Linux-v6.1/arch/alpha/include/asm/
Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/Linux-v6.1/arch/mips/include/asm/
Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/Linux-v6.1/samples/bpf/
Dsock_example.h18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c632 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete()
686 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete()
797 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete()
955 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_connected()
1077 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()
1572 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1576 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1694 p0 = socket_loopback(family, type | SOCK_NONBLOCK); in inet_socketpair()
1703 c0 = xsocket(family, type | SOCK_NONBLOCK, 0); in inet_socketpair()
[all …]
/Linux-v6.1/net/
Dsocket.c1597 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()
1599 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create()
1621 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file()
1622 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file()
1641 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1642 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1664 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1668 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair()
1669 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair()
1887 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
[all …]
/Linux-v6.1/include/linux/
Dnet.h79 #ifndef SOCK_NONBLOCK
80 #define SOCK_NONBLOCK O_NONBLOCK macro
/Linux-v6.1/io_uring/
Dnet.c1253 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
1255 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
1256 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
1334 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket_prep()
/Linux-v6.1/fs/ksmbd/
Dtransport_tcp.c233 SOCK_NONBLOCK); in ksmbd_kthread_fn()
/Linux-v6.1/drivers/xen/
Dpvcalls-front.c782 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/Linux-v6.1/net/smc/
Daf_smc.c1671 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
/Linux-v6.1/net/sctp/
Dsocket.c5685 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()