| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_rfc5961_rst-syn-recv.pkt | 10 0 socket(..., SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP) = 3 22 +0 socket(..., SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP) = 3 37 +0 socket(..., SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP) = 3 51 +0 socket(..., SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP) = 3
|
| /linux/tools/perf/trace/beauty/ |
| H A D | socket_type.c | 15 #ifndef SOCK_NONBLOCK 16 # define SOCK_NONBLOCK 00004000 14 # define SOCK_NONBLOCK global() macro
|
| /linux/arch/parisc/include/asm/ |
| H A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
| /linux/arch/alpha/include/asm/ |
| H A D | socket.h | 10 #define SOCK_NONBLOCK 0x40000000 macro
|
| /linux/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/net/ |
| H A D | socket.c | 1765 BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); in __sys_socket_create() 1767 if ((type & ~SOCK_TYPE_MASK) & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket_create() 1788 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket_file() 1789 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket_file() 1824 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socket() 1825 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socket() 1847 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair() 1851 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in __sys_socketpair() 1852 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in __sys_socketpair() 2087 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_listen.c | 382 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_after_delete() 437 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_accept_before_delete() 549 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in test_syn_recv_insert_delete() 689 err = create_socket_pairs(family, sotype | SOCK_NONBLOCK, &c0, &c1, in redir_to_connected() 798 s = socket_loopback(family, sotype | SOCK_NONBLOCK); in redir_to_listening() 918 err = create_socket_pairs(family, sotype | SOCK_NONBLOCK, &c0, &c1, in redir_partial() 987 s = socket_loopback_reuseport(family, sotype | SOCK_NONBLOCK, in test_reuseport_select_listening()
|
| H A D | icmp_send_kfunc.c | 31 fd = socket(addr.ss_family, SOCK_STREAM | SOCK_NONBLOCK, 0); in connect_to_fd_nonblock()
|
| H A D | sockmap_basic.c | 808 udp = socket_loopback(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK); in test_sockmap_many_socket() 877 udp = socket_loopback(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK); in test_sockmap_many_maps() 948 udp = socket_loopback(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK); in test_sockmap_same_sock()
|
| /linux/include/linux/ |
| H A D | net.h | 125 #ifndef SOCK_NONBLOCK 126 #define SOCK_NONBLOCK O_NONBLOCK macro
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | udpclash.c | 142 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_UDP); in main()
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_inq.c | 44 err = socketpair(AF_UNIX, variant->type | SOCK_NONBLOCK, 0, self->fd); in FIXTURE_SETUP()
|
| H A D | msg_oob.c | 52 ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0, self->fd); in create_unix_socketpair()
|
| /linux/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/io_uring/ |
| H A D | net.c | 1636 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept() 1638 if (SOCK_NONBLOCK != O_NONBLOCK && (accept->flags & SOCK_NONBLOCK)) in io_accept() 1639 accept->flags = (accept->flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in io_accept() 1773 if (sock->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_socket()
|
| /linux/drivers/xen/ |
| H A D | pvcalls-front.c | 845 nonblock = arg->flags & SOCK_NONBLOCK; in pvcalls_front_accept()
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_test.c | 1864 fd = socket(AF_VSOCK, SOCK_STREAM | SOCK_NONBLOCK, 0); in test_stream_transport_uaf()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 1189 fd = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, 0); in ublk_shmem_sock_create()
|
| /linux/net/smc/ |
| H A D | af_smc.c | 1757 rc = kernel_accept(lsmc->clcsock, &new_clcsock, SOCK_NONBLOCK); in smc_clcsock_accept()
|
| /linux/net/sctp/ |
| H A D | socket.c | 5776 if (flags & SOCK_NONBLOCK) in sctp_getsockopt_peeloff_common()
|