Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c912 hash_obj_t *seg_hash; in get_section() local
988 seg_hash = create_segment_hash_object(); in get_section()
989 if (seg_hash == NULL) { in get_section()
993 add_hashobject_to_hashtable(seg_hash); in get_section()
995 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
997 add_to_seg_object_list(sec_hash, seg_hash); in get_section()
1229 hash_obj_t *seg_hash; in fru_add_segment() local
1255 seg_hash = sec_hash->u.sec_obj->seg_obj_list; in fru_add_segment()
1256 while (seg_hash != NULL) { in fru_add_segment()
1257 if (strncmp(segment->name, seg_hash->u.seg_obj->segment.name, in fru_add_segment()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c959 hash_obj_t *seg_hash; in get_section() local
1059 seg_hash = create_segment_hash_object(); in get_section()
1060 if (seg_hash == NULL) { in get_section()
1064 add_hashobject_to_hashtable(seg_hash); in get_section()
1066 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
1068 add_to_seg_object_list(sec_hash, seg_hash); in get_section()
1301 hash_obj_t *seg_hash; in fru_add_segment() local
1327 seg_hash = sec_hash->u.sec_obj->seg_obj_list; in fru_add_segment()
1328 while (seg_hash != NULL) { in fru_add_segment()
1329 if (strncmp(segment->name, seg_hash->u.seg_obj->segment.name, in fru_add_segment()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c579 hash_obj_t *seg_hash; in ipmi_fru_get_segments() local
591 seg_hash = sec_object->u.sec_obj->seg_obj_list; in ipmi_fru_get_segments()
594 seg_hash != NULL; count++, segment++) { in ipmi_fru_get_segments()
596 segment->handle = seg_hash->u.seg_obj->segment.handle; in ipmi_fru_get_segments()
597 (void) memcpy(segment->name, seg_hash->u.seg_obj->segment.name, in ipmi_fru_get_segments()
599 segment->descriptor = seg_hash->u.seg_obj->segment.descriptor; in ipmi_fru_get_segments()
600 segment->offset = seg_hash->u.seg_obj->segment.offset; in ipmi_fru_get_segments()
601 segment->length = seg_hash->u.seg_obj->segment.length; in ipmi_fru_get_segments()
602 seg_hash = seg_hash->u.seg_obj->next; in ipmi_fru_get_segments()
656 hash_obj_t *seg_hash; in ipmi_fru_read_segment() local
[all …]
/titanic_41/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 …]
/titanic_41/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 …]