Searched refs:restlen (Results 1 – 2 of 2) sorted by relevance
602 int restlen = ic->parm.dss1_io.datalen; in interrogate_success() local607 if (restlen < 2) return (-100); /* frame too short */ in interrogate_success()610 restlen -= 2; /* remaining bytes */ in interrogate_success()612 { if (restlen < 2) return (-103); in interrogate_success()613 if ((*(src + restlen - 1)) || (*(src + restlen - 2))) return (-104); in interrogate_success()614 restlen -= 2; in interrogate_success()619 restlen--; in interrogate_success()620 if (n > restlen) return (-105); in interrogate_success()621 restlen = n; in interrogate_success()624 if (n > restlen) return (-106); in interrogate_success()[all …]
1756 unsigned int restlen, sentlen; in nsp32_adjust_busfree() local1788 restlen = sentlen - s_sacklen; in nsp32_adjust_busfree()1793 addr += (len - restlen); in nsp32_adjust_busfree()1795 sgt[new_entry].len = cpu_to_le32(restlen); in nsp32_adjust_busfree()