Lines Matching defs:req
486 mach_msg_header_t *req, *reply;
525 req = args.req_msg;
528 req->msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND,
530 req->msgh_size = args.req_size;
531 req->msgh_remote_port = servport;
532 req->msgh_local_port = args.port;
533 req->msgh_id = oneway ? 0 : 1;
538 ((ipc_inline_message *)req)->type.msgt_name = MACH_MSG_TYPE_INTEGER_32;
539 ((ipc_inline_message *)req)->type.msgt_size = 32;
540 ((ipc_inline_message *)req)->type.msgt_number = num_ints;
541 ((ipc_inline_message *)req)->type.msgt_inline = TRUE;
542 ((ipc_inline_message *)req)->type.msgt_longform = FALSE;
543 ((ipc_inline_message *)req)->type.msgt_deallocate = FALSE;
544 ((ipc_inline_message *)req)->type.msgt_unused = 0;
547 (req)->msgh_bits |= MACH_MSGH_BITS_COMPLEX;
548 ((ipc_complex_message *)req)->body.msgh_descriptor_count = 1;
549 ((ipc_complex_message *)req)->descriptor.address = ints;
550 ((ipc_complex_message *)req)->descriptor.size =
552 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE;
553 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY;
554 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
559 ret = mach_msg(req,