Searched refs:entries_per_page (Results 1 – 5 of 5) sorted by relevance
165 unsigned int entries_per_page; member
330 a->entries_per_page = PAGE_SIZE / (1 << a->entry_size_shift); in tracing_map_array_alloc()331 a->n_pages = n_elts / a->entries_per_page; in tracing_map_array_alloc()334 a->entry_shift = fls(a->entries_per_page) - 1; in tracing_map_array_alloc()
406 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_alloc_ldt() local420 for (i = 0; i < entries; i += entries_per_page) in xen_alloc_ldt()426 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_free_ldt() local429 for (i = 0; i < entries; i += entries_per_page) in xen_free_ldt()
844 static const unsigned int entries_per_page = in cio2_vb2_buf_init() local847 unsigned int lops = DIV_ROUND_UP(pages + 1, entries_per_page); in cio2_vb2_buf_init()881 if (j == entries_per_page) { in cio2_vb2_buf_init()
2154 unsigned int i, j, entries_per_page, max_order = 4; in blk_mq_alloc_rqs() local2205 entries_per_page = order_to_size(this_order) / rq_size; in blk_mq_alloc_rqs()2206 to_do = min(entries_per_page, depth - i); in blk_mq_alloc_rqs()