Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xenfb_update |
struct | xenfb_resize |
union | xenfb_out_event |
union | xenfb_in_event |
struct | xenfb_page |
Macros | |
#define | XENFB_TYPE_UPDATE 2 |
#define | XENFB_TYPE_RESIZE 3 |
#define | XENFB_OUT_EVENT_SIZE 40 |
#define | XENFB_IN_EVENT_SIZE 40 |
#define | XENFB_IN_RING_SIZE 1024 |
#define | XENFB_IN_RING_LEN (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE) |
#define | XENFB_IN_RING_OFFS 1024 |
#define | XENFB_IN_RING(page) ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS)) |
#define | XENFB_IN_RING_REF(page, idx) (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN]) |
#define | XENFB_OUT_RING_SIZE 2048 |
#define | XENFB_OUT_RING_LEN (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE) |
#define | XENFB_OUT_RING_OFFS (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE) |
#define | XENFB_OUT_RING(page) ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS)) |
#define | XENFB_OUT_RING_REF(page, idx) (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN]) |
#define XENFB_IN_RING | ( | page | ) | ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS)) |
#define XENFB_IN_RING_LEN (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE) |
#define XENFB_IN_RING_REF | ( | page, | |
idx | |||
) | (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN]) |
#define XENFB_OUT_RING | ( | page | ) | ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS)) |
#define XENFB_OUT_RING_LEN (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE) |
#define XENFB_OUT_RING_OFFS (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE) |
#define XENFB_OUT_RING_REF | ( | page, | |
idx | |||
) | (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN]) |