Searched refs:ENTRIES_PER_PAGE (Results 1 – 2 of 2) sorted by relevance
205 #define ENTRIES_PER_PAGE (PAGE_SIZE / sizeof(unsigned long)) macro248 scratch_pages = (page_count + ENTRIES_PER_PAGE - 1) / ENTRIES_PER_PAGE; in agp_allocate_memory()1169 pages = (page_count + ENTRIES_PER_PAGE - 1) / ENTRIES_PER_PAGE; in agp_generic_alloc_user()
1130 #define ENTRIES_PER_PAGE (PAGE_SIZE / ENTRY_SIZE) macro2982 order = get_count_order(DIV_ROUND_UP(count, ENTRIES_PER_PAGE)); in ftrace_allocate_records()2988 while ((PAGE_SIZE << order) / ENTRY_SIZE >= count + ENTRIES_PER_PAGE) in ftrace_allocate_records()3052 order = get_count_order(pg->size / ENTRIES_PER_PAGE); in ftrace_allocate_pages()5751 order = get_count_order(pg->size / ENTRIES_PER_PAGE); in ftrace_release_mod()6098 order = get_count_order(pg->size / ENTRIES_PER_PAGE); in ftrace_free_mem()6147 count, count / ENTRIES_PER_PAGE + 1); in ftrace_init()