Searched defs:sec_hdr (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcvrt_spd_data.c39 * sec_hdr buffer to receive section header
40 * sec_hdr_len size of buffer sec_hdr
45 get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len) argument
49 (void) memcpy(sec_hdr, sp_sec_hdr, sizeof (sp_sec_hdr));
H A Dfru_access.c962 section_layout_t sec_hdr; local
982 retval = pread(fd, &sec_hdr, sizeof (sec_hdr),
987 retval = get_sp_sec_hdr(&sec_hdr, sizeof (sec_hdr));
994 if (retval != sizeof (sec_hdr)) {
1000 if ((sec_hdr.headertag != SECTION_HDR_TAG) &&
1006 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) *
1015 seg_buf = alloca(size - sizeof (sec_hdr));
[all...]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c602 section_layout_t sec_hdr; local
619 retval = raw_memcpy(&sec_hdr, rawlist, sec_obj->section.offset,
620 sizeof (sec_hdr));
622 if (retval != sizeof (sec_hdr)) {
629 if ((sec_hdr.headertag != SECTION_HDR_TAG) &&
635 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount)
644 seg_buf = alloca(size - sizeof (sec_hdr));
651 sec_obj->section.offset + sizeof (sec_hdr),
652 size - sizeof (sec_hdr));
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c915 section_layout_t sec_hdr; local
933 retval = pread(fd, &sec_hdr, sizeof (sec_hdr),
935 if (retval != sizeof (sec_hdr)) {
941 if ((sec_hdr.headertag != SECTION_HDR_TAG) &&
947 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount)
956 seg_buf = alloca(size - sizeof (sec_hdr));
962 retval = pread(fd, seg_buf, size - sizeof (sec_hdr),
963 sec_obj->section.offset + sizeof (sec_hdr));
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c1380 section_layout_t sec_hdr; local
1407 retval = pread_new(fd, &sec_hdr, sizeof (sec_hdr),
1409 if (retval != sizeof (sec_hdr)) {
1415 if ((sec_hdr.headertag != SECTION_HDR_TAG) &&
1421 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount)
1429 seg_buf = alloca(size - sizeof (sec_hdr));
1435 retval = pread_new(fd, seg_buf, size - sizeof (sec_hdr),
1436 sec_obj->section.offset + sizeof (sec_hdr),
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c95 db_pci_header_t sec_hdr; member in struct:db_pci_data
1501 &pci_data.sec_hdr, DB_PCONF_SEC_HDR_OFF);

Completed in 248 milliseconds