Searched refs:oflag (Results 1 – 2 of 2) sorted by relevance
/ipc/ |
D | compat_mq.c | 50 int, oflag, compat_mode_t, mode, in COMPAT_SYSCALL_DEFINE4() argument 54 if (u_attr && oflag & O_CREAT) { in COMPAT_SYSCALL_DEFINE4() 64 return sys_mq_open(u_name, oflag, mode, p); in COMPAT_SYSCALL_DEFINE4()
|
D | mqueue.c | 732 struct path *path, int oflag, umode_t mode, in do_create() argument 761 return dentry_open(path, oflag, cred); in do_create() 765 static struct file *do_open(struct path *path, int oflag) in do_open() argument 770 if ((oflag & O_ACCMODE) == (O_RDWR | O_WRONLY)) in do_open() 772 acc = oflag2acc[oflag & O_ACCMODE]; in do_open() 775 return dentry_open(path, oflag, current_cred()); in do_open() 778 SYSCALL_DEFINE4(mq_open, const char __user *, u_name, int, oflag, umode_t, mode, in SYSCALL_DEFINE4() argument 794 audit_mq_open(oflag, mode, u_attr ? &attr : NULL); in SYSCALL_DEFINE4() 813 if (oflag & O_CREAT) { in SYSCALL_DEFINE4() 816 if (oflag & O_EXCL) { in SYSCALL_DEFINE4() [all …]
|