Home
last modified time | relevance | path

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

123

/Linux-v5.15/include/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.15/tools/include/uapi/asm-generic/
Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v5.15/arch/parisc/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/Linux-v5.15/arch/alpha/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/Linux-v5.15/arch/sparc/include/uapi/asm/
Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/Linux-v5.15/arch/mips/include/uapi/asm/
Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/Linux-v5.15/fs/cifs/
Ddir.c271 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
485 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open()
531 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
/Linux-v5.15/include/uapi/linux/
Dwatch_queue.h9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
/Linux-v5.15/include/linux/
Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/Linux-v5.15/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.15/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.15/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.15/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.15/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.15/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.15/arch/um/os-Linux/
Dmem.c110 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
Dumid.c224 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
/Linux-v5.15/tools/include/nolibc/
Dnolibc.h422 #define O_EXCL 0x80 macro
602 #define O_EXCL 0x80 macro
787 #define O_EXCL 0x80 macro
984 #define O_EXCL 0x80 macro
1193 #define O_EXCL 0x0400 macro
1387 #define O_EXCL 0x200 macro
/Linux-v5.15/tools/testing/selftests/kvm/
Dhardware_disable_test.c171 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0); in main()
/Linux-v5.15/fs/pstore/
Dblk.c213 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/Linux-v5.15/tools/testing/selftests/capabilities/
Dtest_execve.c160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/Linux-v5.15/tools/testing/selftests/openat2/
Dopenat2_test.c186 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
/Linux-v5.15/tools/perf/util/
Ddata-convert-json.c321 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666); in bt_convert__perf2json()
/Linux-v5.15/tools/testing/selftests/proc/
Dproc-pid-vm.c194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()

123