/kernel/linux/linux-5.10/fs/cifs/ |
D | dir.c | 227 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 …]
|
D | file.c | 735 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/ |
D | irq_work.c | 32 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()
|
D | workqueue.c | 986 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/ |
D | step.c | 114 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/ |
D | vfs_fcntl.c | 89 int oflags = va_arg(ap, int); in VfsFcntl() local 90 if (oflags & FD_CLOEXEC) { in VfsFcntl()
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_ssif.c | 392 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/ |
D | lfs_adapter.c | 111 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/ |
D | lfs_adapter.c | 89 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/ |
D | blockproxy.h | 43 int block_proxy(const char *blkdev, int oflags);
|
/kernel/liteos_a/syscall/ |
D | los_syscall.h | 215 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);
|
D | fs_syscall.c | 412 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/ |
D | fatfs.c | 113 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/ |
D | xfs_ioctl32.h | 83 __u32 oflags; /* open flags */ member
|
D | xfs_ioctl32.c | 334 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
|
D | xfs_ioctl.c | 213 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/ |
D | ipconfig.c | 215 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/ |
D | los_load_elf.c | 52 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/ |
D | xfs_fs.h | 553 __u32 oflags; /* open flags */ member
|
/kernel/linux/linux-5.10/include/uapi/rdma/ |
D | ib_user_verbs.h | 326 __u32 oflags; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 251 __u32 oflags; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
D | ib_user_verbs.h | 240 __u32 oflags; member
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 2464 unsigned int oflags = flags; in __sys_sendmmsg() local 2486 flags = oflags; in __sys_sendmmsg()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_cmd.c | 594 if (!xrcd && !(cmd.oflags & O_CREAT)) { in ib_uverbs_open_xrcd() 600 if (xrcd && cmd.oflags & O_EXCL) { in ib_uverbs_open_xrcd()
|