| /linux-6.15/tools/perf/trace/beauty/ |
| H A D | socket_type.c | 13 #ifndef SOCK_NONBLOCK 14 # define SOCK_NONBLOCK 00004000 macro
|
| /linux-6.15/arch/parisc/include/asm/ |
| H A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
| /linux-6.15/arch/alpha/include/asm/ |
| H A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_listen.c | 381 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete() 436 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete() 548 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete() 797 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_listening() 984 s = socket_loopback_reuseport(family, sotype | SOCK_NONBLOCK, in test_reuseport_select_listening() 1438 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1442 if (socketpair(AF_UNIX, sotype | SOCK_NONBLOCK, 0, sfd)) in unix_redir_to_connected() 1493 return create_pair(AF_VSOCK, sotype | SOCK_NONBLOCK, v0, v1); in vsock_socketpair_connectible() 1642 return create_pair(family, type | SOCK_NONBLOCK, s, c); in inet_socketpair() 1709 if (socketpair(AF_UNIX, type | SOCK_NONBLOCK, 0, sfd)) in inet_unix_redir_to_connected() [all …]
|
| H A D | sockmap_basic.c | 789 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0); in test_sockmap_many_socket() 858 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0); in test_sockmap_many_maps() 929 udp = xsocket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0); in test_sockmap_same_sock()
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | socket.h | 46 #define SOCK_NONBLOCK O_NONBLOCK macro
|
| /linux-6.15/samples/bpf/ |
| H 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-6.15/net/ |
| H A D | socket.c | 1630 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create() 1653 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file() 1654 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file() 1689 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket() 1690 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket() 1712 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair() 1716 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair() 1717 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair() 1954 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file() 1957 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_accept4_file() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | net.h | 81 #ifndef SOCK_NONBLOCK 82 #define SOCK_NONBLOCK O_NONBLOCK macro
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | so_incoming_cpu.c | 130 fd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in create_server()
|
| /linux-6.15/io_uring/ |
| H A D | net.c | 1591 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep() 1593 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept_prep() 1594 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept_prep() 1679 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket_prep()
|
| /linux-6.15/fs/smb/server/ |
| H A D | transport_tcp.c | 242 SOCK_NONBLOCK); in ksmbd_kthread_fn()
|
| /linux-6.15/tools/testing/selftests/net/af_unix/ |
| H A D | msg_oob.c | 52 ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0, self->fd); in create_unix_socketpair()
|
| /linux-6.15/drivers/xen/ |
| H A D | pvcalls-front.c | 798 nonblock = arg->flags & SOCK_NONBLOCK; in pvcalls_front_accept()
|
| /linux-6.15/net/smc/ |
| H A D | af_smc.c | 1735 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
|
| /linux-6.15/net/sctp/ |
| H A D | socket.c | 5710 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()
|