Lines Matching refs:bufs

739     read_size += req->fs.info.bufs[index].len;  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()
856 req->fs.info.bufs[index].base, in fs__read()
857 req->fs.info.bufs[index].len, in fs__read()
909 write_size += req->fs.info.bufs[index].len; 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()
1061 req->fs.info.bufs[index].base, in fs__write()
1062 req->fs.info.bufs[index].len, in fs__write()
3007 if (req->fs.info.bufs != req->fs.info.bufsml) in uv_fs_req_cleanup()
3008 uv__free(req->fs.info.bufs); in uv_fs_req_cleanup()
3013 req->fs.info.bufs = NULL; in uv_fs_req_cleanup()
3047 const uv_buf_t bufs[], in uv_fs_read() argument
3053 if (bufs == NULL || nbufs == 0) { in uv_fs_read()
3061 req->fs.info.bufs = req->fs.info.bufsml; in uv_fs_read()
3063 req->fs.info.bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_read()
3065 if (req->fs.info.bufs == NULL) { in uv_fs_read()
3070 memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs)); in uv_fs_read()
3080 const uv_buf_t bufs[], in uv_fs_write() argument
3086 if (bufs == NULL || nbufs == 0) { in uv_fs_write()
3094 req->fs.info.bufs = req->fs.info.bufsml; in uv_fs_write()
3096 req->fs.info.bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_write()
3098 if (req->fs.info.bufs == NULL) { in uv_fs_write()
3103 memcpy(req->fs.info.bufs, bufs, nbufs * sizeof(*bufs)); in uv_fs_write()