| /linux/fs/smb/client/ |
| H A D | dir.c | 179 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument 208 if (cifs_fscache_enabled(inode) && (oflags & O_ACCMODE) == O_WRONLY) 216 oflags, oplock, &fid->netfid, xid); 283 if (OPEN_FMODE(oflags) & FMODE_READ) 285 if (OPEN_FMODE(oflags) & FMODE_WRITE) 291 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) 293 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) 295 else if ((oflags & O_CREAT) == O_CREAT) 460 struct file *file, unsigned oflags, umode_t mode) argument 487 if (!(oflags & O_CREAT)) { [all …]
|
| H A D | file.c | 1083 unsigned int oflags = file->f_flags & ~(O_CREAT|O_EXCL|O_TRUNC); in cifs_open() local 1086 if (cifs_convert_flags(oflags, 0) == cifs_convert_flags(cflags, 0) && in cifs_open() 1087 (oflags & (O_SYNC|O_DIRECT)) == (cflags & (O_SYNC|O_DIRECT))) { in cifs_open() 1298 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local 1303 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_ssif.c | 392 unsigned long oflags; in check_start_send() local 394 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in check_start_send() 544 unsigned long oflags, *flags; in retry_timeout() local 550 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in retry_timeout() 569 unsigned long oflags, *flags; in watch_timeout() local 574 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in watch_timeout() 591 unsigned long oflags, *flags; in ssif_alert() local 599 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in ssif_alert() 616 unsigned long oflags, *flags; in msg_done_handler() local 628 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in msg_done_handler() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | step.c | 116 unsigned long oflags; in enable_single_step() local 143 oflags = regs->flags; in enable_single_step() 166 if (oflags & X86_EFLAGS_TF) in enable_single_step()
|
| /linux/kernel/ |
| H A D | irq_work.c | 59 int oflags; in irq_work_claim() local 61 oflags = atomic_fetch_or(IRQ_WORK_CLAIMED | CSD_TYPE_IRQ_WORK, &work->node.a_flags); in irq_work_claim() 67 if (oflags & IRQ_WORK_PENDING) in irq_work_claim()
|
| H A D | workqueue.c | 1003 unsigned int oflags = worker->flags; in worker_clr_flags() local 1014 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
|
| /linux/include/linux/ |
| H A D | exportfs.h | 278 int (*permission)(struct handle_to_path_ctx *ctx, unsigned int oflags); 279 struct file * (*open)(const struct path *path, unsigned int oflags);
|
| /linux/fs/ |
| H A D | pidfs.c | 840 unsigned int oflags) in pidfs_export_permission() argument 842 if (oflags & ~(VALID_FILE_HANDLE_OPEN_FLAGS | O_LARGEFILE)) in pidfs_export_permission() 853 static struct file *pidfs_export_open(const struct path *path, unsigned int oflags) in pidfs_export_open() argument 859 oflags &= ~O_LARGEFILE; in pidfs_export_open() 860 return dentry_open(path, oflags | O_RDWR, current_cred()); in pidfs_export_open()
|
| H A D | nsfs.c | 570 unsigned int oflags) in nsfs_export_permission() argument 576 static struct file *nsfs_export_open(const struct path *path, unsigned int oflags) in nsfs_export_open() argument 578 return file_open_root(path, "", oflags, 0); in nsfs_export_open()
|
| /linux/drivers/block/ |
| H A D | zloop.c | 727 static struct file *zloop_filp_open_fmt(int oflags, umode_t mode, in zloop_filp_open_fmt() argument 740 file = filp_open(p, oflags, mode); in zloop_filp_open_fmt() 780 int oflags = O_RDWR; in zloop_init_zone() local 789 oflags |= O_CREAT; in zloop_init_zone() 792 oflags |= O_DIRECT; in zloop_init_zone() 800 zone->file = zloop_filp_open_fmt(oflags, 0600, "%s/%u/cnv-%06u", in zloop_init_zone() 840 zone->file = zloop_filp_open_fmt(oflags, 0600, "%s/%u/seq-%06u", in zloop_init_zone()
|
| /linux/fs/xfs/ |
| H A D | xfs_ioctl32.h | 81 __u32 oflags; /* open flags */ member
|
| H A D | xfs_handle.c | 260 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle() 263 permflag = hreq->oflags; in xfs_open_by_handle() 290 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
|
| H A D | xfs_ioctl32.c | 323 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
|
| H A D | xfs_trace.h | 5672 __field(unsigned short, oflags) 5683 __entry->oflags = ppi->gp_oflags; 5694 __entry->oflags,
|
| /linux/fs/udf/ |
| H A D | inode.c | 409 int oflags; /* UDF_BLK_ flags reporting results */ member 420 map->oflags = 0; in udf_map_block() 436 map->oflags |= UDF_BLK_MAPPED; in udf_map_block() 471 if (map.oflags & UDF_BLK_MAPPED) { in __udf_get_block() 473 if (map.oflags & UDF_BLK_NEW) in __udf_get_block() 818 map->oflags = UDF_BLK_MAPPED; in inode_getblk() 936 map->oflags = UDF_BLK_NEW | UDF_BLK_MAPPED; in inode_getblk() 1251 if (*err || !(map.oflags & UDF_BLK_MAPPED)) in udf_bread() 1259 if (map.oflags & UDF_BLK_NEW) { in udf_bread()
|
| /linux/net/ipv4/ |
| H A D | ipconfig.c | 214 unsigned short oflags; in ic_open_devs() local 241 oflags = dev->flags; in ic_open_devs() 242 if (dev_change_flags(dev, oflags | IFF_UP, NULL) < 0) { in ic_open_devs() 254 d->flags = oflags; in ic_open_devs()
|
| /linux/fs/nfsd/ |
| H A D | nfs4proc.c | 202 int oflags; in nfsd4_vfs_create() local 204 oflags = O_CREAT | O_LARGEFILE; in nfsd4_vfs_create() 207 oflags |= O_WRONLY; in nfsd4_vfs_create() 210 oflags |= O_RDWR; in nfsd4_vfs_create() 213 oflags |= O_RDONLY; in nfsd4_vfs_create() 218 filp = dentry_create(&path, oflags, open->op_iattr.ia_mode, in nfsd4_vfs_create()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_fs.h | 579 __u32 oflags; /* open flags */ member
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 2112 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local 2121 oflags |= O_RDWR; in smb2_create_open_flags() 2124 oflags |= O_WRONLY; in smb2_create_open_flags() 2127 oflags |= O_RDONLY; in smb2_create_open_flags() 2132 oflags |= O_PATH; in smb2_create_open_flags() 2142 oflags |= O_TRUNC; in smb2_create_open_flags() 2153 oflags |= O_CREAT; in smb2_create_open_flags() 2157 oflags &= ~O_CREAT; in smb2_create_open_flags() 2164 return oflags; in smb2_create_open_flags()
|
| /linux/include/uapi/rdma/ |
| H A D | ib_user_verbs.h | 354 __u32 oflags; member
|
| /linux/net/ |
| H A D | socket.c | 2737 unsigned int oflags = flags; in __sys_sendmmsg() local 2763 flags = oflags; in __sys_sendmmsg()
|
| /linux/drivers/infiniband/core/ |
| H A D | uverbs_cmd.c | 613 if (!xrcd && !(cmd.oflags & O_CREAT)) { in ib_uverbs_open_xrcd() 619 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()
|