Searched refs:oflags (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/kernel/
H A Dirq_work.c31 unsigned long flags, oflags, nflags; irq_work_claim() local
40 oflags = cmpxchg(&work->flags, flags, nflags); irq_work_claim()
41 if (oflags == flags) irq_work_claim()
43 if (oflags & IRQ_WORK_PENDING) irq_work_claim()
45 flags = oflags; irq_work_claim()
H A Dworkqueue.c958 unsigned int oflags = worker->flags; worker_clr_flags() local
969 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) worker_clr_flags()
/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_ssif.c393 unsigned long oflags; check_start_send() local
395 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); check_start_send()
555 unsigned long oflags, *flags; retry_timeout() local
561 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); retry_timeout()
574 unsigned long oflags, *flags; ssif_alert() local
579 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); ssif_alert()
598 unsigned long oflags, *flags; msg_done_handler() local
611 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); msg_done_handler()
726 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); msg_done_handler()
833 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); msg_done_handler()
923 unsigned long oflags, *flags; msg_written_handler() local
929 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); msg_written_handler()
1002 unsigned long oflags; start_next_msg() local
1026 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); start_next_msg()
1036 unsigned long oflags, *flags; sender() local
1041 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); sender()
1073 unsigned long oflags, *flags; request_events() local
1078 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); request_events()
/linux-4.4.14/fs/cifs/
H A Ddir.c195 struct tcon_link *tlink, unsigned oflags, umode_t mode, cifs_do_create()
224 oflags, oplock, &fid->netfid, xid); cifs_do_create()
283 if (OPEN_FMODE(oflags) & FMODE_READ) cifs_do_create()
285 if (OPEN_FMODE(oflags) & FMODE_WRITE) cifs_do_create()
289 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) cifs_do_create()
291 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) cifs_do_create()
293 else if ((oflags & O_CREAT) == O_CREAT) cifs_do_create()
417 struct file *file, unsigned oflags, umode_t mode, cifs_atomic_open()
441 if (!(oflags & O_CREAT)) { cifs_atomic_open()
481 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, cifs_atomic_open()
489 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) cifs_atomic_open()
536 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; cifs_create() local
557 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, cifs_create()
194 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, struct tcon_link *tlink, unsigned oflags, umode_t mode, __u32 *oplock, struct cifs_fid *fid) cifs_do_create() argument
416 cifs_atomic_open(struct inode *inode, struct dentry *direntry, struct file *file, unsigned oflags, umode_t mode, int *opened) cifs_atomic_open() argument
H A Dfile.c656 unsigned int oflags = cfile->f_flags & cifs_reopen_file() local
661 oflags, &oplock, &cfile->fid.netfid, xid); cifs_reopen_file()
/linux-4.4.14/arch/x86/kernel/
H A Dstep.c111 unsigned long oflags; enable_single_step() local
133 oflags = regs->flags; enable_single_step()
156 if (oflags & X86_EFLAGS_TF) enable_single_step()
/linux-4.4.14/fs/xfs/
H A Dxfs_ioctl32.c324 hreq->oflags = hreq32.oflags; xfs_compat_handlereq_copyin()
H A Dxfs_ioctl32.h95 __u32 oflags; /* open flags */ member in struct:compat_xfs_fsop_handlereq
H A Dxfs_ioctl.c223 hreq->oflags |= O_LARGEFILE; xfs_open_by_handle()
226 permflag = hreq->oflags; xfs_open_by_handle()
253 filp = dentry_open(&path, hreq->oflags, cred); xfs_open_by_handle()
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.h275 #define SOFLAG 0xf3 /* Set UNIX oflags */
634 tcflag_t un_oflag; /* oflags being done on board */
984 tcflag_t ch_c_oflag; /* channel oflags */
989 u16 ch_fepoflag; /* FEP tty oflags */
H A Ddgap.c216 .c_oflag = (DEFAULT_OFLAGS), /* oflags */
/linux-4.4.14/net/ipv4/
H A Dipconfig.c210 unsigned short oflags; ic_open_devs() local
237 oflags = dev->flags; ic_open_devs()
238 if (dev_change_flags(dev, oflags | IFF_UP) < 0) { ic_open_devs()
250 d->flags = oflags; ic_open_devs()
/linux-4.4.14/drivers/tty/serial/jsm/
H A Djsm.h216 tcflag_t ch_c_oflag; /* channel oflags */
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_driver.h338 tcflag_t ch_c_oflag; /* channel oflags */
H A Ddgnc_tty.c75 .c_oflag = (DEFAULT_OFLAGS), /* oflags */
/linux-4.4.14/include/uapi/rdma/
H A Dib_user_verbs.h278 __u32 oflags; member in struct:ib_uverbs_open_xrcd
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_fs.h396 __u32 oflags; /* open flags */ member in struct:xfs_fsop_handlereq
/linux-4.4.14/drivers/infiniband/core/
H A Duverbs_cmd.c767 if (!xrcd && !(cmd.oflags & O_CREAT)) { ib_uverbs_open_xrcd()
773 if (xrcd && cmd.oflags & O_EXCL) { ib_uverbs_open_xrcd()

Completed in 1886 milliseconds