Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/include/asm/
Dtermios.h32 unsigned short iflag, oflag, cflag, lflag; in user_termio_to_kernel_termios() local
40 err |=__get_user(oflag, &termio->c_oflag); in user_termio_to_kernel_termios()
41 termios->c_oflag = (termios->c_oflag & 0xffff0000) | oflag; in user_termio_to_kernel_termios()
/linux-4.1.27/ipc/
Dcompat_mq.c50 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()
Dmqueue.c729 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()
[all …]
/linux-4.1.27/include/linux/
Daudit.h244 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
286 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
289 __audit_mq_open(oflag, mode, attr); in audit_mq_open()
412 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() argument
Dcompat.h655 int oflag, compat_mode_t mode,
Dsyscalls.h678 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
/linux-4.1.27/drivers/staging/dgnc/
Ddigi.h163 unsigned short oflag; member
Ddgnc_mgmt.c224 ni.oflag = ch->ch_c_oflag; in dgnc_mgmt_ioctl()
Ddgnc_sysfs.c525 static DEVICE_ATTR(oflag, S_IRUSR, dgnc_tty_oflag_show, NULL);
/linux-4.1.27/kernel/
Daudit.h185 int oflag; member
Dauditsc.c1224 context->mq_open.oflag, context->mq_open.mode, in show_special()
2041 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() argument
2050 context->mq_open.oflag = oflag; in __audit_mq_open()
/linux-4.1.27/fs/nfsd/
Dnfs4state.c292 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd() argument
294 if (f->fi_fds[oflag]) in __nfs4_get_fd()
295 return get_file(f->fi_fds[oflag]); in __nfs4_get_fd()
447 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
451 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
455 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
456 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
3873 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
3905 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
3911 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
[all …]
/linux-4.1.27/drivers/staging/dgap/
Ddgap.h1103 unsigned short oflag; /* C UNIX output flags */ member
Ddgap.c5752 static DEVICE_ATTR(oflag, S_IRUSR, dgap_tty_oflag_show, NULL);