Searched refs:nread (Results 1 – 4 of 4) sorted by relevance
201 ssize_t nread; in bt_bmc_read() local232 nread = min_t(ssize_t, len, sizeof(kbuffer) - len_byte); in bt_bmc_read()234 bt_readn(bt_bmc, kbuffer + len_byte, nread); in bt_bmc_read()236 if (copy_to_user(buf, kbuffer, nread + len_byte)) { in bt_bmc_read()240 len -= nread; in bt_bmc_read()241 buf += nread + len_byte; in bt_bmc_read()242 ret += nread + len_byte; in bt_bmc_read()
633 u8 status, nread = 128; in __c2port_read_flash_data() local640 if (ops->block_size * ops->blocks_num - offset < nread) in __c2port_read_flash_data()641 nread = ops->block_size * ops->blocks_num - offset; in __c2port_read_flash_data()642 if (count < nread) in __c2port_read_flash_data()643 nread = count; in __c2port_read_flash_data()644 if (nread == 0) in __c2port_read_flash_data()645 return nread; in __c2port_read_flash_data()686 c2port_write_dr(dev, nread); in __c2port_read_flash_data()706 for (i = 0; i < nread; i++) { in __c2port_read_flash_data()716 return nread; in __c2port_read_flash_data()
2256 u64 nread = 0; in reada_for_search() local2302 nread += blocksize; in reada_for_search()2305 if ((nread > 65536 || nscan > 32)) in reada_for_search()
8375 int nread = 0; in reada_walk_down() local8390 if (nread >= wc->reada_count) in reada_walk_down()8435 nread++; in reada_walk_down()