Searched refs:SOCK_NONBLOCK (Results 1 – 12 of 12) sorted by relevance
/linux/tools/perf/trace/beauty/ |
A D | socket_type.c | 13 #ifndef SOCK_NONBLOCK 14 # define SOCK_NONBLOCK 00004000 macro
|
/linux/arch/parisc/include/asm/ |
A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
/linux/arch/alpha/include/asm/ |
A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_listen.c | 632 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() 1574 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1578 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1696 p0 = socket_loopback(family, type | SOCK_NONBLOCK); in inet_socketpair() 1705 c0 = xsocket(family, type | SOCK_NONBLOCK, 0); in inet_socketpair() 1830 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, sfd)) in inet_unix_redir_to_connected() [all …]
|
/linux/arch/mips/include/asm/ |
A D | socket.h | 46 #define SOCK_NONBLOCK O_NONBLOCK macro
|
/linux/samples/bpf/ |
A D | sock_example.h | 18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
|
/linux/include/linux/ |
A D | net.h | 78 #ifndef SOCK_NONBLOCK 79 #define SOCK_NONBLOCK O_NONBLOCK macro
|
/linux/net/ |
A D | socket.c | 1547 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket() 1550 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket() 1554 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket() 1555 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket() 1581 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair() 1585 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair() 1586 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair() 1806 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file() 1809 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_accept4_file() 1810 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_accept4_file()
|
/linux/drivers/xen/ |
A D | pvcalls-front.c | 782 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
|
/linux/fs/ |
A D | io_uring.c | 5161 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep() 5163 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep() 5164 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
|
/linux/net/smc/ |
A D | af_smc.c | 1322 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
|
/linux/net/sctp/ |
A D | socket.c | 5693 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()
|
Completed in 57 milliseconds