Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c957 hash_obj_t *seg_hash; in get_section() local
1057 seg_hash = create_segment_hash_object(); in get_section()
1058 if (seg_hash == NULL) { in get_section()
1062 add_hashobject_to_hashtable(seg_hash); in get_section()
1064 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
1066 add_to_seg_object_list(sec_hash, seg_hash); in get_section()
1299 hash_obj_t *seg_hash; in fru_add_segment() local
1325 seg_hash = sec_hash->u.sec_obj->seg_obj_list; in fru_add_segment()
1326 while (seg_hash != NULL) { in fru_add_segment()
1327 if (strncmp(segment->name, seg_hash->u.seg_obj->segment.name, in fru_add_segment()
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c296 hash_obj_t *seg_hash; in free_segment_hash() local
299 seg_hash = sec_hash->u.sec_obj->seg_obj_list; in free_segment_hash()
300 if (seg_hash == NULL) { in free_segment_hash()
304 if (seg_hash->obj_hdl == handle) { in free_segment_hash()
305 sec_hash->u.sec_obj->seg_obj_list = seg_hash->u.seg_obj->next; in free_segment_hash()
307 while (seg_hash->obj_hdl != handle) { in free_segment_hash()
308 next_hash = seg_hash; in free_segment_hash()
309 seg_hash = seg_hash->u.seg_obj->next; in free_segment_hash()
310 if (seg_hash == NULL) { in free_segment_hash()
314 next_hash->u.seg_obj->next = seg_hash->u.seg_obj->next; in free_segment_hash()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c634 hash_obj_t *seg_hash; in frudata_delete_segment() local
710 seg_hash = hash_obj->u.sec_node->segment_list; in frudata_delete_segment()
711 if (seg_hash == NULL) { in frudata_delete_segment()
720 seg_hash = seg_hash->u.seg_node->next; in frudata_delete_segment()
725 seg_hash = seg_hash->u.seg_node->next; in frudata_delete_segment()
731 seg_hash->u.seg_node->segment_hdl = seg_buffer[count].handle; in frudata_delete_segment()
736 seg_hash = seg_hash->u.seg_node->next; in frudata_delete_segment()
749 seg_hash = seg_hash->u.seg_node->next; in frudata_delete_segment()
753 pkt_hash = seg_hash->u.seg_node->packet_list; in frudata_delete_segment()
755 seg_hash = seg_hash->u.seg_node->next; in frudata_delete_segment()
[all …]