Lines Matching refs:mq_attr
81 struct mq_attr attr;
233 struct mq_attr *attr) in mqueue_get_inode()
496 struct mq_attr *attr = arg; in mqueue_create_attr()
773 struct mq_attr *attr) in prepare_open()
799 struct mq_attr *attr) in do_mq_open()
848 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4()
850 struct mq_attr attr; in SYSCALL_DEFINE4()
851 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4()
1350 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr()
1395 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3()
1396 struct mq_attr __user *, u_omqstat) in SYSCALL_DEFINE3()
1399 struct mq_attr mqstat, omqstat; in SYSCALL_DEFINE3()
1400 struct mq_attr *new = NULL, *old = NULL; in SYSCALL_DEFINE3()
1404 if (copy_from_user(new, u_mqstat, sizeof(struct mq_attr))) in SYSCALL_DEFINE3()
1414 if (copy_to_user(u_omqstat, old, sizeof(struct mq_attr))) in SYSCALL_DEFINE3()
1429 static inline int get_compat_mq_attr(struct mq_attr *attr, in get_compat_mq_attr()
1445 static inline int put_compat_mq_attr(const struct mq_attr *attr, in put_compat_mq_attr()
1464 struct mq_attr attr, *p = NULL; in COMPAT_SYSCALL_DEFINE4()
1492 struct mq_attr mqstat, omqstat; in COMPAT_SYSCALL_DEFINE3()
1493 struct mq_attr *new = NULL, *old = NULL; in COMPAT_SYSCALL_DEFINE3()