Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 15 of 15) sorted by relevance

/mm/
Dpercpu-vm.c14 unsigned int cpu, int page_idx) in pcpu_chunk_page()
58 unsigned int cpu; in pcpu_free_pages() local
86 unsigned int cpu, tcpu; in pcpu_alloc_pages() local
154 unsigned int cpu; in pcpu_unmap_pages() local
215 unsigned int cpu, tcpu; in pcpu_map_pages() local
Dvmstat.c34 int cpu; in sum_vm_events() local
66 void vm_events_fold_cpu(int cpu) in vm_events_fold_cpu()
166 int cpu; in refresh_zone_stat_thresholds() local
195 int cpu; in set_pgdat_percpu_threshold() local
523 void cpu_vm_stats_fold(int cpu) in cpu_vm_stats_fold()
1315 static bool need_update(int cpu) in need_update()
1347 int cpu; in vmstat_shepherd() local
1367 int cpu; in start_shepherd_timer() local
1383 int cpu; in vmstat_cpu_dead() local
1403 long cpu = (long)hcpu; in vmstat_cpuup_callback() local
Dswap.c515 static void activate_page_drain(int cpu) in activate_page_drain()
523 static bool need_activate_page_drain(int cpu) in need_activate_page_drain()
541 static inline void activate_page_drain(int cpu) in activate_page_drain()
545 static bool need_activate_page_drain(int cpu) in need_activate_page_drain()
796 void lru_add_drain_cpu(int cpu) in lru_add_drain_cpu()
863 int cpu; in lru_add_drain_all() local
Dpercpu.c241 static int __maybe_unused pcpu_page_idx(unsigned int cpu, int page_idx) in pcpu_page_idx()
247 unsigned int cpu, int page_idx) in pcpu_chunk_addr()
878 int slot, off, new_alloc, cpu, ret; in pcpu_alloc() local
1304 unsigned int cpu; in is_kernel_percpu_address() local
1345 unsigned int cpu; in per_cpu_ptr_to_phys() local
1558 unsigned int cpu; in pcpu_setup_first_chunk() local
1807 unsigned int cpu, tcpu; in pcpu_build_alloc_info() local
1992 unsigned int cpu = NR_CPUS; in pcpu_embed_first_chunk() local
2123 unsigned int cpu = ai->groups[0].cpu_map[unit]; in pcpu_page_first_chunk() local
2202 static void * __init pcpu_dfl_fc_alloc(unsigned int cpu, size_t size, in pcpu_dfl_fc_alloc()
[all …]
Dzswap.c342 static int __zswap_cpu_notifier(unsigned long action, unsigned long cpu) in __zswap_cpu_notifier()
384 unsigned long cpu = (unsigned long)pcpu; in zswap_cpu_notifier() local
394 unsigned long cpu; in zswap_cpu_init() local
Dquicklist.c92 int cpu; in quicklist_total_size() local
Dslab.c610 static void init_reap_node(int cpu) in init_reap_node()
632 #define init_reap_node(cpu) do { } while (0) argument
643 static void start_cpu_timer(int cpu) in start_cpu_timer()
1081 static void cpuup_canceled(long cpu) in cpuup_canceled()
1149 static int cpuup_prepare(long cpu) in cpuup_prepare()
1220 long cpu = (long)hcpu; in cpuup_callback() local
1499 int cpu; in cpucache_init() local
1990 int cpu; in alloc_kmem_cache_cpus() local
3672 int cpu; in __do_tune_cpucache() local
Dslub.c201 int cpu; /* Was running on cpu */ member
1773 static inline unsigned int init_tid(int cpu) in init_tid()
1804 int cpu; in init_kmem_cache_cpus() local
2090 static inline void __flush_cpu_slab(struct kmem_cache *s, int cpu) in __flush_cpu_slab()
2109 static bool has_cpu_slab(int cpu, void *info) in has_cpu_slab()
3764 long cpu = (long)hcpu; in slab_cpuup_callback() local
4261 int cpu; in show_slab_objects() local
4508 int cpu; in slabs_cpu_partial_show() local
4797 int cpu; in show_stat() local
4825 int cpu; in clear_stat() local
Dpage_alloc.c1315 static void drain_pages(unsigned int cpu) in drain_pages()
1355 int cpu; in drain_all_pages() local
3225 int cpu; in show_free_areas() local
3850 int cpu; in __build_all_zonelists() local
4330 static void __meminit zone_pageset_init(struct zone *zone, int cpu) in zone_pageset_init()
4340 int cpu; in setup_zone_pageset() local
5586 int cpu = (unsigned long)hcpu; in page_alloc_cpu_notify() local
5973 unsigned int cpu; in percpu_pagelist_fraction_sysctl_handler() local
6500 unsigned cpu; in zone_pcp_update() local
6512 int cpu; in zone_pcp_reset() local
Dkmemleak.c871 unsigned int cpu; in early_alloc_percpu() local
918 unsigned int cpu; in kmemleak_alloc_percpu() local
982 unsigned int cpu; in kmemleak_free_percpu() local
Dzsmalloc.c1152 int ret, cpu = (long)pcpu; in zs_cpu_notifier() local
1178 int cpu, uninitialized_var(ret); in zs_register_cpu_notifier() local
1195 int cpu; in zs_unregister_cpu_notifier() local
Dvmalloc.c863 static void purge_fragmented_blocks(int cpu) in purge_fragmented_blocks()
899 int cpu; in purge_fragmented_blocks_allcpus() local
1015 int cpu; in vm_unmap_aliases() local
Dmemory_hotplug.c1889 int cpu; in check_cpu_on_node() local
1906 int cpu; in unmap_cpu_on_node() local
Dmemcontrol.c869 int cpu; in mem_cgroup_read_stat() local
887 int cpu; in mem_cgroup_read_events() local
2364 int cpu; in memcg_stock_init() local
2396 int cpu, curcpu; in drain_all_stock() local
2461 static void mem_cgroup_drain_pcp_counter(struct mem_cgroup *memcg, int cpu) in mem_cgroup_drain_pcp_counter()
2485 int cpu = (unsigned long)hcpu; in memcg_cpu_hotplug_callback() local
Dmemory-failure.c1379 int cpu; in memory_failure_init() local