Home
last modified time | relevance | path

Searched refs:v (Results 1 – 12 of 12) sorted by relevance

/mm/
Dvmstat.c263 s8 v, t; in __inc_zone_state() local
265 v = __this_cpu_inc_return(*p); in __inc_zone_state()
267 if (unlikely(v > t)) { in __inc_zone_state()
270 zone_page_state_add(v + overstep, zone, item); in __inc_zone_state()
285 s8 v, t; in __dec_zone_state() local
287 v = __this_cpu_dec_return(*p); in __dec_zone_state()
289 if (unlikely(v < - t)) { in __dec_zone_state()
292 zone_page_state_add(v - overstep, zone, item); in __dec_zone_state()
469 int v; in refresh_cpu_vm_stats() local
471 v = this_cpu_xchg(p->vm_stat_diff[i], 0); in refresh_cpu_vm_stats()
[all …]
Dmempolicy.c188 pol->v.nodes = *nodes; in mpol_new_interleave()
199 pol->v.preferred_node = first_node(*nodes); in mpol_new_preferred()
207 pol->v.nodes = *nodes; in mpol_new_bind()
335 nodes_remap(tmp, pol->v.nodes, in mpol_rebind_nodemask()
349 nodes_or(pol->v.nodes, pol->v.nodes, tmp); in mpol_rebind_nodemask()
351 pol->v.nodes = tmp; in mpol_rebind_nodemask()
374 pol->v.preferred_node = node; in mpol_rebind_preferred()
380 pol->v.preferred_node = first_node(tmp); in mpol_rebind_preferred()
382 pol->v.preferred_node = node_remap(pol->v.preferred_node, in mpol_rebind_preferred()
829 nodes_weight(new->v.nodes)) in do_set_mempolicy()
[all …]
Dinterval_tree.c14 static inline unsigned long vma_start_pgoff(struct vm_area_struct *v) in vma_start_pgoff() argument
16 return v->vm_pgoff; in vma_start_pgoff()
19 static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) in vma_last_pgoff() argument
21 return v->vm_pgoff + ((v->vm_end - v->vm_start) >> PAGE_SHIFT) - 1; in vma_last_pgoff()
Dvmalloc.c2570 static void show_numa_info(struct seq_file *m, struct vm_struct *v) in show_numa_info() argument
2580 if (v->flags & VM_UNINITIALIZED) in show_numa_info()
2585 for (nr = 0; nr < v->nr_pages; nr++) in show_numa_info()
2586 counters[page_to_nid(v->pages[nr])]++; in show_numa_info()
2597 struct vm_struct *v; in s_show() local
2606 v = va->vm; in s_show()
2609 v->addr, v->addr + v->size, v->size); in s_show()
2611 if (v->caller) in s_show()
2612 seq_printf(m, " %pS", v->caller); in s_show()
2614 if (v->nr_pages) in s_show()
[all …]
Dkmemleak.c1526 static void *kmemleak_seq_next(struct seq_file *seq, void *v, loff_t *pos) in kmemleak_seq_next() argument
1528 struct kmemleak_object *prev_obj = v; in kmemleak_seq_next()
1548 static void kmemleak_seq_stop(struct seq_file *seq, void *v) in kmemleak_seq_stop() argument
1550 if (!IS_ERR(v)) { in kmemleak_seq_stop()
1557 if (v) in kmemleak_seq_stop()
1558 put_object(v); in kmemleak_seq_stop()
1565 static int kmemleak_seq_show(struct seq_file *seq, void *v) in kmemleak_seq_show() argument
1567 struct kmemleak_object *object = v; in kmemleak_seq_show()
Dinternal.h20 static inline void set_page_count(struct page *page, int v) in set_page_count() argument
22 atomic_set(&page->_count, v); in set_page_count()
Dpercpu.c1446 int group, v; in pcpu_dump_alloc_info() local
1449 v = ai->nr_groups; in pcpu_dump_alloc_info()
1450 while (v /= 10) in pcpu_dump_alloc_info()
1453 v = num_possible_cpus(); in pcpu_dump_alloc_info()
1454 while (v /= 10) in pcpu_dump_alloc_info()
Dswapfile.c2038 static void *swap_next(struct seq_file *swap, void *v, loff_t *pos) in swap_next() argument
2040 struct swap_info_struct *si = v; in swap_next()
2043 if (v == SEQ_START_TOKEN) in swap_next()
2060 static void swap_stop(struct seq_file *swap, void *v) in swap_stop() argument
2065 static int swap_show(struct seq_file *swap, void *v) in swap_show() argument
2067 struct swap_info_struct *si = v; in swap_show()
Dslab.c4059 static inline int add_caller(unsigned long *n, unsigned long v) in add_caller() argument
4063 if (!v) in add_caller()
4070 if (*q == v) { in add_caller()
4074 if (*q > v) { in add_caller()
4084 p[0] = v; in add_caller()
Dbacking-dev.c65 static int bdi_debug_stats_show(struct seq_file *m, void *v) in bdi_debug_stats_show() argument
Dmemcontrol.c2788 static int mem_cgroup_slabinfo_read(struct seq_file *m, void *v) in mem_cgroup_slabinfo_read() argument
4332 static int memcg_numa_stat_show(struct seq_file *m, void *v) in memcg_numa_stat_show() argument
4387 static int memcg_stat_show(struct seq_file *m, void *v) in memcg_stat_show() argument
4817 static int mem_cgroup_oom_control_read(struct seq_file *sf, void *v) in mem_cgroup_oom_control_read() argument
Dzsmalloc.c484 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show() argument