Searched refs:F_SETFL (Results 1 - 25 of 37) sorted by last modified time

12

/linux-master/tools/testing/selftests/net/
H A Dtls.c1291 fcntl(self->fd, F_SETFL, flags | O_NONBLOCK);
1292 fcntl(self->cfd, F_SETFL, flags | O_NONBLOCK);
H A Dnettest.c1531 if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) {
1715 if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) {
H A Dtcp_mmap.c190 fcntl(fd, F_SETFL, O_NDELAY);
281 fcntl(fd, F_SETFL, 0);
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c780 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
839 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
1031 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
H A Duffd-stress.c282 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
284 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK);
/linux-master/tools/testing/ktest/
H A Dktest.pl9 use Fcntl qw(F_GETFL F_SETFL O_NONBLOCK);
/linux-master/tools/perf/tests/
H A Dbuiltin-test.c297 fcntl(out, F_SETFL, O_NONBLOCK);
299 fcntl(err, F_SETFL, O_NONBLOCK);
/linux-master/tools/lib/perf/
H A Devlist.c353 fcntl(fd, F_SETFL, O_NONBLOCK);
/linux-master/security/selinux/
H A Dhooks.c3892 case F_SETFL:
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c133 err = fcntl(s, F_SETFL, O_NONBLOCK);
H A Dlwt_helpers.h59 err = fcntl(fd, F_SETFL, O_NONBLOCK);
H A Dtrace_printk.c46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
H A Dtrace_vprintk.c39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c464 fcntl(sock, F_SETFL, O_NONBLOCK);
484 fcntl(sock_arp, F_SETFL, O_NONBLOCK);
/linux-master/fs/
H A Dfcntl.c355 case F_SETFL:
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c28 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
95 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
H A Drepair.c175 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
/linux-master/security/tomoyo/
H A Dtomoyo.c315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND)))
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c620 fcntl(trace_fd, F_SETFL, O_NONBLOCK);
904 fcntl(trace_fd, F_SETFL, O_NONBLOCK);
H A Dbuiltin-kvm.c1442 if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) {
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c599 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
601 fcntl(fd, F_SETFL, flags & ~O_NONBLOCK);
/linux-master/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c45 fcntl(fd, F_SETFL, flags);
/linux-master/arch/um/os-Linux/
H A Dsigio.c437 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) ||
441 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0))
/linux-master/tools/perf/bench/
H A Dinject-buildid.c256 fcntl(data->output_pipe[0], F_SETFL, flag | O_NONBLOCK);
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro

Completed in 634 milliseconds

12