| /linux/fs/smb/client/ |
| H A D | dir.c | 199 struct tcon_link *tlink, unsigned int oflags, argument 225 if (cifs_fscache_enabled(dir) && (oflags & O_ACCMODE) == O_WRONLY) 233 oflags, oplock, &fid->netfid, xid); 242 if ((oflags & __O_REGULAR) && !S_ISREG(newinode->i_mode)) { 304 if (OPEN_FMODE(oflags) & FMODE_READ) 306 if (OPEN_FMODE(oflags) & FMODE_WRITE) 310 if (oflags & O_TMPFILE) 314 if (oflags & O_CREAT) { 315 if (oflags & O_EXCL) 317 else if (oflags & O_TRUNC) [all …]
|
| H A D | file.c | 414 static inline int cifs_convert_flags(unsigned int oflags, int rdwr_for_fscache) in cifs_convert_flags() argument 418 if (oflags & O_TMPFILE) in cifs_convert_flags() 421 if ((oflags & O_ACCMODE) == O_RDONLY) in cifs_convert_flags() 423 if ((oflags & O_ACCMODE) == O_WRONLY) { in cifs_convert_flags() 427 if ((oflags & O_ACCMODE) == O_RDWR) { in cifs_convert_flags() 1337 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() 1342 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file() 2633 unsigned int oflags, unsigned int cflags) in open_flags_match() 2638 oflags &= ~(O_CREAT | O_EXCL | O_TRUNC); in open_flags_match() 2644 if (OPEN_FMODE(oflags) in open_flags_match() 1334 unsigned int oflags = cfile->f_flags & cifs_reopen_file() local 2630 open_flags_match(struct cifsInodeInfo * cinode,unsigned int oflags,unsigned int cflags) open_flags_match() argument [all...] |
| H A D | cifsfs.h | 59 struct file *file, unsigned int oflags, umode_t mode);
|
| H A D | cifsglob.h | 2383 static inline int cifs_open_create_options(unsigned int oflags, int opts) in cifs_open_create_options() argument 2386 if (oflags & O_SYNC) in cifs_open_create_options() 2388 if (oflags & O_DIRECT) in cifs_open_create_options() 2390 if (oflags & O_TMPFILE) in cifs_open_create_options()
|
| H A D | trace.h | 1374 unsigned int oflags, 1376 TP_ARGS(xid, tid, sesid, fid, oflags, cflags), 1382 __field(unsigned int, oflags) 1390 __entry->oflags = oflags; 1395 __entry->oflags, __entry->cflags)
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_ssif.c | 395 unsigned long oflags; in check_start_send() local 397 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in check_start_send() 553 unsigned long oflags, *flags; in retry_timeout() local 559 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in retry_timeout() 578 unsigned long oflags, *flags; in watch_timeout() local 583 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in watch_timeout() 600 unsigned long oflags, *flags; in ssif_alert() local 608 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in ssif_alert() 625 unsigned long oflags, *flags; in msg_done_handler() local 637 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 | 1017 unsigned int oflags = worker->flags; in worker_clr_flags() local 1028 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
|
| /linux/fs/ |
| H A D | pidfs.c | 974 unsigned int oflags) in pidfs_export_permission() argument 976 if (oflags & ~(VALID_FILE_HANDLE_OPEN_FLAGS | O_LARGEFILE)) in pidfs_export_permission() 987 static struct file *pidfs_export_open(const struct path *path, unsigned int oflags) in pidfs_export_open() argument 993 if (WARN_ON_ONCE(oflags & PIDFD_AUTOKILL)) in pidfs_export_open() 996 return pidfs_dentry_open(path, oflags & ~O_LARGEFILE, current_cred()); in pidfs_export_open()
|
| /linux/drivers/block/ |
| H A D | zloop.c | 1034 static struct file *zloop_filp_open_fmt(int oflags, umode_t mode, 1047 file = filp_open(p, oflags, mode); in zloop_get_block_size() 1099 int oflags = O_RDWR; in zloop_init_zone() 1110 oflags |= O_CREAT; in zloop_init_zone() 1113 oflags |= O_DIRECT; in zloop_init_zone() 1121 zone->file = zloop_filp_open_fmt(oflags, 0600, "%s/%u/cnv-%06u", in zloop_init_zone() 1161 zone->file = zloop_filp_open_fmt(oflags, 0600, "%s/%u/seq-%06u", in zloop_init_zone() 1017 zloop_filp_open_fmt(int oflags,umode_t mode,const char * fmt,...) zloop_filp_open_fmt() argument 1082 int oflags = O_RDWR; zloop_init_zone() local
|
| /linux/fs/xfs/ |
| H A D | xfs_ioctl32.h | 81 __u32 oflags; /* open flags */ member
|
| H A D | xfs_trace.h | 5694 __field(unsigned short, oflags) 5705 __entry->oflags = ppi->gp_oflags; 5716 __entry->oflags,
|
| /linux/fs/udf/ |
| H A D | inode.c | 347 int oflags; /* UDF_BLK_ flags reporting results */ member 358 map->oflags = 0; in udf_map_block() 374 map->oflags |= UDF_BLK_MAPPED; in udf_map_block() 479 if (map.oflags & UDF_BLK_MAPPED) { in __udf_get_block() 481 if (map.oflags & UDF_BLK_NEW) in __udf_get_block() 826 map->oflags = UDF_BLK_MAPPED; in inode_getblk() 943 map->oflags = UDF_BLK_NEW | UDF_BLK_MAPPED; in inode_getblk() 1255 if (*err || !(map.oflags & UDF_BLK_MAPPED)) in udf_bread() 1263 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 | 211 int oflags; in nfsd4_vfs_create() local 213 oflags = O_CREAT | O_LARGEFILE; in nfsd4_vfs_create() 215 oflags |= O_EXCL; in nfsd4_vfs_create() 219 oflags |= O_WRONLY; in nfsd4_vfs_create() 222 oflags |= O_RDWR; in nfsd4_vfs_create() 225 oflags |= O_RDONLY; in nfsd4_vfs_create() 230 filp = dentry_create(&path, oflags, open->op_iattr.ia_mode, in nfsd4_vfs_create()
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 2976 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local 2985 oflags |= O_RDWR; in smb2_create_open_flags() 2988 oflags |= O_WRONLY; in smb2_create_open_flags() 2991 oflags |= O_RDONLY; in smb2_create_open_flags() 2996 oflags |= O_PATH; in smb2_create_open_flags() 3006 oflags |= O_TRUNC; in smb2_create_open_flags() 3017 oflags |= O_CREAT; in smb2_create_open_flags() 3021 oflags &= ~O_CREAT; in smb2_create_open_flags() 3028 return oflags; in smb2_create_open_flags()
|
| /linux/net/ |
| H A D | socket.c | 2820 unsigned int oflags = flags; in __sys_sendmmsg() local 2846 flags = oflags; in __sys_sendmmsg()
|