Lines Matching refs:mem_data
84 struct appldata_mem_data *mem_data; in appldata_get_mem_data() local
86 mem_data = data; in appldata_get_mem_data()
87 mem_data->sync_count_1++; in appldata_get_mem_data()
90 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data()
91 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data()
92 mem_data->pswpin = ev[PSWPIN]; in appldata_get_mem_data()
93 mem_data->pswpout = ev[PSWPOUT]; in appldata_get_mem_data()
94 mem_data->pgalloc = ev[PGALLOC_NORMAL]; in appldata_get_mem_data()
95 mem_data->pgalloc += ev[PGALLOC_DMA]; in appldata_get_mem_data()
96 mem_data->pgfault = ev[PGFAULT]; in appldata_get_mem_data()
97 mem_data->pgmajfault = ev[PGMAJFAULT]; in appldata_get_mem_data()
100 mem_data->sharedram = val.sharedram; in appldata_get_mem_data()
101 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
102 mem_data->freeram = P2K(val.freeram); in appldata_get_mem_data()
103 mem_data->totalhigh = P2K(val.totalhigh); in appldata_get_mem_data()
104 mem_data->freehigh = P2K(val.freehigh); in appldata_get_mem_data()
105 mem_data->bufferram = P2K(val.bufferram); in appldata_get_mem_data()
106 mem_data->cached = P2K(global_page_state(NR_FILE_PAGES) in appldata_get_mem_data()
110 mem_data->totalswap = P2K(val.totalswap); in appldata_get_mem_data()
111 mem_data->freeswap = P2K(val.freeswap); in appldata_get_mem_data()
113 mem_data->timestamp = get_clock(); in appldata_get_mem_data()
114 mem_data->sync_count_2++; in appldata_get_mem_data()