/linux-4.1.27/arch/um/os-Linux/ |
D | file.c | 199 if (flags.cl && fcntl(fd, F_SETFD, 1)) { in os_open_file() 342 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close() 382 flags = fcntl(fd, F_GETFL); in os_set_fd_async() 387 if (fcntl(fd, F_SETFL, flags) < 0) { in os_set_fd_async() 394 if ((fcntl(fd, F_SETSIG, SIGIO) < 0) || in os_set_fd_async() 395 (fcntl(fd, F_SETOWN, os_getpid()) < 0)) { in os_set_fd_async() 409 flags = fcntl(fd, F_GETFL); in os_clear_fd_async() 414 if (fcntl(fd, F_SETFL, flags) < 0) in os_clear_fd_async() 423 flags = fcntl(fd, F_GETFL); in os_set_fd_block() 432 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.1.27/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.1.27/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 | 66 r = fcntl(fd, F_GET_SEALS); in mfd_assert_get_seals() 92 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals() 104 r = fcntl(fd, F_GET_SEALS); in mfd_fail_add_seals() 110 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_fail_add_seals()
|
/linux-4.1.27/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 | 874 fasync: called by the fcntl(2) system call when asynchronous 877 lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW 882 check_flags: called by the fcntl(2) system call for F_SETFL command
|
/linux-4.1.27/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 881 fcntl = MC_CMD_FCNTL_BIDIR; in efx_mcdi_set_mac() 884 fcntl = MC_CMD_FCNTL_RESPOND; in efx_mcdi_set_mac() 887 fcntl = MC_CMD_FCNTL_OFF; in efx_mcdi_set_mac() 891 fcntl = MC_CMD_FCNTL_AUTO; in efx_mcdi_set_mac() [all …]
|
/linux-4.1.27/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.1.27/arch/blackfin/include/uapi/asm/ |
D | Kbuild | 7 header-y += fcntl.h
|
/linux-4.1.27/arch/arm/include/uapi/asm/ |
D | Kbuild | 6 header-y += fcntl.h
|
/linux-4.1.27/arch/arm64/include/uapi/asm/ |
D | Kbuild | 9 header-y += fcntl.h
|
/linux-4.1.27/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.1.27/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.1.27/arch/parisc/include/uapi/asm/ |
D | Kbuild | 9 header-y += fcntl.h
|
/linux-4.1.27/arch/mn10300/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.1.27/arch/m32r/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.1.27/arch/score/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | Kbuild | 10 generic-y += fcntl.h
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
D | Kbuild | 8 header-y += fcntl.h
|
/linux-4.1.27/arch/avr32/include/uapi/asm/ |
D | Kbuild | 26 generic-y += fcntl.h
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
D | Kbuild | 24 header-y += fcntl.h
|
/linux-4.1.27/arch/microblaze/include/uapi/asm/ |
D | Kbuild | 11 header-y += fcntl.h
|
/linux-4.1.27/include/uapi/asm-generic/ |
D | Kbuild | 6 header-y += fcntl.h
|
D | Kbuild.asm | 15 header-y += fcntl.h
|
/linux-4.1.27/arch/tile/include/asm/ |
D | Kbuild | 13 generic-y += fcntl.h
|
/linux-4.1.27/arch/cris/include/uapi/asm/ |
D | Kbuild | 12 header-y += fcntl.h
|
/linux-4.1.27/arch/sh/include/asm/ |
D | Kbuild | 10 generic-y += fcntl.h
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
D | Kbuild | 13 header-y += fcntl.h
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | Kbuild | 11 header-y += fcntl.h
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
D | Kbuild | 12 header-y += fcntl.h
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | Kbuild | 12 header-y += fcntl.h
|
/linux-4.1.27/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.1.27/arch/sparc/include/uapi/asm/ |
D | Kbuild | 15 header-y += fcntl.h
|
/linux-4.1.27/arch/arc/include/asm/ |
D | Kbuild | 12 generic-y += fcntl.h
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
D | Kbuild | 13 header-y += fcntl.h
|
/linux-4.1.27/arch/metag/include/asm/ |
D | Kbuild | 13 generic-y += fcntl.h
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | Kbuild | 16 generic-y += fcntl.h
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | Kbuild | 16 generic-y += fcntl.h
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | Kbuild | 16 header-y += fcntl.h
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | Kbuild | 15 generic-y += fcntl.h
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | Kbuild | 18 generic-y += fcntl.h
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | Kbuild | 24 generic-y += fcntl.h
|
/linux-4.1.27/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.1.27/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.1.27/Documentation/x86/ |
D | mtrr.txt | 145 #include <fcntl.h> 242 #include <fcntl.h>
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 441 fcntl(fd, F_SETFL, O_NONBLOCK); in __perf_evlist__add_pollfd() 1349 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload() 1416 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 126 ENTRY_COMP(fcntl) /* 55 */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 61 COMPAT_SYS_SPU(fcntl)
|
/linux-4.1.27/Documentation/hid/ |
D | hidraw.txt | 46 fcntl().
|
/linux-4.1.27/tools/perf/ |
D | builtin-kvm.c | 875 arg = fcntl(fd, F_GETFL); in fd_set_nonblock() 881 if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { in fd_set_nonblock()
|
D | design.txt | 29 VFS system calls: read() can be used to read the counter, fcntl() 399 fcntl() managing signals.
|
/linux-4.1.27/tools/hv/ |
D | hv_kvp_daemon.c | 128 if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock() 140 if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { in kvp_release_lock()
|
/linux-4.1.27/Documentation/spi/ |
D | spidev | 5 #include <fcntl.h>
|
/linux-4.1.27/arch/x86/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.1.27/Documentation/sound/oss/ |
D | Opti | 180 #include <fcntl.h>
|
/linux-4.1.27/Documentation/usb/ |
D | gadget_hid.txt | 129 #include <fcntl.h>
|
D | gadget_printer.txt | 148 #include <fcntl.h>
|
/linux-4.1.27/include/uapi/linux/ |
D | Kbuild | 122 header-y += fcntl.h
|
/linux-4.1.27/Documentation/networking/ |
D | cdc_mbim.txt | 130 #include <fcntl.h>
|
/linux-4.1.27/Documentation/cdrom/ |
D | ide-cd | 362 #include <fcntl.h>
|
/linux-4.1.27/Documentation/ia64/ |
D | err_inject.txt | 90 #include <fcntl.h>
|
/linux-4.1.27/Documentation/security/ |
D | credentials.txt | 80 given to it by a task that called fcntl(F_SETOWN) upon it. In this case,
|
/linux-4.1.27/Documentation/ |
D | dma-buf-sharing.txt | 437 The problem with doing this via a separate fcntl() call, versus doing it
|
/linux-4.1.27/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.1.27/Documentation/trace/ |
D | ftrace.txt | 1763 #include <fcntl.h>
|
/linux-4.1.27/ |
D | MAINTAINERS | 4005 FILE LOCKING (flock() and fcntl()/lockf()) 4010 F: include/linux/fcntl.h 4012 F: include/uapi/linux/fcntl.h 4014 F: fs/fcntl.c
|