Searched refs:min_bytes_to_read (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/char/pcmcia/
H A Dcm4040_cs.c222 size_t min_bytes_to_read; cm4040_read() local
265 min_bytes_to_read = min(count, bytes_to_read + 5);
266 min_bytes_to_read = min_t(size_t, min_bytes_to_read, READ_WRITE_BUFFER_SIZE);
268 DEBUGP(6, dev, "Min=%zu\n", min_bytes_to_read);
270 for (i = 0; i < (min_bytes_to_read-5); i++) {
288 *ppos = min_bytes_to_read;
289 if (copy_to_user(buf, dev->r_buf, min_bytes_to_read))
314 return min_bytes_to_read;

Completed in 45 milliseconds