Searched refs:O_EXCL (Results 1 - 25 of 61) sorted by path

123

/linux-master/arch/alpha/include/uapi/asm/
H A Dfcntl.h7 #define O_EXCL 04000 /* not fcntl */ macro
/linux-master/arch/sparc/include/uapi/asm/
H A Dfcntl.h9 #define O_EXCL 0x0800 /* not fcntl */ macro
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c202 int flags = O_RDWR | O_EXCL | O_CREAT;
224 int flags = O_RDWR | O_EXCL | O_CREAT;
/linux-master/arch/mips/include/uapi/asm/
H A Dfcntl.h19 #define O_EXCL 0x0400 /* not fcntl */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dfcntl.h7 #define O_EXCL 000002000 /* not fcntl */ macro
/linux-master/arch/um/os-Linux/
H A Dfile.c198 f |= O_EXCL;
H A Dmem.c132 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700);
H A Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
/linux-master/arch/x86/kernel/cpu/mce/
H A Ddev-mcelog.c132 (mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
138 if (file->f_flags & O_EXCL)
/linux-master/block/
H A Dfops.c581 * do_dentry_open() clears O_EXCL from f_flags, use file->private_data
586 else if (file->f_flags & O_EXCL)
/linux-master/drivers/char/
H A Dnvram.c62 #define NVRAM_EXCL 2 /* opened with O_EXCL */
355 if ((nvram_open_cnt && (file->f_flags & O_EXCL)) ||
370 if (file->f_flags & O_EXCL)
/linux-master/drivers/fpga/
H A Ddfl-afu-main.c607 ret = dfl_feature_dev_use_begin(pdata, filp->f_flags & O_EXCL);
H A Ddfl-fme-main.c609 ret = dfl_feature_dev_use_begin(pdata, filp->f_flags & O_EXCL);
/linux-master/drivers/gpu/drm/
H A Ddrm_file.c314 if (filp->f_flags & O_EXCL)
/linux-master/drivers/infiniband/core/
H A Duverbs_cmd.c600 if (xrcd && cmd.oflags & O_EXCL) {
/linux-master/drivers/misc/
H A Dhpilo.c589 data->ccb_excl = fp->f_flags & O_EXCL;
615 if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
/linux-master/drivers/scsi/
H A Dsg.c164 wait_queue_head_t open_wait; /* queue open() when O_EXCL present */
171 bool exclude; /* 1->open(O_EXCL) succeeded and is active */
250 if (flags & O_EXCL) {
294 if ((flags & O_EXCL) && (O_RDONLY == (flags & O_ACCMODE)))
326 if (flags & O_EXCL) {
344 if (flags & O_EXCL)
368 if (flags & O_EXCL) {
400 * only open(O_EXCL)s wait on 0==open_cnt so only start one */
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c34 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) {
39 if (file->f_flags & O_EXCL)
/linux-master/drivers/xen/
H A Dmcelog.c79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) {
85 if (file->f_flags & O_EXCL)
/linux-master/fs/9p/
H A Dvfs_inode.c185 if (uflags & O_EXCL)
H A Dvfs_inode_dotl.c124 { O_EXCL, P9_DOTL_EXCL },
/linux-master/fs/ceph/
H A Dfile.c45 ceph_sys2wire(O_EXCL);
375 /* filter out O_CREAT|O_EXCL; vfs did that already. yuck. */
376 flags = file->f_flags & ~(O_CREAT|O_EXCL);
/linux-master/fs/coda/
H A Dcoda_linux.c63 if (flags & O_EXCL)
H A Dfile.c230 unsigned short flags = coda_file->f_flags & (~O_EXCL);
263 unsigned short flags = (coda_file->f_flags) & (~O_EXCL);
/linux-master/fs/
H A Dcoredump.c652 O_LARGEFILE | O_EXCL;

Completed in 282 milliseconds

123