Lines Matching refs:space
456 ipc_space_t space,
461 port->ip_receiver = space;
491 * KERN_INVALID_TASK The space is dead.
492 * KERN_NO_SPACE No room for an entry in the space.
498 ipc_space_t space,
506 kr = ipc_object_alloc(space, IOT_PORT,
514 ipc_port_init(port, space, name);
518 tasklabel_lock2 (issuer, space->is_task);
519 mac_port_label_associate(&issuer->maclabel, &space->is_task->maclabel,
521 tasklabel_unlock2 (issuer, space->is_task);
539 * KERN_INVALID_TASK The space is dead.
546 ipc_space_t space,
553 kr = ipc_object_alloc_name(space, IOT_PORT,
561 ipc_port_init(port, space, name);
565 tasklabel_lock2 (issuer, space->is_task);
566 mac_port_label_associate(&issuer->maclabel, &space->is_task->maclabel,
568 tasklabel_unlock2 (issuer, space->is_task);
844 * The space must be locked (read or write) and active.
845 * Being the active space, we can rely on thread server_id
847 * within the space.
852 ipc_space_t space,
858 assert(space->is_active);
860 entry = ipc_entry_lookup(space, name);
872 assert(port->ip_receiver == space);
936 * Nothing locked except possibly a space.
974 ipc_space_t space)
981 kr = ipc_object_copyout(space, (ipc_object_t) sright,
1070 * Nothing locked except possibly a space.
1126 * Allocate a port in a special space.
1135 ipc_space_t space)
1148 ipc_port_init(port, space, 1);
1159 mac_port_label_associate_kernel(&port->ip_label, space == ipc_space_reply);
1168 * Deallocate a port in a special space.
1177 __assert_only ipc_space_t space)
1182 assert(port->ip_receiver == space);
1431 ipc_space_t space;
1438 if ((space = task->itk_space) == 0) {
1442 if (!space->is_active) {
1446 if ((entry = ipc_entry_lookup(space, name)) == 0) {