Lines Matching defs:index
94 mach_port_index_t index,
132 mach_port_index_t index;
134 index = MACH_PORT_INDEX(name);
135 ipc_hash_table_insert(space->is_table, space->is_table_size, obj, index, entry);
153 mach_port_index_t index;
155 index = MACH_PORT_INDEX(name);
156 ipc_hash_table_delete(space->is_table, space->is_table_size, obj, index, entry);
172 * Because at least one entry in the table (index 0) is always unused,
208 mach_port_index_t hindex, index;
221 while ((index = table[hindex].ie_index) != 0) {
224 assert(index < size);
225 entry = &table[index];
228 *namep = MACH_PORT_MAKE(index,
253 mach_port_index_t index,
258 assert(index != 0);
263 assert(entry == &table[index]);
277 table[hindex].ie_index = index;
293 mach_port_index_t index,
298 assert(index != MACH_PORT_NULL);
303 assert(entry == &table[index]);
307 * First check we have the right hindex for this index.
312 while (table[hindex].ie_index != index) {
319 * But if we aren't the last index in a clump,
328 * hindex - index of new hole in the clump
329 * dindex - index we are checking for a displaced object
336 for (dindex = hindex; index != 0; hindex = dindex) {
347 index = table[dindex].ie_index;
348 if (index == 0)
353 tobj = table[index].ie_object;
363 table[hindex].ie_index = index;