Home
last modified time | relevance | path

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

/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 …]