Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-5.10/samples/bpf/
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/
Dnet.h78 #ifndef SOCK_NONBLOCK
79 #define SOCK_NONBLOCK O_NONBLOCK macro
/kernel/linux/linux-5.10/net/
Dsocket.c1499 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket()
1502 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket()
1506 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1507 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1533 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1537 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair()
1538 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair()
1758 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
1761 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_accept4_file()
1762 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_accept4_file()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
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/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h119 #define SOCK_NONBLOCK 04000 macro
/kernel/linux/linux-5.10/drivers/xen/
Dpvcalls-front.c782 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c5167 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
5169 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
5170 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
/kernel/linux/linux-5.10/net/smc/
Daf_smc.c1162 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c5578 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()