• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/xnu-2782.1.97/osfmk/ipc/

Lines Matching defs:space

565 	ipc_space_t		space,
599 * The expansion space is left in front of the header,
1229 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
1331 * I reserve for the trailer the largest space (MAX_TRAILER_SIZE)
1626 * message header and the space are left untouched.
1638 * MACH_SEND_INVALID_DEST The space is dead.
1648 ipc_space_t space,
1694 is_write_lock(space);
1695 if (!is_active(space)) {
1696 is_write_unlock(space);
1699 /* space locked and active */
1713 is_write_unlock(space);
1718 voucher_entry = ipc_entry_lookup(space, voucher_name);
1722 is_write_unlock(space);
1759 reply_entry = ipc_entry_lookup(space, reply_name);
1764 if (!ipc_right_copyin_check(space, reply_name, reply_entry, reply_type)) {
1776 kr = ipc_right_copyin_two(space, dest_name, dest_entry,
1800 kr = ipc_right_copyin(space, reply_name, reply_entry,
1808 kr = ipc_right_copyin(space, reply_name, reply_entry,
1826 dest_entry = ipc_entry_lookup(space, dest_name);
1837 kr = ipc_right_copyin_two(space, dest_name, dest_entry,
1876 dest_entry = ipc_entry_lookup(space, dest_name);
1889 reply_entry = ipc_entry_lookup(space, reply_name);
1896 if (!ipc_right_copyin_check(space, reply_name, reply_entry, reply_type)) {
1905 kr = ipc_right_copyin(space, dest_name, dest_entry,
1913 kr = ipc_right_copyin(space, dest_name, dest_entry,
1931 kr = ipc_right_copyin(space, reply_name, reply_entry,
1939 kr = ipc_right_copyin(space, reply_name, reply_entry,
1958 kr = ipc_right_copyin(space, voucher_name, voucher_entry,
1967 kr = ipc_right_copyin(space, voucher_name, voucher_entry,
1983 ipc_entry_dealloc(space, dest_name, dest_entry);
1988 ipc_entry_dealloc(space, reply_name, reply_entry);
1993 ipc_entry_dealloc(space, voucher_name, voucher_entry);
2044 is_write_unlock(space);
2089 is_write_unlock(space);
2105 is_write_unlock(space);
2127 ipc_space_t space,
2138 ipc_space_t space,
2155 kern_return_t kr = ipc_object_copyin(space, name, user_disp, &object);
2238 * is not being deallocated, then allocate space
2296 ipc_space_t space,
2306 ipc_space_t space,
2404 kern_return_t kr = ipc_object_copyin(space, name, user_disp, &object);
2457 ipc_space_t space,
2487 * Make an initial pass to determine kernal VM space requirements for
2570 * Allocate space in the pageable kernel ipc copy map for all the
2572 * space.
2606 (mach_msg_legacy_port_descriptor_t *)user_addr, space, dest, kmsg, &mr);
2619 user_addr, is_task_64bit, map, space, dest, kmsg, &mr);
2673 ipc_space_t space,
2681 mr = ipc_kmsg_copyin_header(kmsg, space, optionp);
2704 mr = ipc_kmsg_copyin_body( kmsg, space, map);
3047 * message header and the space are left untouched.
3059 * The space is dead.
3061 * No room in space for another name.
3071 ipc_space_t space,
3104 * Reserve any potentially needed entries in the target space.
3105 * We'll free any unused before unlocking the space.
3121 is_write_lock(space);
3124 if (!is_active(space)) {
3125 is_write_unlock(space);
3130 kr = ipc_entries_hold(space, entries_held);
3134 kr = ipc_entry_grow_table(space, ITS_SIZE_NONE);
3138 /* space was unlocked and relocked - retry */
3147 ipc_right_reverse(space, (ipc_object_t) reply, &reply_name, &entry)) {
3164 ipc_entry_claim(space, &reply_name, &entry);
3170 /* space and reply port are locked and active */
3173 kr = ipc_right_copyout(space, reply_name, entry,
3200 if (ipc_right_reverse(space, (ipc_object_t) voucher,
3207 ipc_entry_claim(space, &voucher_name, &entry);
3213 /* space is locked and active */
3217 kr = ipc_right_copyout(space, voucher_name, entry,
3233 is_write_unlock(space);
3238 * We only need to have the space locked
3242 is_read_lock(space);
3243 if (!is_active(space)) {
3244 is_read_unlock(space);
3249 is_read_unlock(space);
3265 * At this point, the space is unlocked and the destination
3266 * port is locked. (Lock taken while space was locked.)
3270 * If the space holds receive rights for the destination,
3275 * exists somewhere else (another space, in transit)
3295 * Because the space lock is held across the copyout of reply
3297 * in or out of the space while the copyouts happen, so
3300 * space couldn't have had receive rights for dest at
3312 ipc_object_copyout_dest(space, (ipc_object_t) dest,
3385 * MACH_MSG_SUCCESS The space acquired the right
3387 * MACH_MSG_IPC_SPACE No room in space for the right,
3388 * or the space is dead. (Name is MACH_PORT_NULL.)
3395 ipc_space_t space,
3407 kr = ipc_object_copyout(space, object, msgt_name, TRUE, namep);
3429 ipc_space_t space,
3434 ipc_space_t space,
3445 *mr |= ipc_kmsg_copyout_object(space,
3554 * visible size. There is already space allocated for
3603 ipc_space_t space,
3611 ipc_space_t space,
3679 * for those rights out to user-space.
3690 *mr |= ipc_kmsg_copyout_object(space, object,
3763 * MACH_MSG_IPC_SPACE No room for port right in name space.
3764 * MACH_MSG_VM_SPACE No room for memory in address space.
3773 ipc_space_t space,
3807 user_dsc = ipc_kmsg_copyout_port_descriptor(&kern_dsc[i], user_dsc, space, &mr);
3816 (mach_msg_ool_ports_descriptor_t *)&kern_dsc[i], user_dsc, is_task_64bit, map, space, kmsg, &mr);
3910 ipc_space_t space,
3917 mr = ipc_kmsg_copyout_header(kmsg, space, option);
3923 mr = ipc_kmsg_copyout_body(kmsg, space, map, slist);
3946 * MACH_MSG_IPC_SPACE No room for port right in name space.
3947 * MACH_MSG_VM_SPACE No room for memory in address space.
3955 ipc_space_t space,
3984 mr = (ipc_kmsg_copyout_object(space, dest, dest_type, &dest_name) |
3985 ipc_kmsg_copyout_object(space, reply, reply_type, &reply_name));
3995 mr |= ipc_kmsg_copyout_object(space, voucher, voucher_type, &voucher_name);
4000 mr |= ipc_kmsg_copyout_body(kmsg, space, map, slist);
4018 ipc_space_t space)
4044 ipc_object_copyout_dest(space, dest, dest_type, &dest_name);
4254 ipc_space_t space)
4271 ipc_object_copyout_dest(space, dest, dest_type, &dest_name);
4292 ipc_space_t space)
4309 ipc_object_copyout_dest(space, dest, dest_type, &dest_name);
4409 ipc_kmsg_add_trailer(ipc_kmsg_t kmsg, ipc_space_t space __unused,