Lines Matching refs:reply
3615 // Intercept sysctl(kern.usrstack). The kernel's reply would be
4172 } Reply;
4175 Reply *reply = (Reply *)ARG1;
4177 if (reply->RetCode) PRINT("mig return %d", reply->RetCode);
4207 } Reply;
4210 Reply *reply = (Reply *)ARG1;
4212 if (!reply->RetCode) {
4213 PRINT("page size %llu", (ULong)reply->out_page_size);
4215 PRINT("mig return %d", reply->RetCode);
4236 } Reply;
4239 Reply *reply = (Reply *)ARG1;
4241 assign_port_name(reply->io_master.name, "io_master-%p");
4242 PRINT("%s", name_for_port(reply->io_master.name));
4270 } Reply;
4273 Reply *reply = (Reply *)ARG1;
4275 assign_port_name(reply->clock_serv.name, "clock-%p");
4276 PRINT("%s", name_for_port(reply->clock_serv.name));
4372 } Reply;
4406 } Reply;
4465 } Reply;
4468 Reply *reply = (Reply *)ARG1;
4470 if (reply->RetCode) PRINT("mig return %d", reply->RetCode);
4501 } Reply;
4504 Reply *reply = (Reply *)ARG1;
4506 if (!reply->RetCode) {
4509 // vg_assert(!port_exists(reply->name));
4510 record_unnamed_port(tid, reply->name, MACH_ARG(mach_port_allocate.right));
4511 PRINT("got port 0x%x", reply->name);
4513 VG_(printf)("UNKNOWN inserted port 0x%x into remote task\n", reply->name);
4516 PRINT("mig return %d", reply->RetCode);
4553 } Reply;
4556 Reply *reply = (Reply *)ARG1;
4558 if (!reply->RetCode) {
4566 PRINT("mig return %d", reply->RetCode);
4602 } Reply;
4605 Reply *reply = (Reply *)ARG1;
4607 if (!reply->RetCode) {
4608 PRINT("got refs=%d", reply->refs);
4610 PRINT("mig return %d", reply->RetCode);
4651 } Reply;
4654 Reply *reply = (Reply *)ARG1;
4656 if (!reply->RetCode) {
4666 PRINT("mig return %d", reply->RetCode);
4702 } Reply;
4705 // Reply *reply = (Reply *)ARG1;
4743 } Reply;
4746 Reply *reply = (Reply *)ARG1;
4748 if (!reply->RetCode) {
4751 PRINT("mig return %d", reply->RetCode);
4788 } Reply;
4791 Reply *reply = (Reply *)ARG1;
4793 if (!reply->RetCode) {
4801 PRINT("mig return %d", reply->RetCode);
5039 } Reply;
5042 Reply *reply = (Reply *)ARG1;
5044 PRINT("got port %#x ", reply->special_port.name);
5048 vg_bootstrap_port = reply->special_port.name;
5049 assign_port_name(reply->special_port.name, "bootstrap");
5052 assign_port_name(reply->special_port.name, "kernel");
5055 assign_port_name(reply->special_port.name, "host");
5060 assign_port_name(reply->special_port.name, "wired-ledger");
5063 assign_port_name(reply->special_port.name, "paged-ledger");
5067 assign_port_name(reply->special_port.name, "special-%p");
5071 PRINT("%s", name_for_port(reply->special_port.name));
5104 } Reply;
5107 Reply *reply = (Reply *)ARG1;
5109 assign_port_name(reply->semaphore.name, "semaphore-%p");
5110 PRINT("%s", name_for_port(reply->semaphore.name));
5145 } Reply;
5148 Reply *reply = (Reply *)ARG1;
5149 if (!reply->RetCode) {
5151 PRINT("mig return %d", reply->RetCode);
5182 } Reply;
5185 // Reply *reply = (Reply *)ARG1;
5216 } Reply;
5219 Reply *reply = (Reply *)ARG1;
5222 assign_port_names(&reply->act_list, "thread-%p");
5224 assign_port_names(&reply->act_list, "remote-thread-%p");
5300 } Reply;
5303 Reply *reply = (Reply *)ARG1;
5305 if (!reply->RetCode) {
5307 PRINT("allocated at %#llx", (ULong)reply->address);
5311 reply->address, MACH_ARG(vm_allocate.size),
5316 (ULong)reply->address,
5320 PRINT("mig return %d", reply->RetCode);
5360 } Reply;
5363 Reply *reply = (Reply *)ARG1;
5365 if (!reply->RetCode) {
5376 PRINT("mig return %d", reply->RetCode);
5417 } Reply;
5420 Reply *reply = (Reply *)ARG1;
5422 if (!reply->RetCode) {
5438 PRINT("mig return %d", reply->RetCode);
5473 } Reply;
5476 Reply *reply = (Reply *)ARG1;
5478 if (!reply->RetCode) {
5483 PRINT("mig return %d", reply->RetCode);
5522 } Reply;
5525 // Reply *reply = (Reply *)ARG1;
5568 } Reply;
5571 // Reply *reply = (Reply *)ARG1;
5615 } Reply;
5618 Reply *reply = (Reply *)ARG1;
5620 if (reply->RetCode) {
5621 PRINT("mig return %d", reply->RetCode);
5623 PRINT("read %llu bytes", (unsigned long long)reply->outsize);
5627 POST_MEM_WRITE(MACH_ARG(vm_read_overwrite.data), reply->outsize);
5630 POST_MEM_WRITE(MACH_ARG(vm_read_overwrite.data), reply->outsize);
5670 } Reply;
5673 Reply *reply = (Reply *)ARG1;
5675 if (!reply->RetCode) {
5681 PRINT("mig return %d", reply->RetCode);
5732 } Reply;
5735 Reply *reply = (Reply *)ARG1;
5737 if (!reply->RetCode) {
5739 PRINT("mapped at %#llx", (ULong)reply->address);
5742 reply->address, VG_PGROUNDUP(MACH_ARG(vm_map.size)),
5746 PRINT("mig return %d", reply->RetCode);
5809 } Reply;
5812 Reply *reply = (Reply *)ARG1;
5814 if (!reply->RetCode) {
5816 UInt prot = reply->cur_protection & reply->max_protection;
5818 PRINT("mapped at %#llx", (ULong)reply->target_address);
5820 reply->target_address, VG_PGROUNDUP(MACH_ARG(vm_remap.size)),
5825 PRINT("mig return %d", reply->RetCode);
5864 } Reply;
5867 Reply *reply = (Reply *)ARG1;
5869 if (reply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) {
5870 assign_port_name(reply->object.name, "memory-%p");
5871 PRINT("%s", name_for_port(reply->object.name));
5907 } Reply;
5910 Reply *reply = (Reply *)ARG1;
5912 if (!reply->RetCode) {
5914 PRINT("mig return %d", reply->RetCode);
5950 } Reply;
5953 Reply *reply = (Reply *)ARG1;
5955 if (!reply->RetCode) {
5957 PRINT("mig return %d", reply->RetCode);
5995 } Reply;
5998 Reply *reply = (Reply *)ARG1;
6000 if (!reply->RetCode) {
6002 PRINT("allocated at 0x%llx", reply->address);
6006 reply->address, MACH_ARG(mach_vm_allocate.size),
6010 PRINT("allocated at 0x%llx in remote task %s", reply->address,
6014 PRINT("mig return %d", reply->RetCode);
6054 } Reply;
6057 Reply *reply = (Reply *)ARG1;
6059 if (!reply->RetCode) {
6070 PRINT("mig return %d", reply->RetCode);
6110 } Reply;
6113 Reply *reply = (Reply *)ARG1;
6115 if (!reply->RetCode) {
6129 PRINT("mig return %d", reply->RetCode);
6163 } Reply;
6166 Reply *reply = (Reply *)ARG1;
6168 if (!reply->RetCode) {
6172 PRINT("mig return %d", reply->RetCode);
6211 } Reply;
6214 Reply *reply = (Reply
6216 if (!reply->RetCode) {
6222 PRINT("mig return %d", reply->RetCode);
6274 } Reply;
6277 Reply *reply = (Reply *)ARG1;
6279 if (!reply->RetCode) {
6281 PRINT("mapped at 0x%llx", reply->address);
6284 reply->address, VG_PGROUNDUP(MACH_ARG(mach_vm_map.size)),
6288 PRINT("mig return %d", reply->RetCode);
6326 } Reply;
6329 Reply *reply = (Reply *)ARG1;
6331 if (!reply->RetCode) {
6333 reply->address, reply->size,
6334 reply->nesting_depth, reply->infoCnt);
6337 PRINT("mig return %d", reply->RetCode);
6451 } Reply;
6454 Reply *reply = (Reply *)ARG1;
6456 assign_port_name(reply->child_act.name, "thread-%p");
6457 PRINT("%s", name_for_port(reply->child_act.name));
6585 } Reply;
6588 Reply *reply = (Reply *)ARG1;
6592 if (!reply->RetCode) {
6593 thread_state_from_vex((thread_state_t)reply->old_state,
6594 flavor, reply->old_stateCnt,
6597 PRINT("mig return %d", reply->RetCode);
6694 } Reply;
6697 Reply *reply = (Reply *)ARG1;
6699 if (reply->RetCode) PRINT("mig return %d", reply->RetCode);
6737 } Reply;
6740 Reply *reply = (Reply *)ARG1;
6742 if ((reply->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) &&
6743 reply->service_port.name)
6745 assign_port_name(reply->service_port.name,
6747 PRINT("%s", name_for_port(reply->service_port.name));
6787 // PRINT("UNHANDLED reply %d", mh->msgh_id);
6801 // no message sent, only listening for a reply
6822 PRINT("UNHANDLED bootstrap message [id %d, to %s, reply 0x%x]\n",
6855 VG_(printf)("UNKNOWN host message [id %d, to %s, reply 0x%x]\n",
7024 VG_(printf)("UNKNOWN task message [id %d, to %s, reply 0x%x]\n",
7059 VG_(printf)("UNKNOWN thread message [id %d, to %s, reply 0x%x]\n",
7170 PRINT("UNHANDLED mach_msg [id %d, to %s, reply 0x%x]",
7236 record_named_port(tid, RES, MACH_PORT_RIGHT_RECEIVE, "reply-%p");
7237 PRINT("reply port %s", name_for_port(RES));