Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v5.10/tools/include/uapi/asm-generic/
Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.10/include/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.10/arch/parisc/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/Linux-v5.10/arch/alpha/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/Linux-v5.10/arch/sparc/include/uapi/asm/
Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/Linux-v5.10/arch/mips/include/uapi/asm/
Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/Linux-v5.10/fs/cifs/
Ddir.c326 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
535 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
581 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
/Linux-v5.10/include/uapi/linux/
Dwatch_queue.h9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
/Linux-v5.10/include/linux/
Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/Linux-v5.10/arch/x86/kernel/cpu/mce/
Ddev-mcelog.c133 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open()
139 if (file->f_flags & O_EXCL) in mce_chrdev_open()
/Linux-v5.10/drivers/xen/
Dmcelog.c79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in xen_mce_chrdev_open()
85 if (file->f_flags & O_EXCL) in xen_mce_chrdev_open()
/Linux-v5.10/drivers/thermal/intel/int340x_thermal/
Dacpi_thermal_rel.c34 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open()
39 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
/Linux-v5.10/tools/testing/selftests/mqueue/
Dmq_open_tests.c202 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue()
224 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
/Linux-v5.10/fs/coda/
Dfile.c203 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
236 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
Dcoda_linux.c63 if (flags & O_EXCL) in coda_flags_to_cflags()
/Linux-v5.10/drivers/char/
Dnvram.c355 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_misc_open()
370 if (file->f_flags & O_EXCL) in nvram_misc_open()
/Linux-v5.10/arch/um/os-Linux/
Dmem.c110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
Dumid.c231 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
/Linux-v5.10/tools/include/nolibc/
Dnolibc.h445 #define O_EXCL 0x80 macro
625 #define O_EXCL 0x80 macro
810 #define O_EXCL 0x80 macro
1007 #define O_EXCL 0x80 macro
1216 #define O_EXCL 0x0400 macro
1410 #define O_EXCL 0x200 macro
/Linux-v5.10/tools/testing/selftests/openat2/
Dopenat2_test.c182 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
/Linux-v5.10/tools/testing/selftests/capabilities/
Dtest_execve.c160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/Linux-v5.10/tools/testing/selftests/proc/
Dproc-pid-vm.c194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
/Linux-v5.10/drivers/misc/
Dhpilo.c593 data->ccb_excl = fp->f_flags & O_EXCL; in ilo_open()
619 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
/Linux-v5.10/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
/Linux-v5.10/fs/nfs/
Dnfs4file.c57 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()

123