Home
last modified time | relevance | path

Searched refs:seg_limit (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c797 int seg_limit = 0; in get_packets() local
836 seg_limit += tag_size; in get_packets()
837 if (seg_limit > length) { in get_packets()
846 seg_limit += paylen; in get_packets()
847 if (seg_limit > length) { in get_packets()
906 crc = get_checksum_crc(seg_hash, seg_limit); in get_packets()
909 retval = raw_memcpy(&origcrc, rawlist, offset + seg_limit + 1, in get_packets()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c1900 int seg_limit = 0; in get_dev_or_buffered_packets() local
1936 seg_limit += tag_size; in get_dev_or_buffered_packets()
1937 if (seg_limit > length) { in get_dev_or_buffered_packets()
1946 seg_limit += paylen; in get_dev_or_buffered_packets()
1947 if (seg_limit > length) { in get_dev_or_buffered_packets()
2021 crc = get_checksum_crc(seg_hash, seg_limit); in get_dev_or_buffered_packets()
2026 offset + seg_limit + 1); in get_dev_or_buffered_packets()
2033 (void) memcpy(&origcrc, buf + seg_limit + 1, in get_dev_or_buffered_packets()