Home
last modified time | relevance | path

Searched refs:mqstat (Results 1 – 2 of 2) sorted by relevance

/ipc/
Dcompat_mq.c116 struct mq_attr mqstat; in COMPAT_SYSCALL_DEFINE3() local
120 memset(&mqstat, 0, sizeof(mqstat)); in COMPAT_SYSCALL_DEFINE3()
123 if (get_compat_mq_attr(&mqstat, u_mqstat) || in COMPAT_SYSCALL_DEFINE3()
124 copy_to_user(p, &mqstat, sizeof(mqstat))) in COMPAT_SYSCALL_DEFINE3()
133 if (copy_from_user(&mqstat, p + 1, sizeof(mqstat)) || in COMPAT_SYSCALL_DEFINE3()
134 put_compat_mq_attr(&mqstat, u_omqstat)) in COMPAT_SYSCALL_DEFINE3()
Dmqueue.c1326 struct mq_attr mqstat, omqstat; in SYSCALL_DEFINE3() local
1332 if (copy_from_user(&mqstat, u_mqstat, sizeof(struct mq_attr))) in SYSCALL_DEFINE3()
1334 if (mqstat.mq_flags & (~O_NONBLOCK)) in SYSCALL_DEFINE3()
1356 audit_mq_getsetattr(mqdes, &mqstat); in SYSCALL_DEFINE3()
1358 if (mqstat.mq_flags & O_NONBLOCK) in SYSCALL_DEFINE3()