Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Ddir.c178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument
208 oflags, oplock, &fid->netfid, xid);
275 if (OPEN_FMODE(oflags) & FMODE_READ)
277 if (OPEN_FMODE(oflags) & FMODE_WRITE)
281 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
283 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
285 else if ((oflags & O_CREAT) == O_CREAT)
419 struct file *file, unsigned oflags, umode_t mode) argument
446 if (!(oflags & O_CREAT)) {
487 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
[all …]
Dfile.c951 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local
956 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
/linux-6.6.21/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()
545 unsigned long oflags, *flags; in retry_timeout() local
551 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-6.6.21/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-6.6.21/kernel/
Dirq_work.c59 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()
Dworkqueue.c892 unsigned int oflags = worker->flags; in worker_clr_flags() local
903 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
/linux-6.6.21/fs/xfs/
Dxfs_ioctl32.h81 __u32 oflags; /* open flags */ member
Dxfs_ioctl32.c322 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
Dxfs_ioctl.c215 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
218 permflag = hreq->oflags; in xfs_open_by_handle()
245 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
/linux-6.6.21/fs/udf/
Dinode.c405 int oflags; /* UDF_BLK_ flags reporting results */ member
416 map->oflags = 0; in udf_map_block()
428 map->oflags |= UDF_BLK_MAPPED; in udf_map_block()
461 if (map.oflags & UDF_BLK_MAPPED) { in __udf_get_block()
463 if (map.oflags & UDF_BLK_NEW) in __udf_get_block()
791 map->oflags = UDF_BLK_MAPPED; in inode_getblk()
908 map->oflags = UDF_BLK_NEW | UDF_BLK_MAPPED; in inode_getblk()
1217 if (*err || !(map.oflags & UDF_BLK_MAPPED)) in udf_bread()
1225 if (map.oflags & UDF_BLK_NEW) { in udf_bread()
/linux-6.6.21/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-6.6.21/fs/nfsd/
Dnfs4proc.c199 int oflags; in nfsd4_vfs_create() local
201 oflags = O_CREAT | O_LARGEFILE; in nfsd4_vfs_create()
204 oflags |= O_WRONLY; in nfsd4_vfs_create()
207 oflags |= O_RDWR; in nfsd4_vfs_create()
210 oflags |= O_RDONLY; in nfsd4_vfs_create()
215 filp = dentry_create(&path, oflags, open->op_iattr.ia_mode, in nfsd4_vfs_create()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_fs.h556 __u32 oflags; /* open flags */ member
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c2070 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local
2074 oflags |= O_RDWR; in smb2_create_open_flags()
2077 oflags |= O_WRONLY; in smb2_create_open_flags()
2080 oflags |= O_RDONLY; in smb2_create_open_flags()
2085 oflags |= O_PATH; in smb2_create_open_flags()
2095 oflags |= O_TRUNC; in smb2_create_open_flags()
2106 oflags |= O_CREAT; in smb2_create_open_flags()
2110 oflags &= ~O_CREAT; in smb2_create_open_flags()
2117 return oflags; in smb2_create_open_flags()
/linux-6.6.21/include/uapi/rdma/
Dib_user_verbs.h338 __u32 oflags; member
/linux-6.6.21/net/
Dsocket.c2668 unsigned int oflags = flags; in __sys_sendmmsg() local
2690 flags = oflags; in __sys_sendmmsg()
/linux-6.6.21/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()