Home
last modified time | relevance | path

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

123

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/linux/arch/mips/include/uapi/asm/
H A Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/linux/rust/kernel/fs/
H A Dfile.rs49 pub const O_EXCL: u32 = bindings::O_EXCL; constant
/linux/include/uapi/linux/
H A Dwatch_queue.h9 #define O_NOTIFICATION_PIPE O_EXCL /* Parameter to pipe2() selecting notification pipe */
H A Dpidfd.h12 #define PIDFD_THREAD O_EXCL
/linux/fs/smb/client/
H A Ddir.c291 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
529 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
580 unsigned oflags = O_EXCL | O_CREAT | O_RDWR;
/linux/include/linux/
H A Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/linux/arch/x86/kernel/cpu/mce/
H A 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/drivers/xen/
H A 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/tools/testing/selftests/mqueue/
H A 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/include/trace/misc/
H A Dfs.h29 { O_EXCL, "O_EXCL" }, \
/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c39 int fd = open("/tmp/aa", O_RDWR | O_CREAT | O_EXCL, 0600); in main()
/linux/drivers/char/
H A 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/fs/coda/
H A Dfile.c230 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open()
263 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
H A Dcoda_linux.c63 if (flags & O_EXCL) in coda_flags_to_cflags()
/linux/arch/um/os-Linux/
H A Dmem.c146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
H A Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd.h176 #define PIDFD_THREAD O_EXCL
/linux/fs/pstore/
H A Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c304 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c187 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()

123