Lines Matching refs:meminfo
533 static void parse_meminfo(unsigned long meminfo[MI_MAX])
553 memset(meminfo, 0, sizeof(meminfo[0]) * MI_MAX);
562 meminfo[i] = strtoul(c+1, NULL, 10);
571 unsigned long meminfo[MI_MAX]; local
573 parse_meminfo(meminfo);
580 meminfo[MI_MEMTOTAL] - meminfo[MI_MEMFREE],
581 meminfo[MI_MEMFREE],
582 meminfo[MI_MEMSHARED] + meminfo[MI_SHMEM],
583 meminfo[MI_BUFFERS],
584 meminfo[MI_CACHED]);
602 return meminfo[MI_MEMTOTAL];
796 unsigned long meminfo[MI_MAX]; local
798 parse_meminfo(meminfo);
802 meminfo[MI_MEMTOTAL],
803 meminfo[MI_ANONPAGES],
804 meminfo[MI_MAPPED],
805 meminfo[MI_MEMFREE]);
810 meminfo[MI_SLAB],
811 meminfo[MI_BUFFERS],
812 meminfo[MI_CACHED],
813 meminfo[MI_DIRTY],
814 meminfo[MI_WRITEBACK]);
819 meminfo[MI_SWAPTOTAL],
820 meminfo[MI_SWAPFREE]);