Searched refs:sec_hdr (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 602 section_layout_t sec_hdr; in get_section() local 619 retval = raw_memcpy(&sec_hdr, rawlist, sec_obj->section.offset, in get_section() 620 sizeof (sec_hdr)); in get_section() 622 if (retval != sizeof (sec_hdr)) { in get_section() 629 if ((sec_hdr.headertag != SECTION_HDR_TAG) && in get_section() 635 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) in get_section() 644 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 651 sec_obj->section.offset + sizeof (sec_hdr), in get_section() 652 size - sizeof (sec_hdr)); in get_section() 654 if (retval != (size - sizeof (sec_hdr))) { in get_section() [all …]
|
H A D | fru_access_impl.h | 74 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access_impl.h | 82 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
|
H A D | fru_access.c | 915 section_layout_t sec_hdr; in get_section() local 933 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section() 935 if (retval != sizeof (sec_hdr)) { in get_section() 941 if ((sec_hdr.headertag != SECTION_HDR_TAG) && in get_section() 947 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) in get_section() 956 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 962 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 963 sec_obj->section.offset + sizeof (sec_hdr)); in get_section() 964 if (retval != (size - sizeof (sec_hdr))) { in get_section() 969 (void) memcpy(buffer, &sec_hdr, sizeof (sec_hdr)); in get_section() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access_impl.h | 80 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
|
H A D | fru_access.c | 962 section_layout_t sec_hdr; in get_section() local 982 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section() 987 retval = get_sp_sec_hdr(&sec_hdr, sizeof (sec_hdr)); in get_section() 994 if (retval != sizeof (sec_hdr)) { in get_section() 1000 if ((sec_hdr.headertag != SECTION_HDR_TAG) && in get_section() 1006 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) * in get_section() 1015 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 1023 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 1024 sec_obj->section.offset + sizeof (sec_hdr)); in get_section() 1029 get_sp_seg_hdr(seg_buf, size - sizeof (sec_hdr)); in get_section() [all …]
|
H A D | cvrt_spd_data.c | 45 get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len) in get_sp_sec_hdr() argument 49 (void) memcpy(sec_hdr, sp_sec_hdr, sizeof (sp_sec_hdr)); in get_sp_sec_hdr()
|
H A D | spd_data.h | 39 size_t get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len);
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | fru_access_impl.h | 134 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
|
H A D | libfruaccess.c | 1380 section_layout_t sec_hdr; in get_section() local 1407 retval = pread_new(fd, &sec_hdr, sizeof (sec_hdr), in get_section() 1409 if (retval != sizeof (sec_hdr)) { in get_section() 1415 if ((sec_hdr.headertag != SECTION_HDR_TAG) && in get_section() 1421 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) in get_section() 1429 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 1435 retval = pread_new(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 1436 sec_obj->section.offset + sizeof (sec_hdr), &format); in get_section() 1437 if (retval != (size - sizeof (sec_hdr))) { in get_section() 1442 (void) memcpy(buffer, &sec_hdr, sizeof (sec_hdr)); in get_section() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 95 db_pci_header_t sec_hdr; member 1501 &pci_data.sec_hdr, DB_PCONF_SEC_HDR_OFF); in db_ioctl()
|