Searched refs:sec_hdr (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/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)
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | cudbg_flash_utils.c | 105 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 D | fru_access_impl.h | 78 (sec_hdr.headerversion[1]|sec_hdr.headerversion[0] << 8)
|
H A D | fru_access.c | 960 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() 1021 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 1022 sec_obj->section.offset + sizeof (sec_hdr)); in get_section() 1027 get_sp_seg_hdr(seg_buf, size - sizeof (sec_hdr)); in get_section() [all …]
|
H A D | cvrt_spd_data.c | 43 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 D | spd_data.h | 37 size_t get_sp_sec_hdr(void *sec_hdr, size_t sec_hdr_len);
|
/illumos-gate/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()
|