Searched refs:seg_limit (Results 1 – 2 of 2) sorted by relevance
797 int seg_limit = 0; in get_packets() local836 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()
1900 int seg_limit = 0; in get_dev_or_buffered_packets() local1936 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()