Home
last modified time | relevance | path

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

/freebsd/sys/contrib/xen/io/
H A Dxs_wire.h119 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1)) macro
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore.c409 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in xs_get_output_chunk()
412 return (buf + MASK_XENSTORE_IDX(prod)); in xs_get_output_chunk()
431 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in xs_get_input_chunk()
434 return (buf + MASK_XENSTORE_IDX(cons)); in xs_get_input_chunk()