Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/xen/interface/io/
A Dxs_wire.h89 #define XENSTORE_RING_SIZE 1024 macro
91 #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. */
/linux-6.3-rc2/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 6 milliseconds