Lines Matching refs:copy
15 * Please obtain a copy of the License at
36 * Permission to use, copy, modify and distribute this software and its
730 * MACH_SEND_INVALID_DATA Couldn't copy message data.
996 * MACH_RCV_INVALID_DATA Couldn't copy to user message.
1160 * copy-send and make-send.
1221 * To make this atomic, just do one copy-send,
1489 vm_map_copy_t copy = VM_MAP_COPY_NULL;
1557 if (daddr->out_of_line.copy != MACH_MSG_PHYSICAL_COPY &&
1558 daddr->out_of_line.copy != MACH_MSG_VIRTUAL_COPY) {
1560 * Invalid copy option
1568 (daddr->out_of_line.copy == MACH_MSG_PHYSICAL_COPY) &&
1590 * Allocate space in the pageable kernel ipc copy map for all the
1672 copy_options = user_dsc->copy;
1680 copy_options = user_dsc->copy;
1688 dsc->copy = copy_options;
1697 * If the request is a physical copy and the source
1699 * in the kernel's pageable ipc copy map and copy
1712 * The kernel ipc copy map is marked no_zero_fill.
1721 (vm_map_size_t)length, TRUE, ©) != KERN_SUCCESS) {
1725 dsc->address = (void *) copy;
1733 * copy. Otherwise, it will do a virtual copy.
1735 * NOTE: A virtual copy is OK if the original is being
1736 * deallocted, even if a physical copy was requested.
1739 (vm_map_size_t)length, dealloc, ©);
1746 dsc->address = (void *) copy;
1772 copy_option = user_dsc->copy;
1781 copy_option = user_dsc->copy;
1787 dsc->copy = copy_option;
2606 vm_map_copy_t copy;
2616 copy = (vm_map_copy_t) dsc->address;
2618 copy_options = dsc->copy;
2622 if (copy != VM_MAP_COPY_NULL) {
2633 if (scatter_dsc->copy == MACH_MSG_OVERWRITE) {
2644 if (scatter_dsc->copy == MACH_MSG_OVERWRITE) {
2660 * overwrite it, otherwise do a virtual copy out.
2664 copy, TRUE);
2666 kr = vm_map_copyout(map, &rcv_addr, copy);
2673 vm_map_copy_discard(copy);
2695 user_dsc->copy = copy_options;
2707 user_dsc->copy = copy_options;
2744 copy_options = scatter_dsc->copy;
2750 copy_options = scatter_dsc->copy;
2778 * Handle the port rights and copy out the names
2815 user_dsc->copy = copy_options;
2828 user_dsc->copy = copy_options;
3056 * size of the gather descriptor. A MACH_MSG_ALLOCATE copy
3060 * subsequent copy out, excess scatter descriptors are ignored
3144 * Check type, copy and size fields
3153 if (sstart->out_of_line.copy == MACH_MSG_OVERWRITE &&
3164 if (sstart->ool_ports.copy == MACH_MSG_OVERWRITE &&
3487 iprintf("-- OOL%s addr = 0x%x size = 0x%x copy = %s %s\n",
3490 mm_copy_options_string(dsc->copy),
3503 printf(" copy = %s %s\n",
3504 mm_copy_options_string(dsc->copy),