Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/client/
H A Ddir.c213 oflags, oplock, &fid->netfid, xid);
280 if (OPEN_FMODE(oflags) & FMODE_READ)
282 if (OPEN_FMODE(oflags) & FMODE_WRITE)
288 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
290 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC))
292 else if ((oflags & O_CREAT) == O_CREAT)
434 struct file *file, unsigned oflags, umode_t mode) argument
461 if (!(oflags & O_CREAT)) {
502 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode,
509 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))
[all …]
H A Dfile.c1213 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local
1218 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
/linux-6.15/drivers/char/ipmi/
H A Dipmi_ssif.c392 unsigned long oflags; in check_start_send() local
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
591 unsigned long oflags, *flags; in ssif_alert() local
616 unsigned long oflags, *flags; in msg_done_handler() local
971 unsigned long oflags, *flags; in msg_written_handler() local
1041 unsigned long oflags; in start_next_msg() local
1075 unsigned long oflags, *flags; in sender() local
1112 unsigned long oflags, *flags; in request_events() local
[all …]
/linux-6.15/arch/x86/kernel/
H A Dstep.c116 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-6.15/kernel/
H A 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()
H A Dworkqueue.c997 unsigned int oflags = worker->flags; in worker_clr_flags() local
1008 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
/linux-6.15/fs/
H A Dpidfs.c753 unsigned int oflags) in pidfs_export_permission() argument
755 if (oflags & ~(VALID_FILE_HANDLE_OPEN_FLAGS | O_LARGEFILE)) in pidfs_export_permission()
804 static struct file *pidfs_export_open(struct path *path, unsigned int oflags) in pidfs_export_open() argument
806 if (!pidfs_pid_valid(d_inode(path->dentry)->i_private, path, oflags)) in pidfs_export_open()
813 oflags &= ~O_LARGEFILE; in pidfs_export_open()
814 return dentry_open(path, oflags | O_RDWR, current_cred()); in pidfs_export_open()
/linux-6.15/include/linux/
H A Dexportfs.h272 int (*permission)(struct handle_to_path_ctx *ctx, unsigned int oflags);
273 struct file * (*open)(struct path *path, unsigned int oflags);
/linux-6.15/fs/xfs/
H A Dxfs_ioctl32.h81 __u32 oflags; /* open flags */ member
H A Dxfs_handle.c260 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 Dxfs_ioctl32.c323 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
H A Dxfs_trace.h5621 __field(unsigned short, oflags)
5632 __entry->oflags = ppi->gp_oflags;
5643 __entry->oflags,
/linux-6.15/fs/udf/
H A Dinode.c402 int oflags; /* UDF_BLK_ flags reporting results */ member
413 map->oflags = 0; in udf_map_block()
429 map->oflags |= UDF_BLK_MAPPED; in udf_map_block()
464 if (map.oflags & UDF_BLK_MAPPED) { in __udf_get_block()
466 if (map.oflags & UDF_BLK_NEW) in __udf_get_block()
811 map->oflags = UDF_BLK_MAPPED; in inode_getblk()
929 map->oflags = UDF_BLK_NEW | UDF_BLK_MAPPED; in inode_getblk()
1244 if (*err || !(map.oflags & UDF_BLK_MAPPED)) in udf_bread()
1252 if (map.oflags & UDF_BLK_NEW) { in udf_bread()
/linux-6.15/net/ipv4/
H A 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.15/fs/nfsd/
H A Dnfs4proc.c202 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-6.15/fs/xfs/libxfs/
H A Dxfs_fs.h579 __u32 oflags; /* open flags */ member
/linux-6.15/fs/smb/server/
H A Dsmb2pdu.c2094 int oflags = O_NONBLOCK | O_LARGEFILE; in smb2_create_open_flags() local
2103 oflags |= O_RDWR; in smb2_create_open_flags()
2106 oflags |= O_WRONLY; in smb2_create_open_flags()
2109 oflags |= O_RDONLY; in smb2_create_open_flags()
2114 oflags |= O_PATH; in smb2_create_open_flags()
2124 oflags |= O_TRUNC; in smb2_create_open_flags()
2135 oflags |= O_CREAT; in smb2_create_open_flags()
2139 oflags &= ~O_CREAT; in smb2_create_open_flags()
2146 return oflags; in smb2_create_open_flags()
/linux-6.15/include/uapi/rdma/
H A Dib_user_verbs.h338 __u32 oflags; member
/linux-6.15/net/
H A Dsocket.c2673 unsigned int oflags = flags; in __sys_sendmmsg() local
2699 flags = oflags; in __sys_sendmmsg()
/linux-6.15/drivers/infiniband/core/
H A Duverbs_cmd.c613 if (!xrcd && !(cmd.oflags & O_CREAT)) { in ib_uverbs_open_xrcd()
619 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()
/linux-6.15/Documentation/netlink/specs/
H A Drt_link.yaml1782 name: oflags