Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 19 of 19) 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
Dswap.c280 static void activate_page_drain(int cpu) in activate_page_drain()
288 static bool need_activate_page_drain(int cpu) in need_activate_page_drain()
307 static inline void activate_page_drain(int cpu) in activate_page_drain()
311 static bool need_activate_page_drain(int cpu) in need_activate_page_drain()
584 void lru_add_drain_cpu(int cpu) in lru_add_drain_cpu()
693 int cpu; in lru_add_drain_all() local
Dpercpu.c243 static int __maybe_unused pcpu_page_idx(unsigned int cpu, int page_idx) in pcpu_page_idx()
249 unsigned int cpu, int page_idx) in pcpu_chunk_addr()
876 int slot, off, new_alloc, cpu, ret; in pcpu_alloc() local
1302 unsigned int cpu; in is_kernel_percpu_address() local
1343 unsigned int cpu; in per_cpu_ptr_to_phys() local
1555 unsigned int cpu; in pcpu_setup_first_chunk() local
1802 unsigned int cpu, tcpu; in pcpu_build_alloc_info() local
1989 unsigned int cpu = NR_CPUS; in pcpu_embed_first_chunk() local
2119 unsigned int cpu = ai->groups[0].cpu_map[unit]; in pcpu_page_first_chunk() local
2198 static void * __init pcpu_dfl_fc_alloc(unsigned int cpu, size_t size, in pcpu_dfl_fc_alloc()
[all …]
Dvmstat.c39 int cpu; in sum_vm_events() local
71 void vm_events_fold_cpu(int cpu) in vm_events_fold_cpu()
174 int cpu; in refresh_zone_stat_thresholds() local
219 int cpu; in set_pgdat_percpu_threshold() local
724 void cpu_vm_stats_fold(int cpu) in cpu_vm_stats_fold()
1641 static bool need_update(int cpu) in need_update()
1697 int cpu; in vmstat_shepherd() local
1715 int cpu; in start_shepherd_timer() local
1728 int cpu; in init_cpu_node_state() local
1738 int cpu; in vmstat_cpu_dead() local
[all …]
Dzswap.c364 static int __zswap_cpu_dstmem_notifier(unsigned long action, unsigned long cpu) in __zswap_cpu_dstmem_notifier()
401 unsigned long cpu; in zswap_cpu_dstmem_init() local
421 unsigned long cpu; in zswap_cpu_dstmem_destroy() local
431 unsigned long action, unsigned long cpu) in __zswap_cpu_comp_notifier()
463 unsigned long cpu = (unsigned long)pcpu; in zswap_cpu_comp_notifier() local
471 unsigned long cpu; in zswap_cpu_comp_init() local
494 unsigned long cpu; in zswap_cpu_comp_destroy() local
Dslab.c524 static void init_reap_node(int cpu) in init_reap_node()
539 #define init_reap_node(cpu) do { } while (0) argument
550 static void start_cpu_timer(int cpu) in start_cpu_timer()
983 static void cpuup_canceled(long cpu) in cpuup_canceled()
1051 static int cpuup_prepare(long cpu) in cpuup_prepare()
1083 int slab_prepare_cpu(unsigned int cpu) in slab_prepare_cpu()
1103 int slab_dead_cpu(unsigned int cpu) in slab_dead_cpu()
1112 static int slab_online_cpu(unsigned int cpu) in slab_online_cpu()
1118 static int slab_offline_cpu(unsigned int cpu) in slab_offline_cpu()
1854 int cpu; in alloc_kmem_cache_cpus() local
[all …]
Dquicklist.c92 int cpu; in quicklist_total_size() local
Dpage_alloc.c2305 static void drain_pages_zone(unsigned int cpu, struct zone *zone) in drain_pages_zone()
2329 static void drain_pages(unsigned int cpu) in drain_pages()
2347 int cpu = smp_processor_id(); in drain_local_pages() local
2368 int cpu; in drain_all_pages() local
4300 int cpu; in show_free_areas() local
4934 int cpu; in __build_all_zonelists() local
5269 static void __meminit zone_pageset_init(struct zone *zone, int cpu) in zone_pageset_init()
5279 int cpu; in setup_zone_pageset() local
6556 int cpu = (unsigned long)hcpu; in page_alloc_cpu_notify() local
6936 unsigned int cpu; in percpu_pagelist_fraction_sysctl_handler() local
[all …]
Dslub.c206 int cpu; /* Was running on cpu */ member
1952 static inline unsigned int init_tid(int cpu) in init_tid()
1983 int cpu; in init_kmem_cache_cpus() local
2278 static inline void __flush_cpu_slab(struct kmem_cache *s, int cpu) in __flush_cpu_slab()
2297 static bool has_cpu_slab(int cpu, void *info) in has_cpu_slab()
2314 static int slub_cpu_dead(unsigned int cpu) in slub_cpu_dead()
4683 int cpu; in show_slab_objects() local
4930 int cpu; in slabs_cpu_partial_show() local
5214 int cpu; in show_stat() local
5242 int cpu; in clear_stat() local
Dkmemleak.c888 unsigned int cpu; in early_alloc_percpu() local
935 unsigned int cpu; in kmemleak_alloc_percpu() local
999 unsigned int cpu; in kmemleak_free_percpu() local
Dvmalloc.c925 static void purge_fragmented_blocks(int cpu) in purge_fragmented_blocks()
962 int cpu; in purge_fragmented_blocks_allcpus() local
1077 int cpu; in vm_unmap_aliases() local
Dzsmalloc.c1290 int ret, cpu = (long)pcpu; in zs_cpu_notifier() local
1316 int cpu, uninitialized_var(ret); in zs_register_cpu_notifier() local
1333 int cpu; in zs_unregister_cpu_notifier() local
Dmemcontrol.c571 int cpu; in mem_cgroup_read_stat() local
589 int cpu; in mem_cgroup_read_events() local
1791 int cpu, curcpu; in drain_all_stock() local
1824 int cpu = (unsigned long)hcpu; in memcg_cpu_hotplug_callback() local
5792 int cpu, node; in mem_cgroup_init() local
Dmemory_hotplug.c2085 int cpu; in check_cpu_on_node() local
2102 int cpu; in unmap_cpu_on_node() local
Dmemory-failure.c1373 int cpu; in memory_failure_init() local
Drmap.c581 int cpu; in try_to_unmap_flush() local
Dcompaction.c1591 int cpu; in compact_zone() local
Dswapfile.c2471 int cpu; in SYSCALL_DEFINE2() local
Dpage-writeback.c2053 static int page_writeback_cpu_online(unsigned int cpu) in page_writeback_cpu_online()