Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c602 section_layout_t sec_hdr; in get_section() local
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()
659 (void) memcpy(buffer, &sec_hdr, sizeof (sec_hdr)); in get_section()
[all …]
H A Dfru_access_impl.h74 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_flash_utils.c105 void *sec_hdr; in update_headers() local
118 sec_hdr = sec_info->sec_data + sec_hdr_start_addr; in update_headers()
120 flash_hdr = (struct cudbg_flash_hdr *)(sec_hdr); in update_headers()
134 memcpy((void *)((char *)sec_hdr + hdr_offset), in update_headers()
137 memcpy((void *)((char *)sec_hdr + in update_headers()
148 entity_hdr = (struct cudbg_entity_hdr *)((char *)sec_hdr + in update_headers()
154 cudbg_hdr = (struct cudbg_hdr *)((char *)sec_hdr + in update_headers()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access_impl.h78 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
H A Dfru_access.c960 section_layout_t sec_hdr; in get_section() local
980 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section()
985 retval = get_sp_sec_hdr(&sec_hdr, sizeof (sec_hdr)); in get_section()
992 if (retval != sizeof (sec_hdr)) { in get_section()
998 if ((sec_hdr.headertag != SECTION_HDR_TAG) && in get_section()
1004 size = sizeof (sec_hdr) + ((sec_hdr.segmentcount) * in get_section()
1013 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section()
1022 sec_obj->section.offset + sizeof (sec_hdr)); in get_section()
1034 if (retval != (size - sizeof (sec_hdr))) { in get_section()
1039 (void) memcpy(buffer, &sec_hdr, sizeof (sec_hdr)); in get_section()
[all …]
H A Dcvrt_spd_data.c43 get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len) in get_sp_sec_hdr() argument
47 (void) memcpy(sec_hdr, sp_sec_hdr, sizeof (sp_sec_hdr)); in get_sp_sec_hdr()
H A Dspd_data.h37 size_t get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c95 db_pci_header_t sec_hdr; member
1501 &pci_data.sec_hdr, DB_PCONF_SEC_HDR_OFF); in db_ioctl()