Searched refs:num_read (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/iio/accel/ |
H A D | sca3000_ring.c | 87 int ret, i, num_available, num_read = 0; sca3000_read_first_n_hw_rb() local 109 num_read = num_available * bytes_per_sample; sca3000_read_first_n_hw_rb() 111 num_read = count; sca3000_read_first_n_hw_rb() 115 &rx, num_read); sca3000_read_first_n_hw_rb() 119 for (i = 0; i < num_read / sizeof(u16); i++) sca3000_read_first_n_hw_rb() 122 if (copy_to_user(buf, rx, num_read)) sca3000_read_first_n_hw_rb() 129 return ret ? ret : num_read; sca3000_read_first_n_hw_rb()
|
/linux-4.4.14/fs/fuse/ |
H A D | file.c | 676 size_t num_read = req->out.args[0].size; fuse_short_read() local 686 int start_idx = num_read >> PAGE_CACHE_SHIFT; fuse_short_read() 687 size_t off = num_read & (PAGE_CACHE_SIZE - 1); fuse_short_read() 694 loff_t pos = page_offset(req->pages[0]) + num_read; fuse_short_read() 705 size_t num_read; fuse_do_readpage() local 729 num_read = fuse_send_read(req, &io, pos, count, NULL); fuse_do_readpage() 736 if (num_read < count) fuse_do_readpage() 767 size_t num_read = req->out.args[0].size; fuse_readpages_end() local 779 if (!req->out.h.error && num_read < count) fuse_readpages_end()
|
/linux-4.4.14/fs/btrfs/ |
H A D | send.c | 4524 ssize_t num_read = 0; send_write() local 4532 num_read = fill_read_buf(sctx, offset, len); send_write() 4533 if (num_read <= 0) { send_write() 4534 if (num_read < 0) send_write() 4535 ret = num_read; send_write() 4549 TLV_PUT(sctx, BTRFS_SEND_A_DATA, sctx->read_buf, num_read); send_write() 4558 return num_read; send_write()
|
Completed in 204 milliseconds