Lines Matching refs:mr
1467 mach_msg_return_t mr;
1519 mr = MACH_RCV_INVALID_DATA;
1521 mr = MACH_MSG_SUCCESS;
1524 return mr;
1993 mach_msg_return_t *mr);
2004 mach_msg_return_t *mr)
2020 *mr = MACH_SEND_INVALID_RIGHT;
2049 mach_msg_return_t *mr);
2059 mach_msg_return_t *mr)
2110 *mr = MACH_SEND_INVALID_MEMORY;
2125 *mr = MACH_MSG_VM_KERNEL;
2144 *mr = (kr == KERN_RESOURCE_SHORTAGE) ?
2162 mach_msg_return_t *mr);
2172 mach_msg_return_t *mr)
2220 *mr = MACH_SEND_TOO_LARGE;
2235 *mr = MACH_SEND_NO_BUFFER;
2247 *mr = MACH_SEND_INVALID_MEMORY;
2279 *mr = MACH_SEND_INVALID_RIGHT;
2334 mach_msg_return_t mr = MACH_MSG_SUCCESS;
2380 mr = MACH_SEND_MSG_TOO_SMALL;
2399 mr = MACH_SEND_INVALID_TYPE;
2418 mr = MACH_MSG_VM_KERNEL;
2434 mr = MACH_MSG_VM_KERNEL;
2459 (mach_msg_legacy_port_descriptor_t *)user_addr, space, dest, kmsg, &mr);
2466 user_addr, is_task_64bit, &paddr, ©, &space_needed, map, &mr);
2472 user_addr, is_task_64bit, map, space, dest, kmsg, &mr);
2478 mr = MACH_SEND_INVALID_TYPE;
2482 if (MACH_MSG_SUCCESS != mr) {
2495 return mr;
2530 mach_msg_return_t mr;
2532 mr = ipc_kmsg_copyin_header(kmsg->ikm_header, space, notify);
2533 if (mr != MACH_MSG_SUCCESS)
2534 return mr;
2547 mr = ipc_kmsg_copyin_body( kmsg, space, map);
2558 return mr;
3169 kern_return_t *mr);
3174 kern_return_t *mr)
3184 *mr |= ipc_kmsg_copyout_object(space,
3210 ipc_kmsg_copyout_ool_descriptor(mach_msg_ool_descriptor_t *dsc, mach_msg_descriptor_t *user_dsc, int is_64bit, vm_map_t map, mach_msg_return_t *mr);
3212 ipc_kmsg_copyout_ool_descriptor(mach_msg_ool_descriptor_t *dsc, mach_msg_descriptor_t *user_dsc, int is_64bit, vm_map_t map, mach_msg_return_t *mr)
3278 *mr |= MACH_MSG_VM_KERNEL;
3280 *mr |= MACH_MSG_VM_SPACE;
3344 mach_msg_return_t *mr);
3352 mach_msg_return_t *mr)
3409 *mr |= MACH_MSG_VM_KERNEL;
3411 *mr |= MACH_MSG_VM_SPACE;
3429 *mr |= ipc_kmsg_copyout_object(space, object,
3436 *mr |= MACH_MSG_VM_SPACE;
3521 mach_msg_return_t mr = MACH_MSG_SUCCESS;
3546 user_dsc = ipc_kmsg_copyout_port_descriptor(&kern_dsc[i], user_dsc, space, &mr);
3551 (mach_msg_ool_descriptor_t *)&kern_dsc[i], user_dsc, is_task_64bit, map, &mr);
3555 (mach_msg_ool_ports_descriptor_t *)&kern_dsc[i], user_dsc, is_task_64bit, map, space, kmsg, &mr);
3571 return mr;
3653 mach_msg_return_t mr;
3655 mr = ipc_kmsg_copyout_header(kmsg->ikm_header, space);
3656 if (mr != MACH_MSG_SUCCESS) {
3657 return mr;
3661 mr = ipc_kmsg_copyout_body(kmsg, space, map, slist);
3663 if (mr != MACH_MSG_SUCCESS)
3664 mr |= MACH_RCV_BODY_ERROR;
3667 return mr;
3703 mach_msg_return_t mr;
3707 mr = (ipc_kmsg_copyout_object(space, dest, dest_type, &dest_name) |
3715 mr |= ipc_kmsg_copyout_body(kmsg, space, map, slist);
3718 return mr;