Home
last modified time | relevance | path

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

123

/Linux-v6.6/tools/include/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v6.6/include/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/Linux-v6.6/arch/parisc/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/Linux-v6.6/arch/mips/include/uapi/asm/
Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/Linux-v6.6/arch/sparc/include/uapi/asm/
Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/Linux-v6.6/fs/smb/client/
Ddir.c281 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
494 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
545 unsigned oflags = O_EXCL | O_CREAT | O_RDWR;
/Linux-v6.6/include/uapi/linux/
Dwatch_queue.h9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
/Linux-v6.6/include/linux/
Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/Linux-v6.6/arch/x86/kernel/cpu/mce/
Ddev-mcelog.c132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open()
138 if (file->f_flags & O_EXCL) in mce_chrdev_open()
/Linux-v6.6/include/trace/misc/
Dfs.h29 { O_EXCL, "O_EXCL" }, \
/Linux-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/filelock/
Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600); in main()
/Linux-v6.6/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-v6.6/fs/coda/
Dfile.c232 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
265 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-v6.6/tools/testing/selftests/kvm/
Dhardware_disable_test.c160 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0); in main()
/Linux-v6.6/arch/um/os-Linux/
Dmem.c132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
/Linux-v6.6/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-v6.6/fs/pstore/
Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/Linux-v6.6/tools/testing/selftests/openat2/
Dopenat2_test.c186 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
/Linux-v6.6/tools/testing/selftests/capabilities/
Dtest_execve.c160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/Linux-v6.6/drivers/misc/
Dhpilo.c589 data->ccb_excl = fp->f_flags & O_EXCL; in ilo_open()
615 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()

123