Lines Matching refs:nbufs
738 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__read_filemap()
764 index < req->fs.info.nbufs && done_read < read_size; in fs__read_filemap()
862 } while (result && index < req->fs.info.nbufs); in fs__read()
908 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__write_filemap()
966 for (index = 0; index < req->fs.info.nbufs; ++index) { in fs__write_filemap()
1067 } while (result && index < req->fs.info.nbufs); in fs__write()
1527 req->fs.info.nbufs = 0; in fs__scandir()
3048 unsigned int nbufs, in uv_fs_read() argument
3053 if (bufs == NULL || nbufs == 0) { in uv_fs_read()
3060 req->fs.info.nbufs = nbufs; in uv_fs_read()
3062 if (nbufs > ARRAY_SIZE(req->fs.info.bufsml)) in uv_fs_read()
3063 req->fs.info.bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_read()
3070 memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs)); in uv_fs_read()
3081 unsigned int nbufs, in uv_fs_write() argument
3086 if (bufs == NULL || nbufs == 0) { in uv_fs_write()
3093 req->fs.info.nbufs = nbufs; in uv_fs_write()
3095 if (nbufs > ARRAY_SIZE(req->fs.info.bufsml)) in uv_fs_write()
3096 req->fs.info.bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_write()
3103 memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs)); in uv_fs_write()