Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 20 of 20) sorted by relevance

/mm/
Dmemory_hotplug.c855 void *arg) in online_pages_range() argument
858 unsigned long onlined_pages = *(unsigned long *)arg; in online_pages_range()
866 *(unsigned long *)arg = onlined_pages; in online_pages_range()
889 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online() argument
913 arg->status_change_nid_normal = nid; in node_states_check_changes_online()
915 arg->status_change_nid_normal = -1; in node_states_check_changes_online()
932 arg->status_change_nid_high = nid; in node_states_check_changes_online()
934 arg->status_change_nid_high = -1; in node_states_check_changes_online()
936 arg->status_change_nid_high = arg->status_change_nid_normal; in node_states_check_changes_online()
945 arg->status_change_nid = nid; in node_states_check_changes_online()
[all …]
Dvmstat.c702 static void *frag_next(struct seq_file *m, void *arg, loff_t *pos) in frag_next() argument
704 pg_data_t *pgdat = (pg_data_t *)arg; in frag_next()
710 static void frag_stop(struct seq_file *m, void *arg) in frag_stop() argument
924 static int frag_show(struct seq_file *m, void *arg) in frag_show() argument
926 pg_data_t *pgdat = (pg_data_t *)arg; in frag_show()
957 static int pagetypeinfo_showfree(struct seq_file *m, void *arg) in pagetypeinfo_showfree() argument
960 pg_data_t *pgdat = (pg_data_t *)arg; in pagetypeinfo_showfree()
1008 static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg) in pagetypeinfo_showblockcount() argument
1011 pg_data_t *pgdat = (pg_data_t *)arg; in pagetypeinfo_showblockcount()
1026 static int pagetypeinfo_show(struct seq_file *m, void *arg) in pagetypeinfo_show() argument
[all …]
Drmap.c724 unsigned long address, void *arg) in page_referenced_one() argument
729 struct page_referenced_arg *pra = arg; in page_referenced_one()
796 static bool invalid_page_referenced_vma(struct vm_area_struct *vma, void *arg) in invalid_page_referenced_vma() argument
798 struct page_referenced_arg *pra = arg; in invalid_page_referenced_vma()
830 .arg = (void *)&pra, in page_referenced()
866 unsigned long address, void *arg) in page_mkclean_one() argument
872 int *cleaned = arg; in page_mkclean_one()
899 static bool invalid_mkclean_vma(struct vm_area_struct *vma, void *arg) in invalid_mkclean_vma() argument
912 .arg = (void *)&cleaned, in page_mkclean()
1186 unsigned long address, void *arg) in try_to_unmap_one() argument
[all …]
Dpage_isolation.c16 struct memory_isolate_notify arg; in set_migratetype_isolate() local
25 arg.start_pfn = pfn; in set_migratetype_isolate()
26 arg.nr_pages = pageblock_nr_pages; in set_migratetype_isolate()
27 arg.pages_found = 0; in set_migratetype_isolate()
40 notifier_ret = memory_isolate_notify(MEM_ISOLATE_COUNT, &arg); in set_migratetype_isolate()
48 if (!has_unmovable_pages(zone, page, arg.pages_found, in set_migratetype_isolate()
Dswap.c411 void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), in pagevec_lru_move_fn() argument
412 void *arg) in pagevec_lru_move_fn()
431 (*move_fn)(page, lruvec, arg); in pagevec_lru_move_fn()
440 void *arg) in pagevec_move_tail_fn() argument
442 int *pgmoved = arg; in pagevec_move_tail_fn()
495 void *arg) in __activate_page() argument
746 void *arg) in lru_deactivate_file_fn() argument
1023 void *arg) in __pagevec_lru_add_fn() argument
Dinternal.h333 #define mminit_dprintk(level, prefix, fmt, arg...) \ argument
337 printk(KERN_CONT "mminit::" prefix " " fmt, ##arg); \
Dpage_cgroup.c242 unsigned long action, void *arg) in page_cgroup_callback() argument
244 struct memory_notify *mn = arg; in page_cgroup_callback()
Dmm_init.c168 unsigned long action, void *arg) in mm_compute_batch_notifier() argument
Dworkingset.c306 void *arg) in shadow_lru_isolate() argument
Dksm.c1934 if (rwc->invalid_vma && rwc->invalid_vma(vma, rwc->arg)) in rmap_walk_ksm()
1938 rmap_item->address, rwc->arg); in rmap_walk_ksm()
2027 unsigned long action, void *arg) in ksm_memory_callback() argument
2029 struct memory_notify *mn = arg; in ksm_memory_callback()
Dmigrate.c196 struct address_space *mapping, void *arg) in remove_linear_migration_ptes_from_nonlinear() argument
208 remove_migration_pte(page, vma, addr, arg); in remove_linear_migration_ptes_from_nonlinear()
221 .arg = old, in remove_migration_ptes()
Dslub.c3490 static int slab_mem_going_offline_callback(void *arg) in slab_mem_going_offline_callback() argument
3502 static void slab_mem_offline_callback(void *arg) in slab_mem_offline_callback() argument
3506 struct memory_notify *marg = arg; in slab_mem_offline_callback()
3537 static int slab_mem_going_online_callback(void *arg) in slab_mem_going_online_callback() argument
3541 struct memory_notify *marg = arg; in slab_mem_going_online_callback()
3578 unsigned long action, void *arg) in slab_memory_callback() argument
3584 ret = slab_mem_going_online_callback(arg); in slab_memory_callback()
3587 ret = slab_mem_going_offline_callback(arg); in slab_memory_callback()
3591 slab_mem_offline_callback(arg); in slab_memory_callback()
Dnommu.c1528 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
1532 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1()
Dslab.c1309 unsigned long action, void *arg) in slab_memory_callback() argument
1311 struct memory_notify *mnb = arg; in slab_memory_callback()
2318 static void do_drain(void *arg) in do_drain() argument
2320 struct kmem_cache *cachep = arg; in do_drain()
Dshmem.c2029 long shmem_fcntl(struct file *file, unsigned int cmd, unsigned long arg) in shmem_fcntl() argument
2036 if (arg > UINT_MAX) in shmem_fcntl()
2039 error = shmem_add_seals(file, arg); in shmem_fcntl()
Dmmap.c1504 SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
1508 if (copy_from_user(&a, arg, sizeof(a))) in SYSCALL_DEFINE1()
Dkmemleak.c1436 static int kmemleak_scan_thread(void *arg) in kmemleak_scan_thread() argument
Dmemcontrol.c2075 unsigned mode, int sync, void *arg) in memcg_oom_wake_function() argument
2077 struct mem_cgroup *wake_memcg = (struct mem_cgroup *)arg; in memcg_oom_wake_function()
2091 return autoremove_wake_function(wait, mode, sync, arg); in memcg_oom_wake_function()
Dmemory.c317 static void tlb_remove_table_smp_sync(void *arg) in tlb_remove_table_smp_sync() argument
Dpage_alloc.c1339 void drain_local_pages(void *arg) in drain_local_pages() argument