Lines Matching refs:oflag
725 struct path *path, int oflag, umode_t mode, in do_create() argument
754 return dentry_open(path, oflag, cred); in do_create()
758 static struct file *do_open(struct path *path, int oflag) in do_open() argument
763 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in do_open()
765 acc = oflag2acc[oflag & O_ACCMODE]; in do_open()
768 return dentry_open(path, oflag, current_cred()); in do_open()
771 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument
787 audit_mq_open(oflag, mode, u_attr ? &attr : NULL); in SYSCALL_DEFINE4()
806 if (oflag & O_CREAT) { in SYSCALL_DEFINE4()
809 if (oflag & O_EXCL) { in SYSCALL_DEFINE4()
813 filp = do_open(&path, oflag); in SYSCALL_DEFINE4()
821 &path, oflag, mode, in SYSCALL_DEFINE4()
830 filp = do_open(&path, oflag); in SYSCALL_DEFINE4()