Searched refs:nr_entries (Results 1 – 9 of 9) sorted by relevance
/mm/ |
D | page_owner.c | 59 unsigned int nr_entries; in create_dummy_stack() local 61 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); in create_dummy_stack() 62 return stack_depot_save(entries, nr_entries, GFP_KERNEL); in create_dummy_stack() 104 unsigned int nr_entries, in check_recursive_alloc() argument 109 for (i = 0; i < nr_entries; i++) { in check_recursive_alloc() 120 unsigned int nr_entries; in save_stack() local 122 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 2); in save_stack() 132 if (check_recursive_alloc(entries, nr_entries, _RET_IP_)) in save_stack() 135 handle = stack_depot_save(entries, nr_entries, flags); in save_stack() 344 unsigned int nr_entries; in print_page_owner() local [all …]
|
D | swapfile.c | 674 unsigned int nr_entries) in swap_range_alloc() argument 676 unsigned int end = offset + nr_entries - 1; in swap_range_alloc() 679 si->lowest_bit += nr_entries; in swap_range_alloc() 681 si->highest_bit -= nr_entries; in swap_range_alloc() 682 si->inuse_pages += nr_entries; in swap_range_alloc() 703 unsigned int nr_entries) in swap_range_free() argument 705 unsigned long end = offset + nr_entries - 1; in swap_range_free() 717 atomic_long_add(nr_entries, &nr_swap_pages); in swap_range_free() 718 si->inuse_pages -= nr_entries; in swap_range_free()
|
D | memcontrol.c | 6988 unsigned int nr_entries; in mem_cgroup_swapout() local 7009 nr_entries = hpage_nr_pages(page); in mem_cgroup_swapout() 7011 if (nr_entries > 1) in mem_cgroup_swapout() 7012 mem_cgroup_id_get_many(swap_memcg, nr_entries - 1); in mem_cgroup_swapout() 7014 nr_entries); in mem_cgroup_swapout() 7016 mod_memcg_state(swap_memcg, MEMCG_SWAP, nr_entries); in mem_cgroup_swapout() 7021 page_counter_uncharge(&memcg->memory, nr_entries); in mem_cgroup_swapout() 7025 page_counter_charge(&swap_memcg->memsw, nr_entries); in mem_cgroup_swapout() 7026 page_counter_uncharge(&memcg->memsw, nr_entries); in mem_cgroup_swapout() 7037 -nr_entries); in mem_cgroup_swapout() [all …]
|
D | swap.c | 992 pgoff_t start, unsigned nr_entries, in pagevec_lookup_entries() argument 995 pvec->nr = find_get_entries(mapping, start, nr_entries, in pagevec_lookup_entries()
|
D | shmem.c | 1122 pgoff_t start, unsigned int nr_entries, in shmem_find_swap_entries() argument 1131 if (!nr_entries) in shmem_find_swap_entries() 1156 if (++ret == nr_entries) in shmem_find_swap_entries() 1212 unsigned int nr_entries = PAGEVEC_SIZE; in shmem_unuse_inode() local 1215 nr_entries = *fs_pages_to_unuse; in shmem_unuse_inode() 1217 pvec.nr = shmem_find_swap_entries(mapping, start, nr_entries, in shmem_unuse_inode()
|
D | filemap.c | 1725 pgoff_t start, unsigned int nr_entries, in find_get_entries() argument 1732 if (!nr_entries) in find_get_entries() 1758 if (++ret == nr_entries) in find_get_entries()
|
D | slub.c | 556 unsigned int nr_entries; in set_track() local 559 nr_entries = stack_trace_save(p->addrs, TRACK_ADDRS_COUNT, 3); in set_track() 562 if (nr_entries < TRACK_ADDRS_COUNT) in set_track() 563 p->addrs[nr_entries] = 0; in set_track()
|
/mm/kasan/ |
D | common.c | 51 unsigned int nr_entries) in filter_irq_stacks() argument 55 for (i = 0; i < nr_entries; i++) { in filter_irq_stacks() 61 return nr_entries; in filter_irq_stacks() 67 unsigned int nr_entries; in save_stack() local 69 nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); in save_stack() 70 nr_entries = filter_irq_stacks(entries, nr_entries); in save_stack() 71 return stack_depot_save(entries, nr_entries, flags); in save_stack()
|
D | report.c | 105 unsigned int nr_entries; in print_track() local 107 nr_entries = stack_depot_fetch(track->stack, &entries); in print_track() 108 stack_trace_print(entries, nr_entries, 0); in print_track()
|