Lines Matching refs:remaining
338 uint32_t remaining, txlen; in bmilz_data() local
359 remaining = length; in bmilz_data()
360 while (remaining) { in bmilz_data()
361 txlen = (remaining < (BMI_DATASZ_MAX - header)) ? in bmilz_data()
362 remaining : (BMI_DATASZ_MAX - header); in bmilz_data()
369 &buffer[length - remaining], txlen); in bmilz_data()
379 remaining -= txlen; in bmilz_data()
399 uint32_t remaining, txlen; in bmi_sign_stream_start() local
415 remaining = length; in bmi_sign_stream_start()
416 while (remaining) { in bmi_sign_stream_start()
417 src = &buffer[length - remaining]; in bmi_sign_stream_start()
418 if (remaining < (BMI_DATASZ_MAX - header)) { in bmi_sign_stream_start()
419 if (remaining & 0x3) { in bmi_sign_stream_start()
420 memcpy(aligned_buf, src, remaining); in bmi_sign_stream_start()
421 remaining = remaining + (4 - (remaining & 0x3)); in bmi_sign_stream_start()
424 txlen = remaining; in bmi_sign_stream_start()
447 remaining -= txlen; in bmi_sign_stream_start()