Home
last modified time | relevance | path

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

/linux-6.1.9/ipc/ !
Dmqueue.c866 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_t, mode, in SYSCALL_DEFINE4() argument
[all …]
/linux-6.1.9/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.1.9/tools/testing/selftests/zram/ !
Dzram01.sh41 oflag=append count=1 bs=1024 status=none \
/linux-6.1.9/include/linux/ !
Daudit.h408 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
471 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
474 __audit_mq_open(oflag, mode, attr); in audit_mq_open()
652 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
Dcompat.h788 int oflag, compat_mode_t mode,
Dsyscalls.h793 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
/linux-6.1.9/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.1.9/kernel/ !
Daudit.h185 int oflag; member
Dauditsc.c1420 context->mq_open.oflag, context->mq_open.mode, in show_special()
2540 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() argument
2549 context->mq_open.oflag = oflag; in __audit_mq_open()
/linux-6.1.9/Documentation/userspace-api/media/v4l/ !
Dlibv4l-introduction.rst119 .. c:function:: int v4l2_open(const char *file, int oflag, ...)
/linux-6.1.9/fs/nfsd/ !
Dnfs4state.c603 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd() argument
605 if (f->fi_fds[oflag]) in __nfs4_get_fd()
606 return nfsd_file_get(f->fi_fds[oflag]); in __nfs4_get_fd()
832 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
836 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
840 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
841 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
5165 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
5211 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
5220 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
[all …]
/linux-6.1.9/Documentation/filesystems/ !
Dzonefs.rst445 # dd if=/dev/zero of=/mnt/seq/0 bs=4096 count=1 conv=notrunc oflag=direct