Searched refs:seg_buf (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 964 segment_layout_t *seg_buf; in get_section() local 1015 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 1016 if (seg_buf == NULL) { in get_section() 1023 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 1029 get_sp_seg_hdr(seg_buf, size - sizeof (sec_hdr)); in get_section() 1044 (void) memcpy(buffer + sizeof (sec_hdr), seg_buf, size - in get_section() 1056 seg_hdr = (segment_layout_t *)seg_buf; in get_section() 1577 segment_layout_t *seg_buf; in fru_delete_segment() local 1614 seg_buf = alloca(bufsize); in fru_delete_segment() 1615 if (seg_buf == NULL) { in fru_delete_segment() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 917 segment_layout_t *seg_buf; in get_section() local 956 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 957 if (seg_buf == NULL) { in get_section() 962 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 972 (void) memcpy(buffer + sizeof (sec_hdr), seg_buf, size - in get_section() 985 seg_hdr = (segment_layout_t *)seg_buf; in get_section() 1503 segment_layout_t *seg_buf; in fru_delete_segment() local 1540 seg_buf = alloca(bufsize); in fru_delete_segment() 1541 if (seg_buf == NULL) { in fru_delete_segment() 1580 retval = pread(fd, seg_buf, bufsize, in fru_delete_segment() [all …]
|
/titanic_41/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 604 segment_layout_t *seg_buf; in get_section() local 644 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 645 if (seg_buf == NULL) { in get_section() 650 retval = raw_memcpy(seg_buf, rawlist, in get_section() 662 (void) memcpy(buffer + sizeof (sec_hdr), seg_buf, size - in get_section() 674 seg_hdr = (segment_layout_t *)seg_buf; in get_section()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | libfruaccess.c | 1382 segment_layout_t *seg_buf; in get_section() local 1429 seg_buf = alloca(size - sizeof (sec_hdr)); in get_section() 1430 if (seg_buf == NULL) { in get_section() 1435 retval = pread_new(fd, seg_buf, size - sizeof (sec_hdr), in get_section() 1445 (void) memcpy(buffer + sizeof (sec_hdr), seg_buf, size - in get_section() 1457 seg_hdr = (segment_layout_t *)seg_buf; in get_section() 1871 segment_layout_t *seg_buf; in sun_fru_delete_segment() local 1909 seg_buf = alloca(bufsize); in sun_fru_delete_segment() 1910 if (seg_buf == NULL) { in sun_fru_delete_segment() 1950 retval = pread_new(fd, seg_buf, bufsize, in sun_fru_delete_segment() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 1641 segment_t *seg_buf; in frudata_add_segment() local 1686 seg_buf = alloca(sizeof (segment_t) * num_of_segment); in frudata_add_segment() 1687 if (seg_buf == NULL) { in frudata_add_segment() 1692 retval = fru_get_segments(new_sec_acc_hdl, seg_buf, in frudata_add_segment() 1699 segment.offset = seg_buf[(num_of_segment -1)].offset; in frudata_add_segment() 1700 segment.handle = seg_buf[(num_of_segment-1)].handle; in frudata_add_segment() 1715 desc = (fru_segdesc_t *)&seg_buf[cnt].descriptor; in frudata_add_segment() 1726 seg_buf[cnt].handle; in frudata_add_segment()
|