Home
last modified time | relevance | path

Searched refs:num_of_segment (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c375 sec_node->num_of_segment = -1; in alloc_section_node_object()
628 int num_of_segment; in frudata_delete_segment() local
687 hash_obj->u.sec_node->num_of_segment = 0; in frudata_delete_segment()
690 num_of_segment = fru_get_num_segments(new_sec_acc_hdl, &warg->cred); in frudata_delete_segment()
691 if (num_of_segment <= 0) { in frudata_delete_segment()
696 seg_buffer = alloca(sizeof (segment_t) * num_of_segment); in frudata_delete_segment()
704 num_of_segment, &warg->cred); in frudata_delete_segment()
717 for (count = 0; count < num_of_segment; count++) { in frudata_delete_segment()
729 hash_obj->u.sec_node->num_of_segment++; in frudata_delete_segment()
1544 int num_of_segment; in frudata_read_segment() local
[all …]
H A Dfru_data_impl.h83 int num_of_segment; /* number of segment */ member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access_impl.h172 int num_of_segment; /* in a section */ member
H A Dfru_access.c930 sec_obj->num_of_segment = 0; in get_section()
999 sec_obj->num_of_segment++; in get_section()
1128 return (sec_obj->num_of_segment); in fru_get_num_segments()
1167 if (sec_obj->num_of_segment > maxseg) { in fru_get_segments()
1176 for (count = 0; count < sec_obj->num_of_segment; count++) { in fru_get_segments()
1397 sec_hash->u.sec_obj->num_of_segment += 1; in fru_add_segment()
1536 num_of_seg = sec_hash->u.sec_obj->num_of_segment; in fru_delete_segment()
1590 for (count = segnum; count < sec_hash->u.sec_obj->num_of_segment-1; in fru_delete_segment()
1637 sec_hash->u.sec_obj->num_of_segment = sec_layout->segmentcount; in fru_delete_segment()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access_impl.h177 int num_of_segment; /* in a section */ member
H A Dfru_access.c977 sec_obj->num_of_segment = 0; in get_section()
1070 sec_obj->num_of_segment++; in get_section()
1200 return (sec_obj->num_of_segment); in fru_get_num_segments()
1239 if (sec_obj->num_of_segment > maxseg) { in fru_get_segments()
1248 for (count = 0; count < sec_obj->num_of_segment; count++) { in fru_get_segments()
1469 sec_hash->u.sec_obj->num_of_segment += 1; in fru_add_segment()
1610 num_of_seg = sec_hash->u.sec_obj->num_of_segment; in fru_delete_segment()
1664 count < sec_hash->u.sec_obj->num_of_segment - 1; count++) { in fru_delete_segment()
1708 sec_hash->u.sec_obj->num_of_segment = sec_layout->segmentcount; in fru_delete_segment()
/titanic_50/usr/src/lib/libfru/libfruraw/
H A Dfru_access_impl.h171 int num_of_segment; /* in a section */ member
H A Draw_access.c528 if (sec_obj->num_of_segment > maxseg) { in fru_get_segments()
537 for (count = 0; count < sec_obj->num_of_segment; count++) { in fru_get_segments()
680 sec_obj->num_of_segment = 0; in get_section()
691 sec_obj->num_of_segment++; in get_section()
962 return (sec_obj->num_of_segment); in fru_get_num_segments()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c448 sec_hash_obj->u.sec_obj->num_of_segment = 1; in initialize_ipmi_container()
570 return (sec_object->u.sec_obj->num_of_segment); in ipmi_fru_get_num_segments()
587 if (sec_object->u.sec_obj->num_of_segment > max_segments) { in ipmi_fru_get_segments()
593 for (count = 0; count < sec_object->u.sec_obj->num_of_segment && in ipmi_fru_get_segments()
1397 sec_obj->num_of_segment = 0; in get_section()
1471 sec_obj->num_of_segment++; in get_section()
1564 return (sec_obj->num_of_segment); in sun_fru_get_num_segments()
1602 if (sec_obj->num_of_segment > maxseg) { in sun_fru_get_segments()
1611 for (count = 0; count < sec_obj->num_of_segment; count++) { in sun_fru_get_segments()
1837 sec_hash->u.sec_obj->num_of_segment += 1; in sun_fru_add_segment()
[all …]
H A Dfru_access_impl.h228 int num_of_segment; /* in a section */ member