Home
last modified time | relevance | path

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

/linux/ipc/
H A Dmqueue.c867 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()
922 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); in do_mq_open()
924 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open()
944 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument
[all …]
/linux/tools/perf/Documentation/
H A Dperf-iostat.txt54 $ perf iostat -- dd if=/dev/zero of=/dev/nvme0n1 bs=1M oflag=direct
73 $ perf iostat 0000:17,0:3a -- dd if=/dev/zero of=/dev/nvme0n1 bs=1M oflag=direct
/linux/tools/testing/selftests/zram/
H A Dzram01.sh41 oflag=append count=1 bs=1024 status=none \
/linux/include/linux/
H A Daudit.h410 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
473 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
476 __audit_mq_open(oflag, mode, attr); in audit_mq_open()
654 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
H A Dsyscalls.h712 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
/linux/Documentation/admin-guide/device-mapper/
H A 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
H A 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
/linux/kernel/
H A Daudit.h185 int oflag; member
H A Dauditsc.c1424 context->mq_open.oflag, context->mq_open.mode, in show_special()
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()
/linux/Documentation/userspace-api/media/v4l/
H A Dlibv4l-introduction.rst119 .. c:function:: int v4l2_open(const char *file, int oflag, ...)
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh588 dd if=/dev/urandom conv=notrunc of="$name" oflag=append bs=1 count=$rem 2> /dev/null
/linux/fs/nfsd/
H A Dnfs4state.c819 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
823 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
827 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
828 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
5541 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
5587 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
5596 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
5597 fp->fi_fds[oflag] = nf; in nfs4_get_vfs_file()
/linux/Documentation/filesystems/
H A Dzonefs.rst445 # dd if=/dev/zero of=/mnt/seq/0 bs=4096 count=1 conv=notrunc oflag=direct