Searched refs:left_to_read (Results 1 – 3 of 3) sorted by relevance
709 size_t left_to_read = *length; in nand_read_skip_bad() local750 while (left_to_read > 0) { in nand_read_skip_bad()763 if (left_to_read < (mtd->erasesize - block_offset)) in nand_read_skip_bad()764 read_length = left_to_read; in nand_read_skip_bad()772 *length -= left_to_read; in nand_read_skip_bad()776 left_to_read -= read_length; in nand_read_skip_bad()
139 const size_t left_to_read = max_payload - payload_read; in ReadVariableWidthInternal() local140 if (reader->ReadBits(&bits, left_to_read) != left_to_read) return false; in ReadVariableWidthInternal()