Lines Matching refs:obj
90 /* Lookup (space, obj) in global hash table */
93 ipc_object_t obj,
100 ipc_object_t obj,
107 ipc_object_t obj,
114 * Converts (space, obj) -> (name, entry).
123 ipc_object_t obj,
129 rv = ipc_hash_local_lookup(space, obj, namep, entryp);
133 rv = ipc_hash_global_lookup(space, obj, namep,
151 ipc_object_t obj,
160 ipc_hash_local_insert(space, obj, index, entry);
163 ipc_hash_global_insert(space, obj, name,
179 ipc_object_t obj,
188 ipc_hash_local_delete(space, obj, index, entry);
191 ipc_hash_global_delete(space, obj, name,
208 #define IH_GLOBAL_HASH(space, obj) \
210 (((ipc_hash_index_t) ((vm_offset_t)obj)) >> 6)) & \
229 * Converts (space, obj) -> (name, entry).
239 ipc_object_t obj,
247 assert(obj != IO_NULL);
250 bucket = &ipc_hash_global_table[IH_GLOBAL_HASH(space, obj)];
254 if ((this->ite_object == obj) &&
263 if ((this->ite_object == obj) &&
293 ipc_object_t obj,
303 assert(obj != IO_NULL);
304 assert(entry->ite_object == obj);
309 bucket = &ipc_hash_global_table[IH_GLOBAL_HASH(space, obj)];
331 ipc_object_t obj,
342 assert(obj != IO_NULL);
343 assert(entry->ite_object == obj);
348 bucket = &ipc_hash_global_table[IH_GLOBAL_HASH(space, obj)];
396 #define IH_LOCAL_HASH(obj, size) \
397 ((((mach_port_index_t) (obj)) >> 6) % (size))
402 * Converts (space, obj) -> (name, entry).
412 ipc_object_t obj,
421 assert(obj != IO_NULL);
425 hindex = IH_LOCAL_HASH(obj, size);
437 if (entry->ie_object == obj) {
462 ipc_object_t obj,
472 assert(obj != IO_NULL);
476 hindex = IH_LOCAL_HASH(obj, size);
479 assert(entry->ie_object == obj);
506 ipc_object_t obj,
516 assert(obj != IO_NULL);
520 hindex = IH_LOCAL_HASH(obj, size);
523 assert(entry->ie_object == obj);