/mm/ |
H A D | page_cgroup.c | 203 * "start_pfn" passed to us is a pfn which is an arg for 240 unsigned long action, void *arg) 242 struct memory_notify *mn = arg; 239 page_cgroup_callback(struct notifier_block *self, unsigned long action, void *arg) argument
|
H A D | swap.c | 205 void (*move_fn)(struct page *page, void *arg), 206 void *arg) 223 (*move_fn)(page, arg); 231 static void pagevec_move_tail_fn(struct page *page, void *arg) argument 233 int *pgmoved = arg; 299 static void __activate_page(struct page *page, void *arg) argument 446 static void lru_deactivate_fn(struct page *page, void *arg) argument 699 static void __pagevec_lru_add_fn(struct page *page, void *arg) argument 701 enum lru_list lru = (enum lru_list)arg; 204 pagevec_lru_move_fn(struct pagevec *pvec, void (*move_fn)(struct page *page, void *arg), void *arg) argument
|
H A D | memory_hotplug.c | 445 void *arg) 448 unsigned long onlined_pages = *(unsigned long *)arg; 456 *(unsigned long *)arg = onlined_pages; 468 struct memory_notify arg; local 471 arg.start_pfn = pfn; 472 arg.nr_pages = nr_pages; 473 arg.status_change_nid = -1; 477 arg.status_change_nid = nid; 479 ret = memory_notify(MEM_GOING_ONLINE, &arg); 482 memory_notify(MEM_CANCEL_ONLINE, &arg); 444 online_pages_range(unsigned long start_pfn, unsigned long nr_pages, void *arg) argument 874 struct memory_notify arg; local [all...] |
H A D | rmap.c | 1704 struct vm_area_struct *, unsigned long, void *), void *arg) 1725 ret = rmap_one(page, vma, address, arg); 1734 struct vm_area_struct *, unsigned long, void *), void *arg) 1749 ret = rmap_one(page, vma, address, arg); 1763 struct vm_area_struct *, unsigned long, void *), void *arg) 1768 return rmap_walk_ksm(page, rmap_one, arg); 1770 return rmap_walk_anon(page, rmap_one, arg); 1772 return rmap_walk_file(page, rmap_one, arg); 1703 rmap_walk_anon(struct page *page, int (*rmap_one)(struct page *, struct vm_area_struct *, unsigned long, void *), void *arg) argument 1733 rmap_walk_file(struct page *page, int (*rmap_one)(struct page *, struct vm_area_struct *, unsigned long, void *), void *arg) argument 1762 rmap_walk(struct page *page, int (*rmap_one)(struct page *, struct vm_area_struct *, unsigned long, void *), void *arg) argument
|
H A D | vmstat.c | 631 static void *frag_next(struct seq_file *m, void *arg, loff_t *pos) argument 633 pg_data_t *pgdat = (pg_data_t *)arg; 639 static void frag_stop(struct seq_file *m, void *arg) argument 810 static int frag_show(struct seq_file *m, void *arg) argument 812 pg_data_t *pgdat = (pg_data_t *)arg; 843 static int pagetypeinfo_showfree(struct seq_file *m, void *arg) argument 846 pg_data_t *pgdat = (pg_data_t *)arg; 894 static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg) argument 897 pg_data_t *pgdat = (pg_data_t *)arg; 912 static int pagetypeinfo_show(struct seq_file *m, void *arg) argument 1031 zoneinfo_show(struct seq_file *m, void *arg) argument 1098 vmstat_next(struct seq_file *m, void *arg, loff_t *pos) argument 1106 vmstat_show(struct seq_file *m, void *arg) argument 1115 vmstat_stop(struct seq_file *m, void *arg) argument 1275 unusable_show(struct seq_file *m, void *arg) argument 1331 extfrag_show(struct seq_file *m, void *arg) argument [all...] |
H A D | kmemleak.c | 1392 static int kmemleak_scan_thread(void *arg) argument
|
H A D | ksm.c | 1708 struct vm_area_struct *, unsigned long, void *), void *arg) 1743 ret = rmap_one(page, vma, rmap_item->address, arg); 1791 unsigned long action, void *arg) 1793 struct memory_notify *mn = arg; 1707 rmap_walk_ksm(struct page *page, int (*rmap_one)(struct page *, struct vm_area_struct *, unsigned long, void *), void *arg) argument 1790 ksm_memory_callback(struct notifier_block *self, unsigned long action, void *arg) argument
|
H A D | memory.c | 323 static void tlb_remove_table_smp_sync(void *arg) argument
|
H A D | slab.c | 1424 unsigned long action, void *arg) 1426 struct memory_notify *mnb = arg; 2550 static void do_drain(void *arg) argument 2552 struct kmem_cache *cachep = arg; 1423 slab_memory_callback(struct notifier_block *self, unsigned long action, void *arg) argument
|
H A D | memcontrol.c | 1747 unsigned mode, int sync, void *arg) 1749 struct mem_cgroup *wake_memcg = (struct mem_cgroup *)arg, 1763 return autoremove_wake_function(wait, mode, sync, arg); 4077 static int mem_control_numa_stat_show(struct seq_file *m, void *arg) argument 1746 memcg_oom_wake_function(wait_queue_t *wait, unsigned mode, int sync, void *arg) argument
|
H A D | page_alloc.c | 1159 void drain_local_pages(void *arg) argument 3209 * I.e., first node id of first zone in arg node's generic zonelist. 5444 struct memory_isolate_notify arg; local 5453 arg.start_pfn = pfn; 5454 arg.nr_pages = pageblock_nr_pages; 5455 arg.pages_found = 0; 5468 notifier_ret = memory_isolate_notify(MEM_ISOLATE_COUNT, &arg); 5476 if (__count_immobile_pages(zone, page, arg.pages_found))
|
H A D | slub.c | 3520 static int slab_mem_going_offline_callback(void *arg) argument 3532 static void slab_mem_offline_callback(void *arg) argument 3536 struct memory_notify *marg = arg; 3567 static int slab_mem_going_online_callback(void *arg) argument 3571 struct memory_notify *marg = arg; 3608 unsigned long action, void *arg) 3614 ret = slab_mem_going_online_callback(arg); 3617 ret = slab_mem_going_offline_callback(arg); 3621 slab_mem_offline_callback(arg); 3607 slab_memory_callback(struct notifier_block *self, unsigned long action, void *arg) argument
|