fcntl 203 arch/um/os-Linux/file.c if (flags.cl && fcntl(fd, F_SETFD, 1)) { fcntl 365 arch/um/os-Linux/file.c CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); fcntl 405 arch/um/os-Linux/file.c flags = fcntl(fd, F_GETFL); fcntl 410 arch/um/os-Linux/file.c if (fcntl(fd, F_SETFL, flags) < 0) { fcntl 417 arch/um/os-Linux/file.c if ((fcntl(fd, F_SETSIG, SIGIO) < 0) || fcntl 418 arch/um/os-Linux/file.c (fcntl(fd, F_SETOWN, os_getpid()) < 0)) { fcntl 432 arch/um/os-Linux/file.c flags = fcntl(fd, F_GETFL); fcntl 437 arch/um/os-Linux/file.c if (fcntl(fd, F_SETFL, flags) < 0) fcntl 446 arch/um/os-Linux/file.c flags = fcntl(fd, F_GETFL); fcntl 455 arch/um/os-Linux/file.c if (fcntl(fd, F_SETFL, flags) < 0) fcntl 583 arch/um/os-Linux/file.c err = fcntl(fd, F_SETLK, &lock); fcntl 588 arch/um/os-Linux/file.c err = fcntl(fd, F_GETLK, &lock); fcntl 415 arch/um/os-Linux/sigio.c flags = fcntl(master, F_GETFL); fcntl 419 arch/um/os-Linux/sigio.c if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || fcntl 420 arch/um/os-Linux/sigio.c (fcntl(master, F_SETOWN, os_getpid()) < 0)) fcntl 423 arch/um/os-Linux/sigio.c if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) fcntl 327 drivers/net/ethernet/sfc/mcdi_port.c u32 speed, u32 flags, u32 fcntl) fcntl 329 drivers/net/ethernet/sfc/mcdi_port.c switch (fcntl) { fcntl 1154 drivers/net/ethernet/sfc/mcdi_port.c u32 flags, fcntl, speed, lpa; fcntl 1161 drivers/net/ethernet/sfc/mcdi_port.c fcntl = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_FCNTL); fcntl 1168 drivers/net/ethernet/sfc/mcdi_port.c efx_mcdi_phy_decode_link(efx, &efx->link_state, speed, flags, fcntl); fcntl 1177 drivers/net/ethernet/sfc/mcdi_port.c u32 fcntl; fcntl 1200 drivers/net/ethernet/sfc/mcdi_port.c fcntl = MC_CMD_FCNTL_BIDIR; fcntl 1203 drivers/net/ethernet/sfc/mcdi_port.c fcntl = MC_CMD_FCNTL_RESPOND; fcntl 1206 drivers/net/ethernet/sfc/mcdi_port.c fcntl = MC_CMD_FCNTL_OFF; fcntl 1210 drivers/net/ethernet/sfc/mcdi_port.c fcntl = MC_CMD_FCNTL_AUTO; fcntl 1212 drivers/net/ethernet/sfc/mcdi_port.c fcntl = MC_CMD_FCNTL_OFF; fcntl 1214 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(cmdbytes, SET_MAC_IN_FCNTL, fcntl); fcntl 448 fs/fcntl.c SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) fcntl 681 fs/fcntl.c COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, fcntl 535 samples/bpf/xdp_router_ipv4_user.c fcntl(sock, F_SETFL, O_NONBLOCK); fcntl 553 samples/bpf/xdp_router_ipv4_user.c fcntl(sock_arp, F_SETFL, O_NONBLOCK); fcntl 251 samples/timers/hpet_example.c if ((fcntl(fd, F_SETOWN, getpid()) == 1) || fcntl 252 samples/timers/hpet_example.c ((value = fcntl(fd, F_GETFL)) == 1) || fcntl 253 samples/timers/hpet_example.c (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { fcntl 126 tools/hv/hv_kvp_daemon.c if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { fcntl 138 tools/hv/hv_kvp_daemon.c if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { fcntl 360 tools/perf/builtin-ftrace.c fcntl(trace_fd, F_SETFL, O_NONBLOCK); fcntl 916 tools/perf/builtin-kvm.c arg = fcntl(fd, F_GETFL); fcntl 922 tools/perf/builtin-kvm.c if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { fcntl 274 tools/perf/lib/evlist.c fcntl(fd, F_SETFL, O_NONBLOCK); fcntl 128 tools/perf/tests/bp_signal.c fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); fcntl 129 tools/perf/tests/bp_signal.c fcntl(fd, F_SETSIG, sig); fcntl 130 tools/perf/tests/bp_signal.c fcntl(fd, F_SETOWN, getpid()); fcntl 103 tools/perf/tests/bp_signal_overflow.c fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); fcntl 104 tools/perf/tests/bp_signal_overflow.c fcntl(fd, F_SETSIG, SIGIO); fcntl 105 tools/perf/tests/bp_signal_overflow.c fcntl(fd, F_SETOWN, getpid()); fcntl 1303 tools/perf/util/evlist.c fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); fcntl 1370 tools/perf/util/evlist.c fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); fcntl 101 tools/power/acpi/tools/acpidbg/acpidbg.c ret = fcntl(fd, F_GETFL, 0); fcntl 107 tools/power/acpi/tools/acpidbg/acpidbg.c ret = fcntl(fd, F_SETFL, flags); fcntl 488 tools/testing/selftests/bpf/test_sockmap.c fcntl(fd, fd_flags); fcntl 42 tools/testing/selftests/drivers/dma-buf/udmabuf.c ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); fcntl 27 tools/testing/selftests/filesystems/dnotify_test.c fcntl(fd, F_SETSIG, SIGRTMIN + 1); fcntl 28 tools/testing/selftests/filesystems/dnotify_test.c fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); fcntl 67 tools/testing/selftests/memfd/fuse_test.c r = fcntl(fd, F_GET_SEALS); fcntl 94 tools/testing/selftests/memfd/fuse_test.c r = fcntl(fd, F_ADD_SEALS, seals); fcntl 107 tools/testing/selftests/memfd/fuse_test.c r = fcntl(fd, F_GET_SEALS); fcntl 113 tools/testing/selftests/memfd/fuse_test.c r = fcntl(fd, F_ADD_SEALS, seals); fcntl 90 tools/testing/selftests/memfd/memfd_test.c r = fcntl(fd, F_GET_SEALS); fcntl 116 tools/testing/selftests/memfd/memfd_test.c r = fcntl(fd, F_ADD_SEALS, seals); fcntl 128 tools/testing/selftests/memfd/memfd_test.c r = fcntl(fd, F_GET_SEALS); fcntl 134 tools/testing/selftests/memfd/memfd_test.c r = fcntl(fd, F_ADD_SEALS, seals); fcntl 1146 tools/testing/selftests/net/nettest.c flags = fcntl(sd, F_GETFL); fcntl 1147 tools/testing/selftests/net/nettest.c if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { fcntl 1152 tools/testing/selftests/net/nettest.c if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) fcntl 1295 tools/testing/selftests/net/nettest.c flags = fcntl(sd, F_GETFL); fcntl 1296 tools/testing/selftests/net/nettest.c if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { fcntl 138 tools/testing/selftests/net/tcp_mmap.c fcntl(fd, F_SETFL, O_NDELAY); fcntl 868 tools/testing/selftests/net/tls.c flags = fcntl(self->fd, F_GETFL, 0); fcntl 869 tools/testing/selftests/net/tls.c fcntl(self->fd, F_SETFL, flags | O_NONBLOCK); fcntl 870 tools/testing/selftests/net/tls.c fcntl(self->cfd, F_SETFL, flags | O_NONBLOCK); fcntl 185 tools/testing/selftests/sync/sync.c status = fcntl(fd, F_GETFD, 0); fcntl 663 tools/testing/selftests/vm/userfaultfd.c uffd_flags = fcntl(uffd, F_GETFD, NULL); fcntl 927 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); fcntl 986 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); fcntl 1114 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); fcntl 1116 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); fcntl 76 tools/virtio/virtio-trace/trace-agent-rw.c if (fcntl(*data_pipe, F_SETPIPE_SZ, pipe_size) < 0) {