Searched refs:n_elements (Results 1 – 9 of 9) sorted by relevance
45 int n_elements; member59 int n_elements, in qxl_ring_create() argument71 ring->n_elements = n_elements; in qxl_ring_create()135 idx = header->prod & (ring->n_elements - 1); in qxl_ring_push()166 idx = header->cons & (ring->n_elements - 1); in qxl_ring_pop()
273 int n_elements,
237 __u32 n_elements; in get_cur_elements() local255 n_elements = read_cur_elements(iter_fd); in get_cur_elements()261 return n_elements; in get_cur_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()
180 cma->dfs_bitmap.n_elements = DIV_ROUND_UP(cma_bitmap_maxno(cma), in cma_debugfs_add_one()
215 __le16 n_elements; member269 __le16 n_elements; member1000 msg.n_elements = cpu_to_le16(ring->n_entries); in bcm4377_create_completion_ring()1054 msg.n_elements = cpu_to_le16(ring->n_entries); in bcm4377_create_transfer_ring()
134 queue->dfs_bitmap.n_elements = in ptp_open()
190 u32 n_elements;
690 uint8_t n_elements; member