Home
last modified time | relevance | path

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

123

/Linux-v5.4/include/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.4/tools/include/uapi/asm-generic/
Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dfcntl.h8 #define O_EXCL 000002000 /* not fcntl */ macro
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/Linux-v5.4/arch/mips/include/uapi/asm/
Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/Linux-v5.4/fs/cifs/
Ddir.c328 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
539 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
586 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
/Linux-v5.4/include/linux/
Dfcntl.h9 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Ddev-mcelog.c130 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open()
136 if (file->f_flags & O_EXCL) in mce_chrdev_open()
/Linux-v5.4/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.4/drivers/thermal/intel/int340x_thermal/
Dacpi_thermal_rel.c33 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open()
38 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
/Linux-v5.4/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.4/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.4/drivers/char/
Dnvram.c359 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_misc_open()
374 if (file->f_flags & O_EXCL) in nvram_misc_open()
/Linux-v5.4/arch/um/os-Linux/
Dmem.c110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
Dumid.c230 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
/Linux-v5.4/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.4/fs/nfs/
Dnfs4file.c55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
/Linux-v5.4/tools/testing/selftests/capabilities/
Dtest_execve.c160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/Linux-v5.4/tools/testing/selftests/cgroup/
Dcgroup_util.c337 return open(".", O_TMPFILE | O_RDWR | O_EXCL); in get_temp_fd()
/Linux-v5.4/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.4/drivers/misc/
Dhpilo.c594 data->ccb_excl = fp->f_flags & O_EXCL; in ilo_open()
620 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
/Linux-v5.4/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.4/drivers/gpu/drm/
Ddrm_file.c303 if (filp->f_flags & O_EXCL) in drm_open_helper()

123