Searched refs:O_EXCL (Results 26 - 50 of 61) sorted by relevance

123

/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c196 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700);
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c644 sem_open(semaphore_name, O_EXCL | O_CREAT, 0755,
/linux-master/fs/vboxsf/
H A Ddir.c334 err = vboxsf_dir_create(parent, dentry, mode, false, flags & O_EXCL, &handle);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c469 return open(".", O_TMPFILE | O_RDWR | O_EXCL);
/linux-master/fs/nfs/
H A Dnfs4file.c55 openflags &= ~(O_CREAT|O_EXCL);
H A Dnfs3proc.c359 if (flags & O_EXCL) {
/linux-master/tools/perf/util/
H A Ddata-convert-json.c361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
/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/arch/um/os-Linux/
H A Dfile.c198 f |= O_EXCL;
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c294 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK;
/linux-master/fs/overlayfs/
H A Dfile.c162 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);
/linux-master/security/integrity/ima/
H A Dima_crypto.c556 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL);
/linux-master/drivers/fpga/
H A Ddfl-fme-main.c609 ret = dfl_feature_dev_use_begin(pdata, filp->f_flags & O_EXCL);
H A Ddfl-afu-main.c607 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/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c632 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777);
681 fd = open("/mnt/A/AA/B/b", O_RDWR | O_CLOEXEC | O_CREAT | O_EXCL, 0777);
/linux-master/fs/
H A Dopen.c971 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC);
1301 if (flags & O_EXCL) {
H A Dcoredump.c652 O_LARGEFILE | O_EXCL;
H A Dnamei.c76 * New symlink semantics: when open() is called with flags O_CREAT | O_EXCL
3450 * O_EXCL open we want to return EEXIST not EROFS).
3456 if (open_flag & O_EXCL)
3498 mode, open_flag & O_EXCL);
3616 if ((open_flag & O_EXCL) && !(file->f_mode & FMODE_CREATED))
3702 if (!(open_flag & O_EXCL)) {
/linux-master/ipc/
H A Dmqueue.c886 if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL))
/linux-master/tools/testing/selftests/mm/
H A Dkhugepaged.c376 fd = open(finfo.path, O_DSYNC | O_CREAT | O_RDWR | O_TRUNC | 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/fs/9p/
H A Dvfs_inode.c185 if (uflags & O_EXCL)
H A Dvfs_inode_dotl.c124 { O_EXCL, P9_DOTL_EXCL },

Completed in 447 milliseconds

123