Home
last modified time | relevance | path

Searched refs:oflags (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/fs/cifs/
Ddir.c169 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
199 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
265 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
267 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
271 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
273 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
275 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
410 struct file *file, unsigned oflags, umode_t mode) in cifs_atomic_open() argument
436 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
477 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
[all …]
Dfile.c755 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local
760 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
/Linux-v5.15/kernel/
Dirq_work.c32 int oflags; in irq_work_claim() local
34 oflags = atomic_fetch_or(IRQ_WORK_CLAIMED | CSD_TYPE_IRQ_WORK, &work->node.a_flags); in irq_work_claim()
40 if (oflags & IRQ_WORK_PENDING) in irq_work_claim()
Dworkqueue.c994 unsigned int oflags = worker->flags; in worker_clr_flags() local
1005 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
/Linux-v5.15/drivers/char/ipmi/
Dipmi_ssif.c392 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()
562 unsigned long oflags, *flags; in watch_timeout() local
567 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in watch_timeout()
584 unsigned long oflags, *flags; in ssif_alert() local
592 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in ssif_alert()
611 unsigned long oflags, *flags; in msg_done_handler() local
623 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in msg_done_handler()
[all …]
/Linux-v5.15/arch/x86/kernel/
Dstep.c114 unsigned long oflags; in enable_single_step() local
141 oflags = regs->flags; in enable_single_step()
164 if (oflags & X86_EFLAGS_TF) in enable_single_step()
/Linux-v5.15/fs/xfs/
Dxfs_ioctl32.h81 __u32 oflags; /* open flags */ member
Dxfs_ioctl32.c336 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
Dxfs_ioctl.c214 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
217 permflag = hreq->oflags; in xfs_open_by_handle()
244 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
/Linux-v5.15/net/ipv4/
Dipconfig.c214 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-v5.15/fs/xfs/libxfs/
Dxfs_fs.h554 __u32 oflags; /* open flags */ member
/Linux-v5.15/fs/ksmbd/
Dsmb2pdu.c1944 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local
1948 oflags |= O_RDWR; in smb2_create_open_flags()
1951 oflags |= O_WRONLY; in smb2_create_open_flags()
1954 oflags |= O_RDONLY; in smb2_create_open_flags()
1959 oflags |= O_PATH; in smb2_create_open_flags()
1969 oflags |= O_TRUNC; in smb2_create_open_flags()
1980 oflags |= O_CREAT; in smb2_create_open_flags()
1984 oflags &= ~O_CREAT; in smb2_create_open_flags()
1991 return oflags; in smb2_create_open_flags()
/Linux-v5.15/include/uapi/rdma/
Dib_user_verbs.h326 __u32 oflags; member
/Linux-v5.15/net/
Dsocket.c2517 unsigned int oflags = flags; in __sys_sendmmsg() local
2539 flags = oflags; in __sys_sendmmsg()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_cmd.c594 if (!xrcd && !(cmd.oflags & O_CREAT)) { in ib_uverbs_open_xrcd()
600 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()