Lines Matching defs:space
65 * Create a new label handle in the task described by the specified space.
70 labelh_new_user(ipc_space_t space, struct label *inl, mach_port_name_t *namep)
77 if (space == IS_NULL || space->is_task == NULL)
91 kr = ipc_port_alloc(space, namep, &port);
99 is_write_lock(space);
100 /* XXX - must validate space is still active and unwind if not */
101 entry = ipc_entry_lookup(space, *namep);
104 is_write_unlock(space);
122 mac_label_new(ipc_space_t space, mach_port_name_t *namep, labelstr_t labelstr)
131 kr = labelh_new_user(space, &inl, namep);
226 * Deallocate space associated with the label handle backed by the
242 mac_label_new(__unused ipc_space_t space,