Lines Matching refs:page
366 struct page *page; in profile_cpu_callback() local
374 page = alloc_pages_node(node, in profile_cpu_callback()
377 if (!page) in profile_cpu_callback()
379 per_cpu(cpu_profile_hits, cpu)[1] = page_address(page); in profile_cpu_callback()
382 page = alloc_pages_node(node, in profile_cpu_callback()
385 if (!page) in profile_cpu_callback()
387 per_cpu(cpu_profile_hits, cpu)[0] = page_address(page); in profile_cpu_callback()
391 page = virt_to_page(per_cpu(cpu_profile_hits, cpu)[1]); in profile_cpu_callback()
393 __free_page(page); in profile_cpu_callback()
407 page = virt_to_page(per_cpu(cpu_profile_hits, cpu)[0]); in profile_cpu_callback()
409 __free_page(page); in profile_cpu_callback()
412 page = virt_to_page(per_cpu(cpu_profile_hits, cpu)[1]); in profile_cpu_callback()
414 __free_page(page); in profile_cpu_callback()
452 static int prof_cpu_mask_read_proc(char *page, char **start, off_t off, in prof_cpu_mask_read_proc() argument
455 int len = cpumask_scnprintf(page, count, data); in prof_cpu_mask_read_proc()
458 len += sprintf(page + len, "\n"); in prof_cpu_mask_read_proc()
571 struct page *page; in create_hash_tables() local
573 page = alloc_pages_node(node, in create_hash_tables()
576 if (!page) in create_hash_tables()
579 = (struct profile_hit *)page_address(page); in create_hash_tables()
580 page = alloc_pages_node(node, in create_hash_tables()
583 if (!page) in create_hash_tables()
586 = (struct profile_hit *)page_address(page); in create_hash_tables()
594 struct page *page; in create_hash_tables() local
597 page = virt_to_page(per_cpu(cpu_profile_hits, cpu)[0]); in create_hash_tables()
599 __free_page(page); in create_hash_tables()
602 page = virt_to_page(per_cpu(cpu_profile_hits, cpu)[1]); in create_hash_tables()
604 __free_page(page); in create_hash_tables()