Lines Matching refs:msg_ptr
855 struct msg_msg *msg_ptr; in SYSCALL_DEFINE5() local
899 msg_ptr = load_msg(u_msg_ptr, msg_len); in SYSCALL_DEFINE5()
900 if (IS_ERR(msg_ptr)) { in SYSCALL_DEFINE5()
901 ret = PTR_ERR(msg_ptr); in SYSCALL_DEFINE5()
904 msg_ptr->m_ts = msg_len; in SYSCALL_DEFINE5()
905 msg_ptr->m_type = msg_prio; in SYSCALL_DEFINE5()
915 wait.msg = (void *) msg_ptr; in SYSCALL_DEFINE5()
920 free_msg(msg_ptr); in SYSCALL_DEFINE5()
924 pipelined_send(info, msg_ptr, receiver); in SYSCALL_DEFINE5()
927 msg_insert(msg_ptr, info); in SYSCALL_DEFINE5()
946 struct msg_msg *msg_ptr; in SYSCALL_DEFINE5() local
997 msg_ptr = wait.msg; in SYSCALL_DEFINE5()
1000 msg_ptr = msg_get(info); in SYSCALL_DEFINE5()
1011 ret = msg_ptr->m_ts; in SYSCALL_DEFINE5()
1013 if ((u_msg_prio && put_user(msg_ptr->m_type, u_msg_prio)) || in SYSCALL_DEFINE5()
1014 store_msg(u_msg_ptr, msg_ptr, msg_ptr->m_ts)) { in SYSCALL_DEFINE5()
1017 free_msg(msg_ptr); in SYSCALL_DEFINE5()