Searched refs:n_elements (Results 1 – 3 of 3) sorted by relevance
45 int n_elements; member58 ring->ring->header.notify_on_prod = ring->n_elements; in qxl_ring_init_hdr()64 int n_elements, in qxl_ring_create() argument77 ring->n_elements = n_elements; in qxl_ring_create()143 idx = header->prod & (ring->n_elements - 1); in qxl_ring_push()174 idx = header->cons & (ring->n_elements - 1); in qxl_ring_pop()
282 int n_elements,
152 ns->udp_ports.dfs_ports[0].n_elements = NSIM_UDP_TUNNEL_N_PORTS; in nsim_udp_tunnels_info_create()158 ns->udp_ports.dfs_ports[1].n_elements = NSIM_UDP_TUNNEL_N_PORTS; in nsim_udp_tunnels_info_create()