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()
399 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_alloc_ldt() local413 for (i = 0; i < entries; i += entries_per_page) in xen_alloc_ldt()419 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_free_ldt() local422 for (i = 0; i < entries; i += entries_per_page) in xen_free_ldt()
846 static const unsigned int entries_per_page = in cio2_vb2_buf_init() local849 unsigned int lops = DIV_ROUND_UP(pages + 1, entries_per_page); in cio2_vb2_buf_init()883 if (j == entries_per_page) { in cio2_vb2_buf_init()
2023 unsigned int i, j, entries_per_page, max_order = 4; in blk_mq_alloc_rqs() local2074 entries_per_page = order_to_size(this_order) / rq_size; in blk_mq_alloc_rqs()2075 to_do = min(entries_per_page, depth - i); in blk_mq_alloc_rqs()