Home
last modified time | relevance | path

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

/titanic_41/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.h63 struct hash_obj;
69 struct hash_obj *next;
76 struct hash_obj *packet_list;
77 struct hash_obj *next;
84 struct hash_obj *segment_list;
85 struct hash_obj *next;
91 struct hash_obj *section_list;
94 typedef struct hash_obj { struct
103 struct hash_obj *next; argument
104 struct hash_obj *prev; argument
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c225 hash_obj_t *hash_obj; in create_container_hash_object() local
233 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()
234 if (hash_obj == NULL) { in create_container_hash_object()
241 hash_obj->object_type = CONTAINER_TYPE; in create_container_hash_object()
242 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
243 hash_obj->next = NULL; in create_container_hash_object()
244 hash_obj->prev = NULL; in create_container_hash_object()
246 return (hash_obj); in create_container_hash_object()
253 hash_obj_t *hash_obj; in create_section_hash_object() local
261 hash_obj = malloc(sizeof (hash_obj_t)); in create_section_hash_object()
[all …]
H A Dfru_access_impl.h200 struct hash_obj;
211 struct hash_obj *next;
220 struct hash_obj *pkt_obj_list; /* packet object list */
221 struct hash_obj *next;
229 struct hash_obj *seg_obj_list; /* points to segment objects list */
230 struct hash_obj *next;
238 struct hash_obj *sec_obj_list; /* points to section objects list */
242 typedef struct hash_obj { struct
251 struct hash_obj *next; argument
252 struct hash_obj *prev; argument
/titanic_41/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
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access_impl.h146 struct hash_obj;
155 struct hash_obj *next;
164 struct hash_obj *pkt_obj_list; /* packet object list */
165 struct hash_obj *next;
174 struct hash_obj *seg_obj_list; /* points to segment objects list */
175 struct hash_obj *next;
182 struct hash_obj *sec_obj_list; /* points to section objects list */
186 typedef struct hash_obj { struct
195 struct hash_obj *next; argument
196 struct hash_obj *prev; argument
H A Dfru_access.c85 hash_obj_t *hash_obj; in create_container_hash_object() local
93 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()
94 if (hash_obj == NULL) { in create_container_hash_object()
101 hash_obj->object_type = CONTAINER_TYPE; in create_container_hash_object()
102 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
103 hash_obj->next = NULL; in create_container_hash_object()
104 hash_obj->prev = NULL; in create_container_hash_object()
106 return (hash_obj); in create_container_hash_object()
114 hash_obj_t *hash_obj; in create_section_hash_object() local
122 hash_obj = malloc(sizeof (hash_obj_t)); in create_section_hash_object()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access_impl.h149 struct hash_obj;
159 struct hash_obj *next;
168 struct hash_obj *pkt_obj_list; /* packet object list */
169 struct hash_obj *next;
178 struct hash_obj *seg_obj_list; /* points to segment objects list */
179 struct hash_obj *next;
186 struct hash_obj *sec_obj_list; /* points to section objects list */
190 typedef struct hash_obj { struct
199 struct hash_obj *next; argument
200 struct hash_obj *prev; argument
H A Dfru_access.c84 hash_obj_t *hash_obj; in create_container_hash_object() local
92 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()
93 if (hash_obj == NULL) { in create_container_hash_object()
100 hash_obj->object_type = CONTAINER_TYPE; in create_container_hash_object()
101 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()
102 hash_obj->next = NULL; in create_container_hash_object()
103 hash_obj->prev = NULL; in create_container_hash_object()
105 return (hash_obj); in create_container_hash_object()
113 hash_obj_t *hash_obj; in create_section_hash_object() local
121 hash_obj = malloc(sizeof (hash_obj_t)); in create_section_hash_object()
[all …]
/titanic_41/usr/src/cmd/sgs/crle/common/
H A D_crle.h42 typedef struct hash_obj Hash_obj;
56 struct hash_obj { struct
/titanic_41/usr/src/lib/libpicltree/
H A Dptree_impl.h94 #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()