Searched refs:O_EXCL (Results 1 - 25 of 61) sorted by last modified time

123

/linux-master/fs/9p/
H A Dvfs_inode_dotl.c124 { O_EXCL, P9_DOTL_EXCL },
H A Dvfs_inode.c185 if (uflags & O_EXCL)
/linux-master/fs/fuse/
H A Dfile.c33 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY);
H A Ddir.c652 !(flags & O_EXCL) && !capable(CAP_FSETID)) {
691 flags &= ~(O_CREAT | O_EXCL | O_TRUNC);
/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/fs/smb/client/
H A Dfile.c241 if (flags & O_EXCL)
243 } else if (flags & O_EXCL)
244 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n",
265 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
368 * O_CREAT | O_EXCL FILE_CREATE
1014 * O_CREAT, O_EXCL and O_TRUNC already had their effect on the
1018 ~(O_CREAT | O_EXCL | O_TRUNC);
H A Ddir.c288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
509 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
560 unsigned oflags = O_EXCL | O_CREAT | O_RDWR;
/linux-master/fs/
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)) {
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;
/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/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/infiniband/core/
H A Duverbs_cmd.c600 if (xrcd && cmd.oflags & O_EXCL) {
/linux-master/fs/nfs/
H A Dnfs4proc.c1525 if (open_mode & (O_EXCL|O_TRUNC))
2499 if (data->o_arg.open_flags & O_EXCL) {
2503 /* don't put an ACCESS op in OPEN compound if O_EXCL,
2715 if (o_arg->open_flags & O_EXCL)
3198 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) &&
H A Dnfs4file.c55 openflags &= ~(O_CREAT|O_EXCL);
H A Dnfs3proc.c359 if (flags & O_EXCL) {
H A Ddir.c1527 * an O_EXCL create using this path component.
2310 int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT;
/linux-master/tools/perf/util/
H A Dsymbol-elf.c2031 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400);
H A Ddata-convert-json.c361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
/linux-master/drivers/gpu/drm/
H A Ddrm_file.c314 if (filp->f_flags & O_EXCL)
/linux-master/tools/testing/selftests/mm/
H A Dhmm-tests.c225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
/linux-master/include/uapi/linux/
H A Dpidfd.h11 #define PIDFD_THREAD 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/arch/um/os-Linux/
H A Dumid.c223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
/linux-master/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c160 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0);

Completed in 409 milliseconds

123