Home
last modified time | relevance | path

Searched refs:XENSTORE_RING_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux/include/xen/interface/io/
A Dxs_wire.h82 #define XENSTORE_RING_SIZE 1024 macro
84 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
86 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
87 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/linux/drivers/xen/xenbus/
A Dxenbus_comms.c68 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
75 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
76 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
77 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
85 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in get_input_chunk()
95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE && in xb_data_to_write()
198 if (intf->rsp_prod - cons >= XENSTORE_RING_SIZE) in xb_read()

Completed in 4 milliseconds