Lines Matching refs:oflag
729 struct path *path, int oflag, umode_t mode, in do_create() argument
758 return dentry_open(path, oflag, cred); in do_create()
762 static struct file *do_open(struct path *path, int oflag) in do_open() argument
767 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in do_open()
769 acc = oflag2acc[oflag & O_ACCMODE]; in do_open()
772 return dentry_open(path, oflag, current_cred()); in do_open()
775 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument
791 audit_mq_open(oflag, mode, u_attr ? &attr : NULL); in SYSCALL_DEFINE4()
810 if (oflag & O_CREAT) { in SYSCALL_DEFINE4()
813 if (oflag & O_EXCL) { in SYSCALL_DEFINE4()
817 filp = do_open(&path, oflag); in SYSCALL_DEFINE4()
825 &path, oflag, mode, in SYSCALL_DEFINE4()
834 filp = do_open(&path, oflag); in SYSCALL_DEFINE4()