Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Ddir.c227 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create() argument
254 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
320 if (OPEN_FMODE(oflags) & FMODE_READ) in cifs_do_create()
322 if (OPEN_FMODE(oflags) & FMODE_WRITE) in cifs_do_create()
326 if ((oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) in cifs_do_create()
328 else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) in cifs_do_create()
330 else if ((oflags & O_CREAT) == O_CREAT) in cifs_do_create()
463 struct file *file, unsigned oflags, umode_t mode) in cifs_atomic_open() argument
486 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
527 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mode, in cifs_atomic_open()
[all …]
Dfile.c735 unsigned int oflags = cfile->f_flags & in cifs_reopen_file() local
740 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
/kernel/linux/linux-5.10/kernel/
Dirq_work.c32 int oflags; in irq_work_claim() local
34 oflags = atomic_fetch_or(IRQ_WORK_CLAIMED | CSD_TYPE_IRQ_WORK, &work->flags); in irq_work_claim()
40 if (oflags & IRQ_WORK_PENDING) in irq_work_claim()
Dworkqueue.c986 unsigned int oflags = worker->flags; in worker_clr_flags() local
997 if ((flags & WORKER_NOT_RUNNING) && (oflags & WORKER_NOT_RUNNING)) in worker_clr_flags()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dstep.c114 unsigned long oflags; in enable_single_step() local
136 oflags = regs->flags; in enable_single_step()
159 if (oflags & X86_EFLAGS_TF) in enable_single_step()
/kernel/liteos_a/fs/vfs/operation/
Dvfs_fcntl.c89 int oflags = va_arg(ap, int); in VfsFcntl() local
90 if (oflags & FD_CLOEXEC) { in VfsFcntl()
/kernel/linux/linux-5.10/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()
555 unsigned long oflags, *flags; in retry_timeout() local
561 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in retry_timeout()
573 unsigned long oflags, *flags; in watch_timeout() local
578 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in watch_timeout()
595 unsigned long oflags, *flags; in ssif_alert() local
603 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in ssif_alert()
622 unsigned long oflags, *flags; in msg_done_handler() local
635 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in msg_done_handler()
[all …]
/kernel/liteos_m/components/fs/littlefs/
Dlfs_adapter.c111 static int ConvertFlagToLfsOpenFlag (int oflags) in ConvertFlagToLfsOpenFlag() argument
115 if (oflags & O_CREAT) { in ConvertFlagToLfsOpenFlag()
119 if (oflags & O_EXCL) { in ConvertFlagToLfsOpenFlag()
123 if (oflags & O_TRUNC) { in ConvertFlagToLfsOpenFlag()
127 if (oflags & O_APPEND) { in ConvertFlagToLfsOpenFlag()
131 if (oflags & O_RDWR) { in ConvertFlagToLfsOpenFlag()
135 if (oflags & O_WRONLY) { in ConvertFlagToLfsOpenFlag()
139 if (oflags == O_RDONLY) { in ConvertFlagToLfsOpenFlag()
/kernel/uniproton/src/fs/littlefs/
Dlfs_adapter.c89 static S32 OsConvertFlagToLfsOpenFlag(S32 oflags) in OsConvertFlagToLfsOpenFlag() argument
93 if (oflags & O_CREAT) { in OsConvertFlagToLfsOpenFlag()
97 if (oflags & O_EXCL) { in OsConvertFlagToLfsOpenFlag()
101 if (oflags & O_TRUNC) { in OsConvertFlagToLfsOpenFlag()
105 if (oflags & O_APPEND) { in OsConvertFlagToLfsOpenFlag()
109 if (oflags & O_RDWR) { in OsConvertFlagToLfsOpenFlag()
113 if (oflags & O_WRONLY) { in OsConvertFlagToLfsOpenFlag()
117 if (oflags == O_RDONLY) { in OsConvertFlagToLfsOpenFlag()
/kernel/liteos_a/drivers/char/bch/include/
Dblockproxy.h43 int block_proxy(const char *blkdev, int oflags);
/kernel/liteos_a/syscall/
Dlos_syscall.h215 extern int fp_open(char *fullpath, int oflags, mode_t mode);
216 extern int do_open(int dirfd, const char *path, int oflags, mode_t mode);
231 extern int SysOpen(const char *path, int oflags, ...);
303 extern int SysOpenat(int dirfd, const char *path, int oflags, ...);
313 extern int do_opendir(const char *path, int oflags);
Dfs_syscall.c412 int SysOpen(const char *path, int oflags, ...) in SysOpen() argument
432 if (oflags & O_CLOEXEC) { in SysOpen()
436 if ((unsigned int)oflags & O_DIRECTORY) { in SysOpen()
437 ret = do_opendir(pathRet, oflags); in SysOpen()
441 va_start(ap, oflags); in SysOpen()
446 ret = do_open(AT_FDCWD, pathRet, oflags, mode); in SysOpen()
1781 int SysOpenat(int dirfd, const char *path, int oflags, ...) in SysOpenat() argument
1790 va_start(ap, oflags); in SysOpenat()
1810 if (oflags & O_CLOEXEC) { in SysOpenat()
1819 ret = do_open(dirfd, (path ? pathRet : NULL), oflags, mode); in SysOpenat()
/kernel/liteos_m/components/fs/fatfs/
Dfatfs.c113 static unsigned int FatFsGetMode(int oflags) in FatFsGetMode() argument
117 if ((UINT32)oflags & O_WRONLY) { in FatFsGetMode()
121 if (((UINT32)oflags & O_ACCMODE) & O_RDWR) { in FatFsGetMode()
125 if ((UINT32)oflags & O_CREAT) { in FatFsGetMode()
128 if ((UINT32)oflags & O_EXCL) { in FatFsGetMode()
133 if ((UINT32)oflags & O_TRUNC) { in FatFsGetMode()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl32.h83 __u32 oflags; /* open flags */ member
Dxfs_ioctl32.c334 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
Dxfs_ioctl.c213 hreq->oflags |= O_LARGEFILE; in xfs_open_by_handle()
216 permflag = hreq->oflags; in xfs_open_by_handle()
243 filp = dentry_open(&path, hreq->oflags, cred); in xfs_open_by_handle()
/kernel/linux/linux-5.10/net/ipv4/
Dipconfig.c215 unsigned short oflags; in ic_open_devs() local
242 oflags = dev->flags; in ic_open_devs()
243 if (dev_change_flags(dev, oflags | IFF_UP, NULL) < 0) { in ic_open_devs()
255 d->flags = oflags; in ic_open_devs()
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c52 STATIC INT32 OsELFOpen(const CHAR *fileName, INT32 oflags) in OsELFOpen() argument
62 if (oflags & O_CLOEXEC) { in OsELFOpen()
66 ret = open(fileName, oflags); in OsELFOpen()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_fs.h553 __u32 oflags; /* open flags */ member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h326 __u32 oflags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h251 __u32 oflags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h240 __u32 oflags; member
/kernel/linux/linux-5.10/net/
Dsocket.c2464 unsigned int oflags = flags; in __sys_sendmmsg() local
2486 flags = oflags; in __sys_sendmmsg()
/kernel/linux/linux-5.10/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()