Lines Matching refs:space
146 ipc_space_t space);
171 * MACH_SEND_INVALID_DEST The space is dead.
180 * This space has already forced a message to this port.
191 ipc_space_t space = current_space();
216 * reserve for the trailer the largest space (MAX_TRAILER_SIZE)
231 mr = ipc_kmsg_copyin(kmsg, space, map, notify);
233 mr = ipc_kmsg_copyin(kmsg, space, map, MACH_PORT_NULL);
242 mr |= ipc_kmsg_copyout_pseudo(kmsg, space, map, MACH_MSG_BODY_NULL);
276 ipc_space_t space = current_space();
296 * space. The value for how much space was returned in the
307 if (msg_receive_error(kmsg, msg_addr, option, seqno, space)
354 kr = ipc_object_copyout(space, (ipc_object_t)lh->lh_port,
384 mr = ipc_kmsg_copyout(kmsg, space, map, MACH_PORT_NULL, slist);
387 mr = ipc_kmsg_copyout(kmsg, space, map,
398 if (msg_receive_error(kmsg, msg_addr, option, seqno, space)
423 ipc_space_t space = current_space();
428 mr = ipc_mqueue_copyin(space, rcv_name, &mqueue, &object);
670 ipc_space_t space = self->task->itk_space;
764 is_read_lock(space);
765 assert(space->is_active);
767 size = space->is_table_size;
768 table = space->is_table;
786 entry = ipc_entry_lookup(space, reply_name);
836 entry = ipc_entry_lookup(space, dest_name);
861 * locks on both ports and the space. If
874 is_read_unlock(space);
883 assert(reply_port->ip_receiver == space);
927 is_read_unlock(space);
952 is_write_lock(space);
953 assert(space->is_active);
957 size = space->is_table_size;
958 table = space->is_table;
1056 entry = ipc_entry_lookup(space, rcv_name);
1115 is_write_unlock(space);
1122 is_write_unlock(space);
1128 is_write_unlock(space);
1144 * space is unlocked, dest_port is locked,
1303 is_write_lock(space);
1304 assert(space->is_active);
1308 * locks on both ports and the space. If
1337 table = space->is_table;
1364 is_write_unlock(space);
1372 if (dest_port->ip_receiver == space)
1402 is_write_unlock(space);
1423 if (dest_port->ip_receiver == space) {
1460 if (dest_port->ip_receiver == space) {
1478 mr = ipc_kmsg_copyout_body(kmsg, space,
1532 mr = ipc_kmsg_copyin(kmsg, space, current_map(),
1584 reply_port->ip_receiver == space &&
1651 (reply_port->ip_receiver != space) ||
1728 mr |= ipc_kmsg_copyout_pseudo(kmsg, space,
1741 mr = ipc_mqueue_copyin(space, rcv_name,
1799 space) == MACH_RCV_INVALID_DATA) {
1809 mr = ipc_kmsg_copyout(kmsg, space, current_map(),
1819 temp_seqno, space) == MACH_RCV_INVALID_DATA)
1836 ipc_space_t space = current_space();
1849 mr = ipc_kmsg_copyin(kmsg, space, map, notify);
1851 mr = ipc_kmsg_copyin(kmsg, space, map, MACH_PORT_NULL);
1860 mr |= ipc_kmsg_copyout_pseudo(kmsg, space, map, MACH_MSG_BODY_NULL);
1869 ipc_space_t space = current_space();
1873 mr = ipc_mqueue_copyin(space, rcv_name, &mqueue, &object);
1947 ipc_space_t space)
1955 ipc_kmsg_copyout_dest(kmsg, space);
1973 * Copy the message to user space