Home
last modified time | relevance | path

Searched refs:seg_hdr (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcvrt_spd_data.c63 get_sp_seg_hdr(void *seg_hdr, size_t seg_hdr_len) in get_sp_seg_hdr() argument
67 (void) memcpy(seg_hdr, sp_seg_hdr, sizeof (sp_seg_hdr)); in get_sp_seg_hdr()
H A Dspd_data.h40 size_t get_sp_seg_hdr(void *seg_hdr, size_t seg_hdr_len);
H A Dfru_access.c963 segment_layout_t *seg_hdr; in get_section() local
1056 seg_hdr = (segment_layout_t *)seg_buf; in get_section()
1058 for (count = 0; count < sec_hdr.segmentcount; count++, seg_hdr++) { in get_section()
1066 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvd.c879 seeprom_seg_t seg_hdr; in envd_es_setup() local
915 if (read(fd, &seg_hdr, sizeof (seg_hdr)) != sizeof (seg_hdr)) { in envd_es_setup()
924 GET_UNALIGN16(&seg_hdr.sseg_name), in envd_es_setup()
925 GET_UNALIGN16(&seg_hdr.sseg_off), in envd_es_setup()
926 GET_UNALIGN16(&seg_hdr.sseg_len)); in envd_es_setup()
929 if (GET_UNALIGN16(&seg_hdr.sseg_name) == ENVSEG_NAME) in envd_es_setup()
941 envseg_len = GET_UNALIGN16(&seg_hdr.sseg_len); in envd_es_setup()
948 if (lseek(fd, (off_t)GET_UNALIGN16(&seg_hdr.sseg_off), in envd_es_setup()
/titanic_41/usr/src/lib/libfru/libfruraw/
H A Draw_access.c603 segment_layout_t *seg_hdr; in get_section() local
674 seg_hdr = (segment_layout_t *)seg_buf; in get_section()
682 for (count = 0; count < sec_hdr.segmentcount; count++, seg_hdr++) { in get_section()
689 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_dbg.c1756 ql_build_coredump_seg_header(mpi_coredump_segment_header_t *seg_hdr, in ql_build_coredump_seg_header() argument
1759 (void) memset(seg_hdr, 0, sizeof (mpi_coredump_segment_header_t)); in ql_build_coredump_seg_header()
1760 seg_hdr->cookie = MPI_COREDUMP_COOKIE; in ql_build_coredump_seg_header()
1761 seg_hdr->seg_number = seg_number; in ql_build_coredump_seg_header()
1762 seg_hdr->seg_size = seg_size; in ql_build_coredump_seg_header()
1763 (void) memcpy(seg_hdr->description, desc, in ql_build_coredump_seg_header()
1764 (sizeof (seg_hdr->description))-1); in ql_build_coredump_seg_header()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c916 segment_layout_t *seg_hdr; in get_section() local
985 seg_hdr = (segment_layout_t *)seg_buf; in get_section()
987 for (count = 0; count < sec_hdr.segmentcount; count++, seg_hdr++) { in get_section()
995 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c1381 segment_layout_t *seg_hdr; in get_section() local
1457 seg_hdr = (segment_layout_t *)seg_buf; in get_section()
1459 for (count = 0; count < sec_hdr.segmentcount; count++, seg_hdr++) { in get_section()
1467 copy_segment_layout(&seg_hash->u.seg_obj->segment, seg_hdr); in get_section()