/linux-4.4.14/include/uapi/asm-generic/ |
D | fcntl.h | 25 #ifndef O_EXCL 26 #define O_EXCL 00000200 /* not fcntl */ macro
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
D | fcntl.h | 7 #define O_EXCL 000002000 /* not fcntl */ macro
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 6 #define O_EXCL 04000 /* not fcntl */ macro
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 8 #define O_EXCL 0x0800 /* not fcntl */ macro
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | fcntl.h | 18 #define O_EXCL 0x0400 /* not fcntl */ macro
|
/linux-4.4.14/fs/cifs/ |
D | dir.c | 289 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create() 489 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_atomic_open() 536 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; in cifs_create()
|
D | file.c | 78 if (flags & O_EXCL) in cifs_posix_convert_flags() 80 } else if (flags & O_EXCL) in cifs_posix_convert_flags() 101 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_get_disposition() 657 ~(O_CREAT | O_EXCL | O_TRUNC); in cifs_reopen_file()
|
/linux-4.4.14/fs/coda/ |
D | file.c | 127 unsigned short flags = coda_file->f_flags & (~O_EXCL); in coda_open() 158 unsigned short flags = (coda_file->f_flags) & (~O_EXCL); in coda_release()
|
D | coda_linux.c | 62 if (flags & O_EXCL) in coda_flags_to_cflags()
|
/linux-4.4.14/drivers/xen/ |
D | mcelog.c | 79 (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-4.4.14/drivers/thermal/int340x_thermal/ |
D | acpi_thermal_rel.c | 37 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { in acpi_thermal_rel_open() 42 if (file->f_flags & O_EXCL) in acpi_thermal_rel_open()
|
/linux-4.4.14/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 199 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue() 221 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
|
D | mq_perf_tests.c | 289 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
|
/linux-4.4.14/drivers/char/ |
D | nvram.c | 346 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || in nvram_open() 353 if (file->f_flags & O_EXCL) in nvram_open()
|
/linux-4.4.14/arch/um/os-Linux/ |
D | umid.c | 217 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
|
D | file.c | 192 f |= O_EXCL; in os_open_file()
|
/linux-4.4.14/tools/testing/selftests/capabilities/ |
D | test_execve.c | 152 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4file.c | 55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
|
D | nfstrace.h | 266 { O_EXCL, "O_EXCL" }, \
|
D | nfs3proc.c | 339 if (flags & O_EXCL) { in nfs3_proc_create()
|
D | nfs4trace.h | 167 { O_EXCL, "O_EXCL" }, \
|
D | nfs4proc.c | 1111 if (!(flags & O_EXCL)) { in nfs4_opendata_alloc() 1222 if (open_mode & (O_EXCL|O_TRUNC)) in can_open_cached() 2009 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare() 2221 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open() 2552 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open()
|
D | dir.c | 1684 int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT; in nfs_create()
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 655 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
|
/linux-4.4.14/drivers/misc/ |
D | hpilo.c | 590 data->ccb_excl = fp->f_flags & O_EXCL; in ilo_open() 616 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { in ilo_open()
|
/linux-4.4.14/fs/ |
D | open.c | 749 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open() 939 if (flags & O_EXCL) in build_open_flags()
|
D | namei.c | 2805 excl = (open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT); in atomic_open() 2826 } else if (open_flag & (O_EXCL | O_TRUNC)) { in atomic_open() 2841 if (open_flag & O_EXCL) in atomic_open() 3116 if (unlikely((open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT))) { in do_last() 3282 } else if (!(op->open_flag & O_EXCL)) { in do_tmpfile()
|
D | coredump.c | 634 O_LARGEFILE | O_EXCL; in do_coredump()
|
D | fcntl.c | 745 O_CREAT | O_EXCL | O_NOCTTY | in fcntl_init()
|
D | block_dev.c | 1499 if (filp->f_flags & O_EXCL) in blkdev_open()
|
/linux-4.4.14/drivers/scsi/ |
D | sg.c | 240 if (flags & O_EXCL) { in open_wait() 283 if ((flags & O_EXCL) && (O_RDONLY == (flags & O_ACCMODE))) in sg_open() 314 if (flags & O_EXCL) { in sg_open() 332 if (flags & O_EXCL) in sg_open() 356 if (flags & O_EXCL) { in sg_open()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_fops.c | 198 if (filp->f_flags & O_EXCL) in drm_open_helper()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | mdc_lib.c | 158 if (flags & O_EXCL) in mds_pack_open_flags()
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
D | mce.c | 1740 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in mce_chrdev_open() 1746 if (file->f_flags & O_EXCL) in mce_chrdev_open()
|
/linux-4.4.14/fs/9p/ |
D | vfs_inode_dotl.c | 184 { O_EXCL, P9_DOTL_EXCL }, in v9fs_mapped_dotl_flags()
|
D | vfs_inode.c | 196 if (uflags & O_EXCL) in v9fs_uflags2omode()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | tracefile.c | 686 filp = filp_open(filename, O_CREAT|O_EXCL|O_WRONLY|O_LARGEFILE, 0600); in cfs_tracefile_dump_all_pages()
|
/linux-4.4.14/Documentation/nvdimm/ |
D | btt.txt | 277 device in the O_EXCL mode.
|
/linux-4.4.14/ipc/ |
D | mqueue.c | 809 if (oflag & O_EXCL) { in SYSCALL_DEFINE4()
|
/linux-4.4.14/fs/ceph/ |
D | file.c | 216 flags = file->f_flags & ~(O_CREAT|O_EXCL); in ceph_open()
|
/linux-4.4.14/Documentation/filesystems/ |
D | porting | 441 two, it gets "is it an O_EXCL or equivalent?" boolean argument. Note that
|
D | vfs.txt | 493 set in "opened". In case of O_EXCL the method must only succeed if the
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-elf.c | 1279 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); in kcore__init()
|
/linux-4.4.14/fs/gfs2/ |
D | inode.c | 1234 bool excl = !!(flags & O_EXCL); in gfs2_atomic_open()
|
/linux-4.4.14/fs/fuse/ |
D | dir.c | 445 flags &= ~(O_CREAT | O_EXCL | O_TRUNC); in fuse_create_open()
|
D | file.c | 30 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | file.c | 586 oit.it_flags &= ~O_EXCL; in ll_file_open()
|
/linux-4.4.14/Documentation/filesystems/cifs/ |
D | CHANGES | 707 O_CREAT but not O_EXCL
|
/linux-4.4.14/drivers/infiniband/core/ |
D | uverbs_cmd.c | 773 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()
|