/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | termios.h | 32 unsigned short iflag, oflag, cflag, lflag; in user_termio_to_kernel_termios() local 40 err |=__get_user(oflag, &termio->c_oflag); in user_termio_to_kernel_termios() 41 termios->c_oflag = (termios->c_oflag & 0xffff0000) | oflag; in user_termio_to_kernel_termios()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_145.cpp | 121 INT32 ret, oflag; in Testcase() local 140 oflag = O_CREAT | O_NONBLOCK | O_RDWR; in Testcase() 142 mqueue1 = mq_open(mqname1, oflag, S_IRWXU | S_IRWXG | S_IRWXO, &mqstat); in Testcase() 145 mqueue2 = mq_open(mqname2, oflag, S_IRWXU | S_IRWXG | S_IRWXO, &mqstat); in Testcase()
|
H A D | It_posix_queue_146.cpp | 88 INT32 i, ret, oflag; in Testcase() local 99 oflag = O_CREAT | O_NONBLOCK | O_RDWR; in Testcase() 108 mqueue[i] = mq_open(mqname[i], oflag, S_IRWXU | S_IRWXG | S_IRWXO, &mqstat); in Testcase()
|
H A D | It_posix_queue_162.cpp | 77 INT32 oflag, i, ret = 0; in Testcase() local 97 oflag = O_CREAT | O_NONBLOCK | O_RDWR; in Testcase() 98 g_gqueue = mq_open(mqname, oflag, S_IRWXU | S_IRWXG | S_IRWXO, &mqstat); in Testcase()
|
/kernel/uniproton/src/fs/ |
H A D | fs.c | 31 int open(const char *path, int oflag, ...) in open() argument 35 va_start(ap, oflag); in open() 36 ret = OsVfsOpen(path, oflag, ap); in open()
|
/kernel/linux/linux-5.10/ipc/ |
H A D | mqueue.c | 866 static int prepare_open(struct dentry *dentry, int oflag, int ro, in prepare_open() argument 875 if (!(oflag & O_CREAT)) in prepare_open() 885 if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) in prepare_open() 887 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in prepare_open() 889 acc = oflag2acc[oflag & O_ACCMODE]; in prepare_open() 893 static int do_mq_open(const char __user *u_name, int oflag, umode_t mode, in do_mq_open() argument 903 audit_mq_open(oflag, mode, attr); in do_mq_open() 920 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); in do_mq_open() 922 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open() 942 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_ [all...] |
/kernel/linux/linux-6.6/ipc/ |
H A D | mqueue.c | 867 static int prepare_open(struct dentry *dentry, int oflag, int ro, in prepare_open() argument 876 if (!(oflag & O_CREAT)) in prepare_open() 886 if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) in prepare_open() 888 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in prepare_open() 890 acc = oflag2acc[oflag & O_ACCMODE]; in prepare_open() 894 static int do_mq_open(const char __user *u_name, int oflag, umode_t mode, in do_mq_open() argument 904 audit_mq_open(oflag, mode, attr); in do_mq_open() 921 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); in do_mq_open() 923 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open() 943 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_ [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | audit.h | 398 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); 460 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument 463 __audit_mq_open(oflag, mode, attr); in audit_mq_open() 633 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
|
H A D | compat.h | 694 int oflag, compat_mode_t mode,
|
H A D | syscalls.h | 783 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user *attr);
|
/kernel/linux/linux-5.10/tools/testing/selftests/zram/ |
H A D | zram01.sh | 41 oflag=append count=1 bs=1024 status=none \
|
/kernel/linux/linux-6.6/tools/testing/selftests/zram/ |
H A D | zram01.sh | 41 oflag=append count=1 bs=1024 status=none \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | audit.h | 409 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); 472 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument 475 __audit_mq_open(oflag, mode, attr); in audit_mq_open() 653 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
|
H A D | compat.h | 737 int oflag, compat_mode_t mode,
|
H A D | syscalls.h | 694 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user *attr);
|
/kernel/linux/linux-5.10/kernel/ |
H A D | audit.h | 176 int oflag; member
|
H A D | auditsc.c | 1315 "oflag=0x%x mode=%#ho mq_flags=0x%lx mq_maxmsg=%ld " in show_special() 1317 context->mq_open.oflag, context->mq_open.mode, in show_special() 2284 * @oflag: open flag 2289 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() argument 2298 context->mq_open.oflag = oflag; in __audit_mq_open()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | audit.h | 185 int oflag; member
|
H A D | auditsc.c | 1422 "oflag=0x%x mode=%#ho mq_flags=0x%lx mq_maxmsg=%ld " in show_special() 1424 context->mq_open.oflag, context->mq_open.mode, in show_special() 1467 audit_log_format(ab, "oflag=0%llo mode=0%llo resolve=0x%llx", in show_special() 2541 * @oflag: open flag 2546 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() argument 2555 context->mq_open.oflag = oflag; in __audit_mq_open()
|
/kernel/liteos_m/components/fs/fatfs/ |
H A D | fatfs.c | 371 int FatfsOpen(struct File *file, const char *path, int oflag)
in FatfsOpen() argument 383 fmode = FatFsGetMode(oflag);
in FatfsOpen()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4state.c | 435 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd() argument 437 if (f->fi_fds[oflag]) in __nfs4_get_fd() 438 return nfsd_file_get(f->fi_fds[oflag]); in __nfs4_get_fd() 615 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument 619 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access() 623 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access() 624 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access() 4872 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local 4904 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file() 4910 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file() [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4state.c | 828 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument 832 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access() 836 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access() 837 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access() 5200 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local 5246 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file() 5255 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file() 5256 fp->fi_fds[oflag] = nf; in nfs4_get_vfs_file()
|