Release 4.11 tools/virtio/ringtest/noring.c
#define _GNU_SOURCE
#include "main.h"
#include <assert.h>
/* stub implementation: useful for measuring overhead */
void alloc_ring(void)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 6 | 100.00% | 1 | 100.00% |
Total | 6 | 100.00% | 1 | 100.00% |
/* guest side */
int add_inbuf(unsigned len, void *buf, void *datap)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
/*
* skb_array API provides no way for producer to find out whether a given
* buffer was consumed. Our tests merely require that a successful get_buf
* implies that add_inbuf succeed in the past, and that add_inbuf will succeed,
* fake it accordingly.
*/
void *get_buf(unsigned *lenp, void **bufp)
{
return "Buffer";
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
bool used_empty()
{
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo Bonzini | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
void disable_call()
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
bool enable_call()
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
void kick_available(void)
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
/* host side */
void disable_kick()
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
bool enable_kick()
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
bool avail_empty()
{
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paolo Bonzini | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
bool use_buf(unsigned *lenp, void **bufp)
{
return true;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
void call_used(void)
{
assert(0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael S. Tsirkin | 137 | 89.54% | 1 | 50.00% |
Paolo Bonzini | 16 | 10.46% | 1 | 50.00% |
Total | 153 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.