Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c951 get_section(int fd, hash_obj_t *sec_hash, section_t *section) in get_section() argument
964 sec_obj = sec_hash->u.sec_obj; in get_section()
970 section->handle = sec_hash->obj_hdl; in get_section()
1066 add_to_seg_object_list(sec_hash, seg_hash); in get_section()
1126 hash_obj_t *sec_hash; in fru_get_sections() local
1138 sec_hash = cont_object->u.cont_obj->sec_obj_list; in fru_get_sections()
1139 if (sec_hash == NULL) { in fru_get_sections()
1159 get_section(device_fd, sec_hash, section); in fru_get_sections()
1160 sec_hash = sec_hash->u.sec_obj->next; in fru_get_sections()
1298 hash_obj_t *sec_hash; in fru_add_segment() local
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c294 free_segment_hash(handle_t handle, hash_obj_t *sec_hash) in free_segment_hash() argument
299 seg_hash = sec_hash->u.sec_obj->seg_obj_list; in free_segment_hash()
305 sec_hash->u.sec_obj->seg_obj_list = seg_hash->u.seg_obj->next; in free_segment_hash()
593 get_section(raw_list_t *rawlist, hash_obj_t *sec_hash, section_t *section) in get_section() argument
606 sec_obj = sec_hash->u.sec_obj; in get_section()
612 section->handle = sec_hash->obj_hdl; in get_section()
677 if (sec_hash->u.sec_obj->seg_obj_list != NULL) { in get_section()
690 add_to_seg_object_list(sec_hash, seg_hash); in get_section()
704 hash_obj_t *sec_hash; in fru_get_sections() local
715 sec_hash = cont_object->u.cont_obj->sec_obj_list; in fru_get_sections()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c2053 free_section_node(hash_obj_t *sec_hash, container_tbl_t *cont_tbl) in free_section_node() argument
2057 for (seg_hash = sec_hash->u.sec_node->segment_list; seg_hash != NULL; in free_section_node()
2062 if (sec_hash->prev == NULL) { in free_section_node()
2063 cont_tbl->hash_obj[(sec_hash->picl_hdl % TABLE_SIZE)].next = in free_section_node()
2064 sec_hash->next; in free_section_node()
2065 if (sec_hash->next != NULL) { in free_section_node()
2066 sec_hash->next->prev = NULL; in free_section_node()
2069 sec_hash->prev->next = sec_hash->next; in free_section_node()
2070 if (sec_hash->next != NULL) { in free_section_node()
2071 sec_hash->next->prev = sec_hash->prev; in free_section_node()
[all …]