Home
last modified time | relevance | path

Searched refs:index_to_hash (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c134 int index_to_hash; in lookup_container_table() local
162 index_to_hash = (parenthdl % TABLE_SIZE); in lookup_container_table()
164 first_hash = container_table[index_to_hash]; in lookup_container_table()
215 int index_to_hash; in lookup_node_object() local
220 index_to_hash = (nodehdl % TABLE_SIZE); in lookup_node_object()
222 first_hash = &cont_tbl->hash_obj[index_to_hash]; in lookup_node_object()
242 int index_to_hash; in add_tblobject_to_container_tbl() local
245 index_to_hash = ((cont_tbl->picl_hdl) % TABLE_SIZE); in add_tblobject_to_container_tbl()
247 cont_tbl->next = container_table[index_to_hash]; in add_tblobject_to_container_tbl()
248 container_table[index_to_hash] = cont_tbl; in add_tblobject_to_container_tbl()
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c52 handle_t index_to_hash; in lookup_handle_object() local
56 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()
58 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
73 handle_t index_to_hash; in add_hashobject_to_hashtable() local
79 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()
81 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
82 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c60 handle_t index_to_hash; in lookup_handle_object() local
64 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()
66 first_hash_obj = hash_table[index_to_hash]; in lookup_handle_object()
200 handle_t index_to_hash; in add_hashobject_to_hashtable() local
206 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()
208 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()
209 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()