Lines Matching refs:space
98 * KERN_INVALID_TASK The space is null.
99 * KERN_INVALID_TASK The space is dead.
107 __unused ipc_space_t space,
116 ipc_space_t space,
124 if (space == IS_NULL)
127 kr = ipc_port_translate_receive(space, name, &port);
205 * Returns information about an IPC space.
210 * KERN_INVALID_TASK The space is null.
211 * KERN_INVALID_TASK The space is dead.
218 __unused ipc_space_t space,
230 ipc_space_t space,
251 if (space == IS_NULL)
260 is_read_lock(space);
261 if (!space->is_active) {
262 is_read_unlock(space);
272 table_size_needed = round_page(space->is_table_size
274 tree_size_needed = round_page(space->is_tree_total
281 is_read_unlock(space);
306 /* space is read-locked and active; we have enough wired memory */
308 /* get the overall space info */
310 infop->iis_table_size = space->is_table_size;
311 infop->iis_table_next = space->is_table_next->its_size;
312 infop->iis_tree_size = space->is_tree_total;
313 infop->iis_tree_small = space->is_tree_small;
314 infop->iis_tree_hash = space->is_tree_hash;
316 /* walk the table for this space */
317 table = space->is_table;
318 tsize = space->is_table_size;
337 /* walk the splay tree for this space */
339 for (tentry = ipc_splay_traverse_start(&space->is_tree), index = 0;
341 tentry = ipc_splay_traverse_next(&space->is_tree, FALSE)) {
370 ipc_splay_traverse_finish(&space->is_tree);
371 is_read_unlock(space);
423 * KERN_INVALID_TASK The space is null.
424 * KERN_INVALID_TASK The space is dead.
432 __unused ipc_space_t space,
442 ipc_space_t space,
451 if (space == IS_NULL)
454 kr = ipc_port_translate_receive(space, name, &port);
493 * KERN_INVALID_TASK The space is null.
494 * KERN_INVALID_TASK The space is dead.
503 __unused ipc_space_t space,
513 ipc_space_t space,
522 if (space == IS_NULL)
525 kr = ipc_right_lookup_read(space, name, &entry);
528 /* space is read-locked and active */
531 is_read_unlock(space);
539 is_read_unlock(space);