Lines Matching defs:read_len
390 size_t read_len = dev->erase_size;
397 if(read_len < dev->erase_size) {
399 read_len = dev->erase_size;
402 if(len < read_len)
403 read_len = len;
405 read_len = do_read(dev->fd, dev->data, read_len);
407 safe_memory_rw_debug(current_cpu, data, dev->data, read_len, 1);
408 data += read_len;
409 len -= read_len;