Searched refs:F_SETFL (Results 1 - 25 of 37) sorted by path

12

/linux-master/samples/timers/
H A Dhpet_example.c253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) {
/linux-master/tools/perf/trace/beauty/
H A Dfcntl.c81 if (cmd == F_SETFL)
/linux-master/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c107 ret = fcntl(fd, F_SETFL, flags);
109 perror("fcntl(F_SETFL)");
/linux-master/arch/um/os-Linux/
H A Dfile.c413 if (fcntl(fd, F_SETFL, flags) < 0) {
440 if (fcntl(fd, F_SETFL, flags) < 0)
458 if (fcntl(fd, F_SETFL, flags) < 0)
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/fs/
H A Dfcntl.c355 case F_SETFL:
/linux-master/include/trace/misc/
H A Dfs.h56 { F_SETFL, "SETFL" }, \
77 { F_SETFL, "SETFL" }, \
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/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/security/selinux/
H A Dhooks.c3892 case F_SETFL:
/linux-master/security/tomoyo/
H A Dtomoyo.c315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND)))
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-master/tools/lib/perf/
H A Devlist.c353 fcntl(fd, F_SETFL, O_NONBLOCK);
/linux-master/tools/perf/bench/
H A Dinject-buildid.c256 fcntl(data->output_pipe[0], F_SETFL, flag | O_NONBLOCK);
/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/perf/tests/
H A Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
H A Dbp_signal_overflow.c108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
H A Dbuiltin-test.c297 fcntl(out, F_SETFL, O_NONBLOCK);
299 fcntl(err, F_SETFL, O_NONBLOCK);
/linux-master/tools/testing/ktest/
H A Dktest.pl9 use Fcntl qw(F_GETFL F_SETFL O_NONBLOCK);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h59 err = fcntl(fd, F_SETFL, O_NONBLOCK);
H A Dlwt_redirect.c133 err = fcntl(s, 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/tools/testing/selftests/mm/
H A Duffd-stress.c282 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
284 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK);

Completed in 526 milliseconds

12