Searched refs:O_EXCL (Results 1 - 25 of 61) sorted by last modified time
123
/linux-master/fs/9p/ |
H A D | vfs_inode_dotl.c | 124 { O_EXCL, P9_DOTL_EXCL },
|
H A D | vfs_inode.c | 185 if (uflags & O_EXCL)
|
/linux-master/fs/fuse/ |
H A D | file.c | 33 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY);
|
H A D | dir.c | 652 !(flags & O_EXCL) && !capable(CAP_FSETID)) { 691 flags &= ~(O_CREAT | O_EXCL | O_TRUNC);
|
/linux-master/drivers/scsi/ |
H A D | sg.c | 164 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 D | file.c | 241 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 D | dir.c | 288 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 D | namei.c | 76 * 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 D | open.c | 971 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); 1301 if (flags & O_EXCL) {
|
H A D | coredump.c | 652 O_LARGEFILE | O_EXCL;
|
/linux-master/fs/ceph/ |
H A D | file.c | 45 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 D | hpilo.c | 589 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 D | uverbs_cmd.c | 600 if (xrcd && cmd.oflags & O_EXCL) {
|
/linux-master/fs/nfs/ |
H A D | nfs4proc.c | 1525 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 D | nfs4file.c | 55 openflags &= ~(O_CREAT|O_EXCL);
|
H A D | nfs3proc.c | 359 if (flags & O_EXCL) {
|
H A D | dir.c | 1527 * 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 D | symbol-elf.c | 2031 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400);
|
H A D | data-convert-json.c | 361 fd = open(output_name, O_CREAT | O_WRONLY | (opts->force ? O_TRUNC : O_EXCL), 0666);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_file.c | 314 if (filp->f_flags & O_EXCL)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 225 fd = open(path, O_TMPFILE | O_EXCL | O_RDWR, 0600);
|
/linux-master/include/uapi/linux/ |
H A D | pidfd.h | 11 #define PIDFD_THREAD O_EXCL
|
/linux-master/block/ |
H A D | fops.c | 581 * 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 D | umid.c | 223 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | hardware_disable_test.c | 160 sem = sem_open("vm_sem", O_CREAT | O_EXCL, 0644, 0);
|
Completed in 409 milliseconds
123