Home
last modified time | relevance | path

Searched refs:hash_obj (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c222 first_hash = &cont_tbl->hash_obj[index_to_hash]; in lookup_node_object()
249 hash_ptr = cont_tbl->hash_obj; in add_tblobject_to_container_tbl()
264 add_nodeobject_to_hashtable(hash_obj_t *hash_obj, container_tbl_t *cont_tbl) in add_nodeobject_to_hashtable() argument
269 index_to_hash = ((hash_obj->picl_hdl) % TABLE_SIZE); in add_nodeobject_to_hashtable()
270 hash_table = &cont_tbl->hash_obj[index_to_hash]; in add_nodeobject_to_hashtable()
272 hash_obj->next = hash_table->next; in add_nodeobject_to_hashtable()
273 hash_table->next = hash_obj; in add_nodeobject_to_hashtable()
275 if (hash_obj->next != NULL) { in add_nodeobject_to_hashtable()
276 hash_obj->next->prev = hash_obj; in add_nodeobject_to_hashtable()
292 cont_tbl->hash_obj = malloc(sizeof (hash_obj_t[TABLE_SIZE])); in alloc_container_table()
[all …]
H A Dfru_data_impl.h61 struct hash_obj;
67 struct hash_obj *next;
74 struct hash_obj *packet_list;
75 struct hash_obj *next;
82 struct hash_obj *segment_list;
83 struct hash_obj *next;
89 struct hash_obj *section_list;
92 typedef struct hash_obj { struct
101 struct hash_obj *next; argument
102 struct hash_obj *prev; argument
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c71 add_hashobject_to_hashtable(hash_obj_t *hash_obj) in add_hashobject_to_hashtable() argument
76 hash_obj->obj_hdl = ++handle_count; /* store the handle */ in add_hashobject_to_hashtable()
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()
84 if (hash_obj->next != NULL) { in add_hashobject_to_hashtable()
85 hash_obj->next->prev = hash_obj; in add_hashobject_to_hashtable()
93 hash_obj_t *hash_obj; in create_container_hash_object() local
101 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()
102 if (hash_obj == NULL) { in create_container_hash_object()
[all …]
H A Dfru_access_impl.h143 struct hash_obj;
153 struct hash_obj *next;
162 struct hash_obj *pkt_obj_list; /* packet object list */
163 struct hash_obj *next;
172 struct hash_obj *seg_obj_list; /* points to segment objects list */
173 struct hash_obj *next;
180 struct hash_obj *sec_obj_list; /* points to section objects list */
184 typedef struct hash_obj { struct
193 struct hash_obj *next; argument
194 struct hash_obj *prev; argument
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access_impl.h147 struct hash_obj;
157 struct hash_obj *next;
166 struct hash_obj *pkt_obj_list; /* packet object list */
167 struct hash_obj *next;
176 struct hash_obj *seg_obj_list; /* points to segment objects list */
177 struct hash_obj *next;
184 struct hash_obj *sec_obj_list; /* points to section objects list */
188 typedef struct hash_obj { struct
197 struct hash_obj *next; argument
198 struct hash_obj *prev; argument
H A Dfru_access.c82 hash_obj_t *hash_obj; in create_container_hash_object() local
90 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()
91 if (hash_obj == NULL) { in create_container_hash_object()
98 hash_obj->object_type = CONTAINER_TYPE; in create_container_hash_object()
99 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
100 hash_obj->next = NULL; in create_container_hash_object()
101 hash_obj->prev = NULL; in create_container_hash_object()
103 return (hash_obj); in create_container_hash_object()
111 hash_obj_t *hash_obj; in create_section_hash_object() local
119 hash_obj = malloc(sizeof (hash_obj_t)); in create_section_hash_object()
[all …]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A D_crle.h42 typedef struct hash_obj Hash_obj;
56 struct hash_obj { struct
/illumos-gate/usr/src/lib/libpicltree/
H A Dptree_impl.h92 #define hash_obj u.data macro
H A Dpicltree.c433 n->hash_obj = obj_val; in hash_newobj()
557 return (tmp->hash_obj); in hash_lookup_obj()