Lines Matching refs:pages
408 struct ftrace_profile_page *pages; member
576 pg = stat->pages = stat->start; in ftrace_profile_reset()
592 int pages; in ftrace_profile_pages_init() local
596 if (stat->pages) in ftrace_profile_pages_init()
599 stat->pages = (void *)get_zeroed_page(GFP_KERNEL); in ftrace_profile_pages_init()
600 if (!stat->pages) in ftrace_profile_pages_init()
616 pg = stat->start = stat->pages; in ftrace_profile_pages_init()
618 pages = DIV_ROUND_UP(functions, PROFILES_PER_PAGE); in ftrace_profile_pages_init()
620 for (i = 1; i < pages; i++) { in ftrace_profile_pages_init()
638 stat->pages = NULL; in ftrace_profile_pages_init()
743 if (stat->pages->index == PROFILES_PER_PAGE) { in ftrace_profile_alloc()
744 if (!stat->pages->next) in ftrace_profile_alloc()
746 stat->pages = stat->pages->next; in ftrace_profile_alloc()
749 rec = &stat->pages->records[stat->pages->index++]; in ftrace_profile_alloc()