Lines Matching refs:msg
419 } msg; in _hurd_select() local
437 while ((msgerr = __mach_msg (&msg.head, in _hurd_select()
439 0, sizeof msg, portset, to, in _hurd_select()
452 if (sigport != MACH_PORT_NULL && sigport == msg.head.msgh_local_port) in _hurd_select()
461 if (msg.head.msgh_id == reply_msgid in _hurd_select()
462 && msg.head.msgh_size >= sizeof msg.error in _hurd_select()
463 && !(msg.head.msgh_bits & MACH_MSGH_BITS_COMPLEX) in _hurd_select()
465 && msg.error.err_type.word == inttype.word in _hurd_select()
471 if (msg.error.err == EINTR in _hurd_select()
472 && msg.head.msgh_size == sizeof msg.error) in _hurd_select()
481 if (msg.error.err in _hurd_select()
483 || msg.success.result_type.word != inttype.word in _hurd_select()
485 || msg.head.msgh_size != sizeof msg.success) in _hurd_select()
488 if (!msg.error.err) in _hurd_select()
489 msg.error.err = EIO; in _hurd_select()
490 __mach_msg_destroy (&msg.head); in _hurd_select()
500 && d[i].reply_port == msg.head.msgh_local_port) in _hurd_select()
502 if (msg.error.err) in _hurd_select()
504 d[i].error = msg.error.err; in _hurd_select()
510 d[i].type &= msg.success.result; in _hurd_select()
522 if (msg.head.msgh_remote_port != MACH_PORT_NULL) in _hurd_select()
524 msg.head.msgh_remote_port); in _hurd_select()