Home
last modified time | relevance | path

Searched refs:vmi (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/proc/
Dmeminfo.c30 struct vmalloc_info vmi; in meminfo_proc_show() local
52 get_vmalloc_info(&vmi); in meminfo_proc_show()
194 vmi.used >> 10, in meminfo_proc_show()
195 vmi.largest_chunk >> 10 in meminfo_proc_show()
/linux-4.1.27/include/linux/
Dvmalloc.h192 extern void get_vmalloc_info(struct vmalloc_info *vmi);
196 #define get_vmalloc_info(vmi) \ argument
198 (vmi)->used = 0; \
199 (vmi)->largest_chunk = 0; \
/linux-4.1.27/arch/ia64/kernel/
Dsetup.c925 pal_vm_info_2_u_t vmi; in cpu_init() local
1031 if (ia64_pal_vm_summary(NULL, &vmi) == 0) { in cpu_init()
1032 max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; in cpu_init()
1033 setup_ptcg_sem(vmi.pal_vm_info_2_s.max_purges, NPTCG_FROM_PAL); in cpu_init()
/linux-4.1.27/mm/
Dvmalloc.c2691 void get_vmalloc_info(struct vmalloc_info *vmi) in get_vmalloc_info() argument
2697 vmi->used = 0; in get_vmalloc_info()
2698 vmi->largest_chunk = 0; in get_vmalloc_info()
2705 vmi->largest_chunk = VMALLOC_TOTAL; in get_vmalloc_info()
2723 vmi->used += (va->va_end - va->va_start); in get_vmalloc_info()
2726 if (vmi->largest_chunk < free_area_size) in get_vmalloc_info()
2727 vmi->largest_chunk = free_area_size; in get_vmalloc_info()
2732 if (VMALLOC_END - prev_end > vmi->largest_chunk) in get_vmalloc_info()
2733 vmi->largest_chunk = VMALLOC_END - prev_end; in get_vmalloc_info()