| /mm/ |
| A D | debug_page_ref.c | 8 void __page_ref_set(struct page *page, int v) in __page_ref_set() argument 10 trace_page_ref_set(page, v); in __page_ref_set() 15 void __page_ref_mod(struct page *page, int v) in __page_ref_mod() argument 17 trace_page_ref_mod(page, v); in __page_ref_mod() 24 trace_page_ref_mod_and_test(page, v, ret); in __page_ref_mod_and_test() 31 trace_page_ref_mod_and_return(page, v, ret); in __page_ref_mod_and_return() 38 trace_page_ref_mod_unless(page, v, u); in __page_ref_mod_unless() 43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() argument 45 trace_page_ref_freeze(page, v, ret); in __page_ref_freeze() 50 void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze() argument [all …]
|
| A D | vmstat.c | 439 s8 v, t; in __inc_zone_state() local 460 s8 v, t; in __inc_node_state() local 495 s8 v, t; in __dec_zone_state() local 516 s8 v, t; in __dec_node_state() local 825 int v; in refresh_cpu_vm_stats() local 828 if (v) { in refresh_cpu_vm_stats() 880 int v; in refresh_cpu_vm_stats() local 883 if (v) { in refresh_cpu_vm_stats() 914 int v; in cpu_vm_stats_fold() local 942 int v; in cpu_vm_stats_fold() local [all …]
|
| A D | interval_tree.c | 13 static inline unsigned long vma_start_pgoff(struct vm_area_struct *v) in vma_start_pgoff() argument 15 return v->vm_pgoff; in vma_start_pgoff() 18 static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) in vma_last_pgoff() argument 20 return v->vm_pgoff + vma_pages(v) - 1; in vma_last_pgoff()
|
| A D | dmapool_test.c | 13 void *v; member 45 p[i].v = dma_pool_alloc(pool, GFP_KERNEL, in dmapool_test_alloc() 47 if (!p[i].v) in dmapool_test_alloc() 52 dma_pool_free(pool, p[i].v, p[i].dma); in dmapool_test_alloc() 58 dma_pool_free(pool, p[i].v, p[i].dma); in dmapool_test_alloc()
|
| A D | swap_state.c | 50 #define SWAP_RA_HITS(v) ((v) & SWAP_RA_HITS_MASK) argument 51 #define SWAP_RA_WIN(v) (((v) & SWAP_RA_WIN_MASK) >> SWAP_RA_WIN_SHIFT) argument 52 #define SWAP_RA_ADDR(v) ((v) & PAGE_MASK) argument
|
| A D | vmalloc.c | 5031 struct vm_struct *v; in vmalloc_info_show() local 5049 v = va->vm; in vmalloc_info_show() 5057 v->addr, v->addr + v->size, v->size); in vmalloc_info_show() 5059 if (v->caller) in vmalloc_info_show() 5062 if (v->nr_pages) in vmalloc_info_show() 5065 if (v->phys_addr) in vmalloc_info_show() 5068 if (v->flags & VM_IOREMAP) in vmalloc_info_show() 5071 if (v->flags & VM_SPARSE) in vmalloc_info_show() 5074 if (v->flags & VM_ALLOC) in vmalloc_info_show() 5077 if (v->flags & VM_MAP) in vmalloc_info_show() [all …]
|
| A D | memcontrol.c | 3985 long delta, delta_cpu, v; in mem_cgroup_stat_aggregate() local 3999 v = READ_ONCE(ac->cstat[i]); in mem_cgroup_stat_aggregate() 4000 if (v != ac->cstat_prev[i]) { in mem_cgroup_stat_aggregate() 4001 delta_cpu = v - ac->cstat_prev[i]; in mem_cgroup_stat_aggregate() 4003 ac->cstat_prev[i] = v; in mem_cgroup_stat_aggregate() 4234 return peak_show(sf, v, &memcg->memory); in memory_peak_show() 4485 int memory_stat_show(struct seq_file *m, void *v) in memory_stat_show() argument 5266 return peak_show(sf, v, &memcg->swap); in swap_peak_show() 5278 static int swap_high_show(struct seq_file *m, void *v) in swap_high_show() argument 5301 static int swap_max_show(struct seq_file *m, void *v) in swap_max_show() argument [all …]
|
| A D | kmemleak.c | 1960 static void *kmemleak_seq_next(struct seq_file *seq, void *v, loff_t *pos) in kmemleak_seq_next() argument 1962 struct kmemleak_object *prev_obj = v; in kmemleak_seq_next() 1982 static void kmemleak_seq_stop(struct seq_file *seq, void *v) in kmemleak_seq_stop() argument 1984 if (!IS_ERR(v)) { in kmemleak_seq_stop() 1991 if (v) in kmemleak_seq_stop() 1992 put_object(v); in kmemleak_seq_stop() 1999 static int kmemleak_seq_show(struct seq_file *seq, void *v) in kmemleak_seq_show() argument 2001 struct kmemleak_object *object = v; in kmemleak_seq_show()
|
| A D | page_owner.c | 878 static void *stack_next(struct seq_file *m, void *v, loff_t *ppos) in stack_next() argument 880 struct stack *stack = v; in stack_next() 891 static int stack_print(struct seq_file *m, void *v) in stack_print() argument 894 struct stack *stack = v; in stack_print() 916 static void stack_stop(struct seq_file *m, void *v) in stack_stop() argument
|
| A D | hugetlb_cgroup.c | 549 static int hugetlb_cgroup_read_u64_max(struct seq_file *seq, void *v) in hugetlb_cgroup_read_u64_max() argument 701 static int hugetlb_events_show(struct seq_file *seq, void *v) in hugetlb_events_show() argument 706 static int hugetlb_events_local_show(struct seq_file *seq, void *v) in hugetlb_events_local_show() argument
|
| A D | memcontrol-v1.h | 31 int memory_stat_show(struct seq_file *m, void *v);
|
| A D | percpu-stats.c | 134 static int percpu_stats_show(struct seq_file *m, void *v) in percpu_stats_show() argument
|
| A D | ptdump.c | 193 static int check_wx_show(struct seq_file *m, void *v) in check_wx_show() argument
|
| A D | shrinker_debug.c | 47 static int shrinker_debugfs_count_show(struct seq_file *m, void *v) in shrinker_debugfs_count_show() argument
|
| A D | percpu.c | 2449 int group, v; in pcpu_dump_alloc_info() local 2452 v = ai->nr_groups; in pcpu_dump_alloc_info() 2453 while (v /= 10) in pcpu_dump_alloc_info() 2456 v = num_possible_cpus(); in pcpu_dump_alloc_info() 2457 while (v /= 10) in pcpu_dump_alloc_info()
|
| A D | swapfile.c | 2871 static void *swap_next(struct seq_file *swap, void *v, loff_t *pos) in swap_next() argument 2873 struct swap_info_struct *si = v; in swap_next() 2876 if (v == SEQ_START_TOKEN) in swap_next() 2891 static void swap_stop(struct seq_file *swap, void *v) in swap_stop() argument 2896 static int swap_show(struct seq_file *swap, void *v) in swap_show() argument 2898 struct swap_info_struct *si = v; in swap_show()
|
| A D | memcontrol-v1.c | 1598 __always_unused void *v) in mem_cgroup_dummy_seq_show() argument 1778 static int memcg_numa_stat_show(struct seq_file *m, void *v) in memcg_numa_stat_show() argument 1968 static int mem_cgroup_oom_control_read(struct seq_file *sf, void *v) in mem_cgroup_oom_control_read() argument
|
| A D | backing-dev.c | 110 static int bdi_debug_stats_show(struct seq_file *m, void *v) in bdi_debug_stats_show() argument 193 static int cgwb_debug_stats_show(struct seq_file *m, void *v) in cgwb_debug_stats_show() argument
|
| A D | vmscan.c | 5352 static void lru_gen_seq_stop(struct seq_file *m, void *v) in lru_gen_seq_stop() argument 5354 if (!IS_ERR_OR_NULL(v)) in lru_gen_seq_stop() 5355 mem_cgroup_iter_break(NULL, lruvec_memcg(v)); in lru_gen_seq_stop() 5361 static void *lru_gen_seq_next(struct seq_file *m, void *v, loff_t *pos) in lru_gen_seq_next() argument 5363 int nid = lruvec_pgdat(v)->node_id; in lru_gen_seq_next() 5364 struct mem_cgroup *memcg = lruvec_memcg(v); in lru_gen_seq_next() 5435 static int lru_gen_seq_show(struct seq_file *m, void *v) in lru_gen_seq_show() argument 5439 struct lruvec *lruvec = v; in lru_gen_seq_show()
|
| A D | slub.c | 431 void stat_add(const struct kmem_cache *s, enum stat_item si, int v) in stat_add() argument 434 raw_cpu_add(s->cpu_slab->stat[si], v); in stat_add() 499 return (freeptr_t){.v = encoded}; in freelist_ptr_encode() 508 decoded = (void *)(ptr.v ^ s->random ^ swab(ptr_addr)); in freelist_ptr_decode() 510 decoded = (void *)ptr.v; in freelist_ptr_decode() 7633 static int slab_debugfs_show(struct seq_file *seq, void *v) in slab_debugfs_show() argument 7699 static void slab_debugfs_stop(struct seq_file *seq, void *v) in slab_debugfs_stop() argument 7703 static void *slab_debugfs_next(struct seq_file *seq, void *v, loff_t *ppos) in slab_debugfs_next() argument
|
| A D | memblock.c | 2523 unsigned long cmd, void *v) in reserve_mem_kho_notifier() argument 2527 return reserve_mem_kho_finalize((struct kho_serialization *)v); in reserve_mem_kho_notifier()
|
| A D | zsmalloc.c | 620 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show() argument
|
| /mm/kasan/ |
| A D | kasan_test_rust.rs | 14 let mut v: KVec<u8> = KVec::new(); in kasan_test_rust_uaf() variables 16 v.push(0x42, GFP_KERNEL).unwrap(); in kasan_test_rust_uaf() 18 let ptr: *mut u8 = addr_of_mut!(v[2048]); in kasan_test_rust_uaf() 19 drop(v); in kasan_test_rust_uaf()
|
| /mm/kfence/ |
| A D | core.c | 719 static int stats_show(struct seq_file *seq, void *v) in stats_show() argument 743 static void stop_object(struct seq_file *seq, void *v) in stop_object() argument 747 static void *next_object(struct seq_file *seq, void *v, loff_t *pos) in next_object() argument 755 static int show_object(struct seq_file *seq, void *v) in show_object() argument 757 struct kfence_metadata *meta = &kfence_metadata[(long)v - 1]; in show_object()
|