Searched refs:vmi (Results 1 – 4 of 4) sorted by relevance
30 struct vmalloc_info vmi; in meminfo_proc_show() local52 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()
192 extern void get_vmalloc_info(struct vmalloc_info *vmi);196 #define get_vmalloc_info(vmi) \ argument198 (vmi)->used = 0; \199 (vmi)->largest_chunk = 0; \
925 pal_vm_info_2_u_t vmi; in cpu_init() local1031 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()
2691 void get_vmalloc_info(struct vmalloc_info *vmi) in get_vmalloc_info() argument2697 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()