Lines Matching defs:copy

15  * Please obtain a copy of the License at
36 * Permission to use, copy, modify and distribute this software and its
445 kprintf(" OOL%s addr = %p size = 0x%x copy = %s %s\n",
448 mm_copy_options_string64(dsc->copy),
461 kprintf(" copy = %s %s\n",
462 mm_copy_options_string64(dsc->copy),
1120 * MACH_SEND_INVALID_DATA Couldn't copy message data.
1554 * MACH_RCV_INVALID_DATA Couldn't copy to user message.
1752 * copy-send and make-send.
1839 * To make this atomic, just do one copy-send,
2258 vm_map_copy_t *copy,
2268 vm_map_copy_t *copy,
2285 copy_options = user_ool_dsc->copy;
2294 copy_options = user_ool_dsc->copy;
2303 dsc->copy = copy_options;
2312 * If the request is a physical copy and the source
2314 * in the kernel's pageable ipc copy map and copy
2327 * The kernel ipc copy map is marked no_zero_fill.
2336 (vm_map_size_t)length, TRUE, copy) != KERN_SUCCESS) {
2340 dsc->address = (void *)*copy;
2348 * copy. Otherwise, it will do a virtual copy.
2350 * NOTE: A virtual copy is OK if the original is being
2351 * deallocted, even if a physical copy was requested.
2354 (vm_map_size_t)length, dealloc, copy);
2361 dsc->address = (void *)*copy;
2404 copy_option = user_ool_dsc->copy;
2415 copy_option = user_ool_dsc->copy;
2423 dsc->copy = copy_option;
2544 vm_map_copy_t copy = VM_MAP_COPY_NULL;
2605 if (daddr->out_of_line.copy != MACH_MSG_PHYSICAL_COPY &&
2606 daddr->out_of_line.copy != MACH_MSG_VIRTUAL_COPY) {
2608 * Invalid copy option
2616 (daddr->out_of_line.copy == MACH_MSG_PHYSICAL_COPY) &&
2645 * Allocate space in the pageable kernel ipc copy map for all the
2685 user_addr, is_task_64bit, &paddr, &copy, &space_needed, map, &mr);
3039 mach_msg_copy_options_t copy = source_dsc->copy;
3045 dest_dsc->copy = copy;
3059 mach_msg_copy_options_t copy = source_dsc->copy;
3086 dest_dsc->copy = copy;
3437 vm_map_copy_t copy;
3445 copy = (vm_map_copy_t) dsc->address;
3447 copy_options = dsc->copy;
3452 if (copy != VM_MAP_COPY_NULL) {
3464 if (scatter_dsc->copy == MACH_MSG_OVERWRITE) {
3474 if (scatter_dsc->copy == MACH_MSG_OVERWRITE) {
3490 * overwrite it, otherwise do a virtual copy out.
3495 copy, TRUE);
3497 kr = vm_map_copyout(map, &rcv_addr, copy);
3504 vm_map_copy_discard(copy);
3527 user_ool_dsc->copy = copy_options;
3539 user_ool_dsc->copy = copy_options;
3552 user_ool_dsc->copy = copy_options;
3605 copy_options = scatter_dsc->copy;
3611 copy_options = scatter_dsc->copy;
3640 * Handle the port rights and copy out the names
3677 user_ool_dsc->copy = copy_options;
3690 user_ool_dsc->copy = copy_options;
3704 user_ool_dsc->copy = copy_options;
4013 * size of the gather descriptor. A MACH_MSG_ALLOCATE copy
4017 * subsequent copy out, excess scatter descriptors are ignored
4104 * Check type, copy and size fields
4113 if (sstart->out_of_line.copy == MACH_MSG_OVERWRITE &&
4124 if (sstart->ool_ports.copy == MACH_MSG_OVERWRITE &&
4283 mach_msg_copy_options_t copy = source_dsc->copy;
4289 dest_dsc->copy = copy;
4301 mach_msg_copy_options_t copy = source_dsc->copy;
4307 dest_dsc->copy = copy;