Lines Matching refs:index
710 unsigned int index; in fs__read_filemap() local
738 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__read_filemap()
739 read_size += req->fs.info.bufs[index].len; in fs__read_filemap()
763 for (index = 0; in fs__read_filemap()
764 index < req->fs.info.nbufs && done_read < read_size; in fs__read_filemap()
765 ++index) { in fs__read_filemap()
766 size_t this_read_size = MIN(req->fs.info.bufs[index].len, in fs__read_filemap()
772 memcpy(req->fs.info.bufs[index].base, in fs__read_filemap()
811 unsigned int index; in fs__read() local
844 index = 0; in fs__read()
856 req->fs.info.bufs[index].base, in fs__read()
857 req->fs.info.bufs[index].len, in fs__read()
861 ++index; in fs__read()
862 } while (result && index < req->fs.info.nbufs); in fs__read()
891 unsigned int index; in fs__write_filemap() local
908 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__write_filemap()
909 write_size += req->fs.info.bufs[index].len; in fs__write_filemap()
966 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__write_filemap()
972 req->fs.info.bufs[index].base, in fs__write_filemap()
973 req->fs.info.bufs[index].len); in fs__write_filemap()
983 done_write += req->fs.info.bufs[index].len; in fs__write_filemap()
1017 unsigned int index; in fs__write() local
1049 index = 0; in fs__write()
1061 req->fs.info.bufs[index].base, in fs__write()
1062 req->fs.info.bufs[index].len, in fs__write()
1066 ++index; in fs__write()
1067 } while (result && index < req->fs.info.nbufs); in fs__write()