Searched refs:n_elements (Results 1 – 2 of 2) sorted by relevance
41 int n_elements; member54 ring->ring->header.notify_on_prod = ring->n_elements; in qxl_ring_init_hdr()60 int n_elements, in qxl_ring_create() argument73 ring->n_elements = n_elements; in qxl_ring_create()136 idx = header->prod & (ring->n_elements - 1); in qxl_ring_push()166 idx = header->cons & (ring->n_elements - 1); in qxl_ring_pop()
347 int n_elements,