Home
last modified time | relevance | path

Searched refs:oflags (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/fs/cifs/
H A Ddir.c227 struct tcon_link *tlink, unsigned oflags, umode_t mode, in cifs_do_create()
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()
486 if (!(oflags & O_CREAT)) { in cifs_atomic_open()
527 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mod in cifs_atomic_open()
226 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, struct tcon_link *tlink, unsigned oflags, umode_t mode, __u32 *oplock, struct cifs_fid *fid) cifs_do_create() argument
462 cifs_atomic_open(struct inode *inode, struct dentry *direntry, struct file *file, unsigned oflags, umode_t mode) cifs_atomic_open() argument
581 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; cifs_create() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Ddir.c178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock,
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)
446 if (!(oflags & O_CREAT)) {
487 rc = cifs_do_create(inode, direntry, xid, tlink, oflags, mod
177 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, struct cifs_fid *fid, struct cifs_open_info_data *buf) global() argument
418 cifs_atomic_open(struct inode *inode, struct dentry *direntry, struct file *file, unsigned oflags, umode_t mode) global() argument
545 unsigned oflags = O_EXCL | O_CREAT | O_RDWR; global() local
[all...]
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_fcntl.c89 int oflags = va_arg(ap, int); in VfsFcntl() local
90 if (oflags & FD_CLOEXEC) { in VfsFcntl()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A 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/linux/linux-5.10/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A 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()
/kernel/linux/linux-5.10/drivers/char/ipmi/
H A Dipmi_ssif.c398 unsigned long oflags; in check_start_send() local
400 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in check_start_send()
552 unsigned long oflags, *flags; in retry_timeout() local
558 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in retry_timeout()
576 unsigned long oflags, *flags; in watch_timeout() local
581 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in watch_timeout()
598 unsigned long oflags, *flags; in ssif_alert() local
606 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in ssif_alert()
623 unsigned long oflags, *flags; in msg_done_handler() local
635 flags = ipmi_ssif_lock_cond(ssif_info, &oflags); in msg_done_handler()
979 unsigned long oflags, *flags; msg_written_handler() local
1050 unsigned long oflags; start_next_msg() local
1084 unsigned long oflags, *flags; sender() local
1121 unsigned long oflags, *flags; request_events() local
1138 unsigned long oflags, *flags; ssif_set_need_watch() local
[all...]
/kernel/linux/linux-6.6/drivers/char/ipmi/
H A 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()
971 unsigned long oflags, *flags; msg_written_handler() local
1041 unsigned long oflags; start_next_msg() local
1075 unsigned long oflags, *flags; sender() local
1112 unsigned long oflags, *flags; request_events() local
1129 unsigned long oflags, *flags; ssif_set_need_watch() local
[all...]
/kernel/liteos_m/components/fs/littlefs/
H A 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/
H A 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/linux/linux-6.6/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()
/kernel/liteos_a/syscall/
H A 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);
H A 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, mod in SysOpenat()
[all...]
/kernel/liteos_a/drivers/char/bch/include/
H A Dblockproxy.h43 int block_proxy(const char *blkdev, int oflags);
/kernel/liteos_m/components/fs/fatfs/
H A 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-6.6/fs/xfs/
H A Dxfs_ioctl32.h81 __u32 oflags; /* open flags */ member
H A Dxfs_ioctl32.c322 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_ioctl32.h83 __u32 oflags; /* open flags */ member
H A Dxfs_ioctl32.c334 hreq->oflags = hreq32.oflags; in xfs_compat_handlereq_copyin()
/kernel/linux/linux-6.6/fs/udf/
H A 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()
/kernel/linux/linux-5.10/net/ipv4/
H A 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/linux/linux-6.6/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()
/kernel/liteos_a/kernel/extended/dynload/src/
H A 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-6.6/fs/nfsd/
H A 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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_fs.h553 __u32 oflags; /* open flags */ member

Completed in 30 milliseconds

12