Searched refs:XENSTORE_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
89 #define XENSTORE_RING_SIZE 1024 macro91 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))93 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */94 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
68 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()