Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/trace/beauty/
A Dsocket_type.c13 #ifndef SOCK_NONBLOCK
14 # define SOCK_NONBLOCK 00004000 macro
/linux-6.3-rc2/arch/parisc/include/asm/
A Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/linux-6.3-rc2/arch/alpha/include/asm/
A Dsocket.h10 #define SOCK_NONBLOCK 0x40000000 macro
/linux-6.3-rc2/arch/mips/include/asm/
A Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK macro
/linux-6.3-rc2/samples/bpf/
A Dsock_example.h18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_listen.c673 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete()
728 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete()
840 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete()
999 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_connected()
1121 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_listening()
1617 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1621 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected()
1739 p0 = socket_loopback(family, type | SOCK_NONBLOCK); in inet_socketpair()
1748 c0 = xsocket(family, type | SOCK_NONBLOCK, 0); in inet_socketpair()
1873 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, sfd)) in inet_unix_redir_to_connected()
[all …]
/linux-6.3-rc2/net/
A Dsocket.c1627 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create()
1650 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file()
1651 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file()
1666 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket()
1667 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket()
1689 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1693 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair()
1694 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair()
1912 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
1915 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_accept4_file()
[all …]
/linux-6.3-rc2/include/linux/
A Dnet.h80 #ifndef SOCK_NONBLOCK
81 #define SOCK_NONBLOCK O_NONBLOCK macro
/linux-6.3-rc2/tools/testing/selftests/net/
A Dso_incoming_cpu.c98 fd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in create_server()
/linux-6.3-rc2/io_uring/
A Dnet.c1288 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
1290 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep()
1291 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep()
1372 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket_prep()
/linux-6.3-rc2/fs/ksmbd/
A Dtransport_tcp.c237 SOCK_NONBLOCK); in ksmbd_kthread_fn()
/linux-6.3-rc2/drivers/xen/
A Dpvcalls-front.c784 nonblock = flags & SOCK_NONBLOCK; in pvcalls_front_accept()
/linux-6.3-rc2/net/smc/
A Daf_smc.c1684 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
/linux-6.3-rc2/net/sctp/
A Dsocket.c5690 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()

Completed in 46 milliseconds