/linux-4.4.14/arch/um/os-Linux/ |
D | file.c | 200 if (flags.cl && fcntl(fd, F_SETFD, 1)) { in os_open_file() 343 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close() 383 flags = fcntl(fd, F_GETFL); in os_set_fd_async() 388 if (fcntl(fd, F_SETFL, flags) < 0) { in os_set_fd_async() 395 if ((fcntl(fd, F_SETSIG, SIGIO) < 0) || in os_set_fd_async() 396 (fcntl(fd, F_SETOWN, os_getpid()) < 0)) { in os_set_fd_async() 410 flags = fcntl(fd, F_GETFL); in os_clear_fd_async() 415 if (fcntl(fd, F_SETFL, flags) < 0) in os_clear_fd_async() 424 flags = fcntl(fd, F_GETFL); in os_set_fd_block() 433 if (fcntl(fd, F_SETFL, flags) < 0) in os_set_fd_block() [all …]
|
D | sigio.c | 415 flags = fcntl(master, F_GETFL); in async_pty() 419 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty() 420 (fcntl(master, F_SETOWN, os_getpid()) < 0)) in async_pty() 423 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
|
/linux-4.4.14/tools/perf/tests/ |
D | bp_signal_overflow.c | 102 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow() 103 fcntl(fd, F_SETSIG, SIGIO); in test__bp_signal_overflow() 104 fcntl(fd, F_SETOWN, getpid()); in test__bp_signal_overflow()
|
D | bp_signal.c | 90 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in bp_event() 91 fcntl(fd, F_SETSIG, SIGIO); in bp_event() 92 fcntl(fd, F_SETOWN, getpid()); in bp_event()
|
/linux-4.4.14/tools/testing/selftests/memfd/ |
D | fuse_test.c | 68 r = fcntl(fd, F_GET_SEALS); in mfd_assert_get_seals() 95 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals() 108 r = fcntl(fd, F_GET_SEALS); in mfd_busy_add_seals() 114 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_busy_add_seals()
|
D | memfd_test.c | 67 r = fcntl(fd, F_GET_SEALS); in mfd_assert_get_seals() 93 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals() 105 r = fcntl(fd, F_GET_SEALS); in mfd_fail_add_seals() 111 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_fail_add_seals()
|
/linux-4.4.14/Documentation/filesystems/ |
D | dnotify_test.c | 26 fcntl(fd, F_SETSIG, SIGRTMIN + 1); in main() 27 fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); in main()
|
D | locks.txt | 30 installations use fcntl() instead of flock(). This is true of Slackware 3.0 33 file with fcntl() at the same time as the GDBM routines tried to lock this 42 is to make flock() and fcntl() locks oblivious to each other. Both can 49 cooperative flock()/fcntl() are those that emulate flock() using 50 fcntl(), with all the problems that implies.
|
D | dnotify.txt | 9 on a directory using a fcntl(2) call and the notifications themselves 28 information. However, if the F_SETSIG fcntl(2) call is used to let the 61 disabled, fcntl(fd, F_NOTIFY, ...) will return -EINVAL.
|
D | mandatory-locking.txt | 32 processes. File locks are applied using the flock() and fcntl() system calls 33 (and the lockf() library routine which is a wrapper around fcntl().) It is 53 as candidates for mandatory locking, and using the existing fcntl()/lockf() 57 the whole truth. System V locking is based on fcntl(). The granularity of 58 fcntl() is such that it allows the locking of byte ranges in files, in addition 63 borrowing the fcntl() locking scheme from System V. The mandatory locking 118 1. Mandatory locks can only be applied via the fcntl()/lockf() locking
|
D | 00-INDEX | 91 - info on file locking implementations, flock() vs. fcntl(), etc.
|
D | vfs.txt | 881 fasync: called by the fcntl(2) system call when asynchronous 884 lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW 889 check_flags: called by the fcntl(2) system call for F_SETFL command
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 311 u32 speed, u32 flags, u32 fcntl) in efx_mcdi_phy_decode_link() argument 313 switch (fcntl) { in efx_mcdi_phy_decode_link() 840 u32 flags, fcntl, speed, lpa; in efx_mcdi_process_link_change() local 847 fcntl = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_FCNTL); in efx_mcdi_process_link_change() 854 efx_mcdi_phy_decode_link(efx, &efx->link_state, speed, flags, fcntl); in efx_mcdi_process_link_change() 863 u32 fcntl; in efx_mcdi_set_mac() local 882 fcntl = MC_CMD_FCNTL_BIDIR; in efx_mcdi_set_mac() 885 fcntl = MC_CMD_FCNTL_RESPOND; in efx_mcdi_set_mac() 888 fcntl = MC_CMD_FCNTL_OFF; in efx_mcdi_set_mac() 892 fcntl = MC_CMD_FCNTL_AUTO; in efx_mcdi_set_mac() [all …]
|
/linux-4.4.14/Documentation/timers/ |
D | hpet_example.c | 250 if ((fcntl(fd, F_SETOWN, getpid()) == 1) || in hpet_fasync() 251 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync() 252 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { in hpet_fasync()
|
/linux-4.4.14/arch/blackfin/include/uapi/asm/ |
D | Kbuild | 7 header-y += fcntl.h
|
/linux-4.4.14/arch/arm/include/uapi/asm/ |
D | Kbuild | 6 header-y += fcntl.h
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
D | Kbuild | 9 header-y += fcntl.h
|
/linux-4.4.14/scripts/basic/ |
D | .fixdep.cmd | 44 /usr/include/fcntl.h \ 45 /usr/include/i386-linux-gnu/bits/fcntl.h \ 46 /usr/include/i386-linux-gnu/bits/fcntl-linux.h \
|
/linux-4.4.14/scripts/kconfig/ |
D | .zconf.tab.o.cmd | 94 /usr/include/fcntl.h \ 95 /usr/include/i386-linux-gnu/bits/fcntl.h \ 96 /usr/include/i386-linux-gnu/bits/fcntl-linux.h \
|
/linux-4.4.14/arch/h8300/include/uapi/asm/ |
D | Kbuild | 7 header-y += fcntl.h
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
D | Kbuild | 9 header-y += fcntl.h
|
/linux-4.4.14/arch/mn10300/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.4.14/arch/score/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.4.14/arch/m32r/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | Kbuild | 9 generic-y += fcntl.h
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | userfaultfd.c | 445 uffd_flags = fcntl(uffd, F_GETFD, NULL); in userfaultfd_stress() 519 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress() 521 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
|
/linux-4.4.14/arch/m68k/include/uapi/asm/ |
D | Kbuild | 24 header-y += fcntl.h
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
D | Kbuild | 11 header-y += fcntl.h
|
/linux-4.4.14/arch/avr32/include/uapi/asm/ |
D | Kbuild | 26 generic-y += fcntl.h
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | Kbuild | 6 header-y += fcntl.h
|
D | Kbuild.asm | 15 header-y += fcntl.h
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | Kbuild | 13 header-y += fcntl.h
|
/linux-4.4.14/arch/tile/include/asm/ |
D | Kbuild | 13 generic-y += fcntl.h
|
/linux-4.4.14/arch/sh/include/asm/ |
D | Kbuild | 10 generic-y += fcntl.h
|
/linux-4.4.14/arch/cris/include/uapi/asm/ |
D | Kbuild | 15 header-y += fcntl.h
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | Kbuild | 11 header-y += fcntl.h
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | Kbuild | 13 header-y += fcntl.h
|
/linux-4.4.14/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 78 if (fcntl(*data_pipe, F_SETPIPE_SZ, pipe_size) < 0) { in rw_thread_init()
|
/linux-4.4.14/arch/cris/include/asm/ |
D | Kbuild | 13 generic-y += fcntl.h
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
D | Kbuild | 15 header-y += fcntl.h
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
D | Kbuild | 12 header-y += fcntl.h
|
/linux-4.4.14/arch/arc/include/asm/ |
D | Kbuild | 11 generic-y += fcntl.h
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | Kbuild | 13 header-y += fcntl.h
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | Kbuild | 16 generic-y += fcntl.h
|
/linux-4.4.14/arch/metag/include/asm/ |
D | Kbuild | 13 generic-y += fcntl.h
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | Kbuild | 16 generic-y += fcntl.h
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | Kbuild | 16 header-y += fcntl.h
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | Kbuild | 15 generic-y += fcntl.h
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | Kbuild | 18 generic-y += fcntl.h
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | Kbuild | 24 generic-y += fcntl.h
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | Kbuild | 18 generic-y += fcntl.h
|
/linux-4.4.14/tools/usb/usbip/ |
D | configure.ac | 31 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h dnl
|
/linux-4.4.14/fs/ |
D | Makefile | 9 char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
|
D | fcntl.c | 356 SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument
|
D | compat.c | 489 COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, in COMPAT_SYSCALL_DEFINE3() argument
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 88 API-fcntl-getlease 90 API-fcntl-setlease
|
/linux-4.4.14/Documentation/ |
D | adding-syscalls.txt | 36 an additional fcntl(2) command option may be more appropriate. However, 37 fcntl(2) is a multiplexing system call that hides a lot of complexity, so 39 existing fcntl(2) functionality, or the new functionality is very simple 43 fcntl(2), this system call is a complicated multiplexor so is best reserved 110 window between xyzzy() and calling fcntl(fd, F_SETFD, FD_CLOEXEC), where an
|
D | dma-buf-sharing.txt | 437 The problem with doing this via a separate fcntl() call, versus doing it
|
/linux-4.4.14/Documentation/x86/ |
D | mtrr.txt | 169 #include <fcntl.h> 266 #include <fcntl.h>
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 126 ENTRY_COMP(fcntl) /* 55 */
|
/linux-4.4.14/tools/perf/util/ |
D | evlist.c | 504 fcntl(fd, F_SETFL, O_NONBLOCK); in __perf_evlist__add_pollfd() 1534 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload() 1601 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 61 COMPAT_SYS_SPU(fcntl)
|
/linux-4.4.14/Documentation/hid/ |
D | hidraw.txt | 46 fcntl().
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 126 if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock() 138 if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { in kvp_release_lock()
|
/linux-4.4.14/tools/perf/ |
D | design.txt | 29 VFS system calls: read() can be used to read the counter, fcntl() 399 fcntl() managing signals.
|
D | builtin-kvm.c | 876 arg = fcntl(fd, F_GETFL); in fd_set_nonblock() 882 if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { in fd_set_nonblock()
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 81 72 common fcntl sys_fcntl
|
D | syscall_32.tbl | 64 55 i386 fcntl sys_fcntl compat_sys_fcntl64
|
/linux-4.4.14/Documentation/spi/ |
D | spidev | 5 #include <fcntl.h>
|
/linux-4.4.14/Documentation/sound/oss/ |
D | Opti | 180 #include <fcntl.h>
|
/linux-4.4.14/Documentation/usb/ |
D | gadget_printer.txt | 148 #include <fcntl.h>
|
D | gadget_hid.txt | 129 #include <fcntl.h>
|
/linux-4.4.14/Documentation/networking/ |
D | cdc_mbim.txt | 130 #include <fcntl.h>
|
/linux-4.4.14/Documentation/sysctl/ |
D | fs.txt | 178 limit total memory usage, and trying to increase them using fcntl() will be
|
/linux-4.4.14/include/uapi/linux/ |
D | Kbuild | 122 header-y += fcntl.h
|
/linux-4.4.14/Documentation/cdrom/ |
D | ide-cd | 362 #include <fcntl.h>
|
/linux-4.4.14/Documentation/ia64/ |
D | err_inject.txt | 90 #include <fcntl.h>
|
/linux-4.4.14/Documentation/security/ |
D | credentials.txt | 80 given to it by a task that called fcntl(F_SETOWN) upon it. In this case,
|
/linux-4.4.14/Documentation/filesystems/cifs/ |
D | CHANGES | 95 handling fcntl(F_SETLEASE). Convert cifs to using blocking tcp 1039 2) Fixed GETLK (i.e. the fcntl call to test a range of bytes in a file to see if locked) to correct…
|
D | README | 566 could grant fcntl leases if no other local processes are using
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 1776 #include <fcntl.h>
|
/linux-4.4.14/ |
D | MAINTAINERS | 4324 FILE LOCKING (flock() and fcntl()/lockf()) 4329 F: include/linux/fcntl.h 4331 F: include/uapi/linux/fcntl.h 4333 F: fs/fcntl.c
|