O_EXCL 195 arch/um/os-Linux/file.c f |= O_EXCL; O_EXCL 110 arch/um/os-Linux/mem.c fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); O_EXCL 230 arch/um/os-Linux/umid.c fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); O_EXCL 130 arch/x86/kernel/cpu/mce/dev-mcelog.c (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { O_EXCL 136 arch/x86/kernel/cpu/mce/dev-mcelog.c if (file->f_flags & O_EXCL) O_EXCL 359 drivers/char/nvram.c if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || O_EXCL 374 drivers/char/nvram.c if (file->f_flags & O_EXCL) O_EXCL 303 drivers/gpu/drm/drm_file.c if (filp->f_flags & O_EXCL) O_EXCL 591 drivers/infiniband/core/uverbs_cmd.c if (xrcd && cmd.oflags & O_EXCL) { O_EXCL 594 drivers/misc/hpilo.c data->ccb_excl = fp->f_flags & O_EXCL; O_EXCL 620 drivers/misc/hpilo.c if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { O_EXCL 250 drivers/scsi/sg.c if (flags & O_EXCL) { O_EXCL 293 drivers/scsi/sg.c if ((flags & O_EXCL) && (O_RDONLY == (flags & O_ACCMODE))) O_EXCL 324 drivers/scsi/sg.c if (flags & O_EXCL) { O_EXCL 342 drivers/scsi/sg.c if (flags & O_EXCL) O_EXCL 366 drivers/scsi/sg.c if (flags & O_EXCL) { O_EXCL 33 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { O_EXCL 38 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c if (file->f_flags & O_EXCL) O_EXCL 79 drivers/xen/mcelog.c (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { O_EXCL 85 drivers/xen/mcelog.c if (file->f_flags & O_EXCL) O_EXCL 181 fs/9p/vfs_inode.c if (uflags & O_EXCL) O_EXCL 172 fs/9p/vfs_inode_dotl.c { O_EXCL, P9_DOTL_EXCL }, O_EXCL 1838 fs/block_dev.c if (filp->f_flags & O_EXCL) O_EXCL 41 fs/ceph/file.c ceph_sys2wire(O_EXCL); O_EXCL 360 fs/ceph/file.c flags = file->f_flags & ~(O_CREAT|O_EXCL); O_EXCL 328 fs/cifs/dir.c if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) O_EXCL 539 fs/cifs/dir.c if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) O_EXCL 585 fs/cifs/dir.c unsigned oflags = O_EXCL | O_CREAT | O_RDWR; O_EXCL 79 fs/cifs/file.c if (flags & O_EXCL) O_EXCL 81 fs/cifs/file.c } else if (flags & O_EXCL) O_EXCL 102 fs/cifs/file.c if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) O_EXCL 735 fs/cifs/file.c ~(O_CREAT | O_EXCL | O_TRUNC); O_EXCL 63 fs/coda/coda_linux.c if (flags & O_EXCL) O_EXCL 203 fs/coda/file.c unsigned short flags = coda_file->f_flags & (~O_EXCL); O_EXCL 236 fs/coda/file.c unsigned short flags = (coda_file->f_flags) & (~O_EXCL); O_EXCL 699 fs/coredump.c O_LARGEFILE | O_EXCL; O_EXCL 495 fs/fuse/dir.c flags &= ~(O_CREAT | O_EXCL | O_TRUNC); O_EXCL 41 fs/fuse/file.c inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); O_EXCL 1237 fs/gfs2/inode.c bool excl = !!(flags & O_EXCL); O_EXCL 3055 fs/namei.c if (!(~open_flag & (O_EXCL | O_CREAT))) /* both O_EXCL and O_CREAT */ O_EXCL 3174 fs/namei.c if (open_flag & (O_EXCL | O_TRUNC)) O_EXCL 3181 fs/namei.c if (open_flag & O_EXCL) O_EXCL 3226 fs/namei.c open_flag & O_EXCL); O_EXCL 3368 fs/namei.c if (unlikely((open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT))) { O_EXCL 3453 fs/namei.c if (!(open_flag & O_EXCL)) { O_EXCL 1760 fs/nfs/dir.c int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT; O_EXCL 325 fs/nfs/nfs3proc.c if (flags & O_EXCL) { O_EXCL 55 fs/nfs/nfs4file.c openflags &= ~(O_CREAT|O_EXCL); O_EXCL 1319 fs/nfs/nfs4proc.c if (!(flags & O_EXCL)) { O_EXCL 1420 fs/nfs/nfs4proc.c if (open_mode & (O_EXCL|O_TRUNC)) O_EXCL 2407 fs/nfs/nfs4proc.c if (data->o_arg.open_flags & O_EXCL) { O_EXCL 2622 fs/nfs/nfs4proc.c if (o_arg->open_flags & O_EXCL) O_EXCL 3101 fs/nfs/nfs4proc.c if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && O_EXCL 313 fs/nfs/nfs4trace.h { O_EXCL, "O_EXCL" }, \ O_EXCL 334 fs/nfs/nfstrace.h TRACE_DEFINE_ENUM(O_EXCL); O_EXCL 352 fs/nfs/nfstrace.h { O_EXCL, "O_EXCL" }, \ O_EXCL 812 fs/open.c f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); O_EXCL 1014 fs/open.c if (flags & O_EXCL) O_EXCL 126 fs/overlayfs/file.c file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); O_EXCL 9 include/linux/fcntl.h (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \ O_EXCL 26 include/uapi/asm-generic/fcntl.h #ifndef O_EXCL O_EXCL 807 ipc/mqueue.c if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) O_EXCL 429 security/integrity/ima/ima_crypto.c O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL); O_EXCL 25 tools/include/uapi/asm-generic/fcntl.h #ifndef O_EXCL O_EXCL 1342 tools/perf/util/symbol-elf.c kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); O_EXCL 644 tools/power/acpi/os_specific/service_layers/osunixxf.c sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, O_EXCL 160 tools/testing/selftests/capabilities/test_execve.c int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); O_EXCL 337 tools/testing/selftests/cgroup/cgroup_util.c return open(".", O_TMPFILE | O_RDWR | O_EXCL); O_EXCL 202 tools/testing/selftests/mqueue/mq_open_tests.c int flags = O_RDWR | O_EXCL | O_CREAT; O_EXCL 224 tools/testing/selftests/mqueue/mq_open_tests.c int flags = O_RDWR | O_EXCL | O_CREAT; O_EXCL 291 tools/testing/selftests/mqueue/mq_perf_tests.c int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; O_EXCL 194 tools/testing/selftests/proc/proc-pid-vm.c fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);