Home
last modified time | relevance | path

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

/linux-6.6.21/ipc/
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()
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_t, mode, in SYSCALL_DEFINE4() argument
[all …]
/linux-6.6.21/tools/perf/Documentation/
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-6.6.21/tools/testing/selftests/zram/
Dzram01.sh41 oflag=append count=1 bs=1024 status=none \
/linux-6.6.21/include/linux/
Daudit.h409 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
Dcompat.h737 int oflag, compat_mode_t mode,
Dsyscalls.h694 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
/linux-6.6.21/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
/linux-6.6.21/kernel/
Daudit.h185 int oflag; member
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-6.6.21/Documentation/userspace-api/media/v4l/
Dlibv4l-introduction.rst119 .. c:function:: int v4l2_open(const char *file, int oflag, ...)
/linux-6.6.21/fs/nfsd/
Dnfs4state.c828 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()
/linux-6.6.21/Documentation/filesystems/
Dzonefs.rst445 # dd if=/dev/zero of=/mnt/seq/0 bs=4096 count=1 conv=notrunc oflag=direct