Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/asm-generic/
Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dfcntl.h6 #define O_EXCL 04000 /* not fcntl */ macro
/linux-4.4.14/arch/sparc/include/uapi/asm/
Dfcntl.h8 #define O_EXCL 0x0800 /* not fcntl */ macro
/linux-4.4.14/arch/mips/include/uapi/asm/
Dfcntl.h18 #define O_EXCL 0x0400 /* not fcntl */ macro
/linux-4.4.14/fs/cifs/
Ddir.c289 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()
Dfile.c78 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/
Dfile.c127 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()
Dcoda_linux.c62 if (flags & O_EXCL) in coda_flags_to_cflags()
/linux-4.4.14/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-4.4.14/drivers/thermal/int340x_thermal/
Dacpi_thermal_rel.c37 (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/
Dmq_open_tests.c199 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue()
221 int flags = O_RDWR | O_EXCL | O_CREAT; in test_queue_fail()
Dmq_perf_tests.c289 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
/linux-4.4.14/drivers/char/
Dnvram.c346 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/
Dumid.c217 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in create_pid_file()
Dfile.c192 f |= O_EXCL; in os_open_file()
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c152 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
/linux-4.4.14/fs/nfs/
Dnfs4file.c55 openflags &= ~(O_CREAT|O_EXCL); in nfs4_file_open()
Dnfstrace.h266 { O_EXCL, "O_EXCL" }, \
Dnfs3proc.c339 if (flags & O_EXCL) { in nfs3_proc_create()
Dnfs4trace.h167 { O_EXCL, "O_EXCL" }, \
Dnfs4proc.c1111 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()
Ddir.c1684 int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT; in nfs_create()
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c655 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755, in acpi_os_create_semaphore()
/linux-4.4.14/drivers/misc/
Dhpilo.c590 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/
Dopen.c749 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open()
939 if (flags & O_EXCL) in build_open_flags()
Dnamei.c2805 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()
Dcoredump.c634 O_LARGEFILE | O_EXCL; in do_coredump()
Dfcntl.c745 O_CREAT | O_EXCL | O_NOCTTY | in fcntl_init()
Dblock_dev.c1499 if (filp->f_flags & O_EXCL) in blkdev_open()
/linux-4.4.14/drivers/scsi/
Dsg.c240 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/
Ddrm_fops.c198 if (filp->f_flags & O_EXCL) in drm_open_helper()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_lib.c158 if (flags & O_EXCL) in mds_pack_open_flags()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce.c1740 (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/
Dvfs_inode_dotl.c184 { O_EXCL, P9_DOTL_EXCL }, in v9fs_mapped_dotl_flags()
Dvfs_inode.c196 if (uflags & O_EXCL) in v9fs_uflags2omode()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c686 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/
Dbtt.txt277 device in the O_EXCL mode.
/linux-4.4.14/ipc/
Dmqueue.c809 if (oflag & O_EXCL) { in SYSCALL_DEFINE4()
/linux-4.4.14/fs/ceph/
Dfile.c216 flags = file->f_flags & ~(O_CREAT|O_EXCL); in ceph_open()
/linux-4.4.14/Documentation/filesystems/
Dporting441 two, it gets "is it an O_EXCL or equivalent?" boolean argument. Note that
Dvfs.txt493 set in "opened". In case of O_EXCL the method must only succeed if the
/linux-4.4.14/tools/perf/util/
Dsymbol-elf.c1279 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); in kcore__init()
/linux-4.4.14/fs/gfs2/
Dinode.c1234 bool excl = !!(flags & O_EXCL); in gfs2_atomic_open()
/linux-4.4.14/fs/fuse/
Ddir.c445 flags &= ~(O_CREAT | O_EXCL | O_TRUNC); in fuse_create_open()
Dfile.c30 inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c586 oit.it_flags &= ~O_EXCL; in ll_file_open()
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES707 O_CREAT but not O_EXCL
/linux-4.4.14/drivers/infiniband/core/
Duverbs_cmd.c773 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()