Lines Matching defs:next_portion
653 size_t next_portion;
757 next_portion = BULK_READ_PAGE_SIZE;
760 - bulk_read_state->bytes_available < next_portion)
768 __func__, (u_long) next_portion);
771 &next_portion);
782 if (next_portion != BULK_READ_PAGE_SIZE)
786 __func__, BULK_READ_PAGE_SIZE, (u_long) next_portion);
791 bulk_read_state->buffer_in_ptr += next_portion;
815 bulk_read_state->bytes_available += next_portion;
886 size_t next_portion;
916 next_portion = BULK_WRITE_PAGE_SIZE;
917 if (len < next_portion)
918 next_portion = len;
921 __func__, (u_long) next_portion);
927 ctrl.wLength = htons (next_portion);
943 __func__, (u_long) next_portion);
944 ret = sanei_usb_write_bulk (dn, ptr, &next_portion);
956 len -= next_portion;
957 ptr += next_portion;