Home
last modified time | relevance | path

Searched refs:oflag (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dtermios.h32 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/
DIt_posix_queue_145.cpp121 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()
DIt_posix_queue_162.cpp77 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()
DIt_posix_queue_146.cpp88 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()
/kernel/uniproton/src/fs/
Dfs.c31 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/
Dmqueue.c852 static int prepare_open(struct dentry *dentry, int oflag, int ro, in prepare_open() argument
861 if (!(oflag & O_CREAT)) in prepare_open()
871 if ((oflag & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL)) in prepare_open()
873 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in prepare_open()
875 acc = oflag2acc[oflag & O_ACCMODE]; in prepare_open()
879 static int do_mq_open(const char __user *u_name, int oflag, umode_t mode, in do_mq_open() argument
889 audit_mq_open(oflag, mode, attr); in do_mq_open()
906 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); in do_mq_open()
908 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open()
928 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Daudit.h398 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
Dcompat.h694 int oflag, compat_mode_t mode,
Dsyscalls.h782 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
/kernel/linux/linux-5.10/tools/testing/selftests/zram/
Dzram01.sh43 oflag=append count=1 bs=1024 status=none \
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dunstriped.rst56 dd if=/dev/zero of=member-${i} bs=${MEMBER_SIZE} count=1 oflag=direct
67 dd if=/dev/urandom of=/dev/mapper/set-${i} bs=${BS} count=${COUNT} oflag=direct
Ddm-dust.rst82 $ sudo dd if=/dev/zero of=/dev/mapper/dust1 bs=512 count=128 oflag=direct
131 $ sudo dd if=/dev/zero of=/dev/mapper/dust1 bs=512 count=128 oflag=direct
/kernel/linux/linux-5.10/kernel/
Daudit.h176 int oflag; member
Dauditsc.c1270 context->mq_open.oflag, context->mq_open.mode, in show_special()
2235 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() argument
2244 context->mq_open.oflag = oflag; in __audit_mq_open()
/kernel/liteos_m/components/fs/fatfs/
Dfatfs.c371 int FatfsOpen(struct File *file, const char *path, int oflag) in FatfsOpen() argument
383 fmode = FatFsGetMode(oflag); in FatfsOpen()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dlibv4l-introduction.rst119 .. c:function:: int v4l2_open(const char *file, int oflag, ...)
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4state.c435 __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()
604 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
608 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
612 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
613 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4845 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
4877 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
4883 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dzonefs.rst397 # dd if=/dev/zero of=/mnt/seq/0 bs=4096 count=1 conv=notrunc oflag=direct