Home
last modified time | relevance | path

Searched refs:nread (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/char/ipmi/
Dbt-bmc.c201 ssize_t nread; in bt_bmc_read() local
232 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()
/linux-4.19.296/drivers/misc/c2port/
Dcore.c633 u8 status, nread = 128; in __c2port_read_flash_data() local
640 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()
/linux-4.19.296/fs/btrfs/
Dctree.c2256 u64 nread = 0; in reada_for_search() local
2302 nread += blocksize; in reada_for_search()
2305 if ((nread > 65536 || nscan > 32)) in reada_for_search()
Dextent-tree.c8375 int nread = 0; in reada_walk_down() local
8390 if (nread >= wc->reada_count) in reada_walk_down()
8435 nread++; in reada_walk_down()