Searched refs:P2K (Results 1 – 1 of 1) sorted by relevance
21 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ macro99 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()100 mem_data->freeram = P2K(val.freeram); in appldata_get_mem_data()101 mem_data->totalhigh = P2K(val.totalhigh); in appldata_get_mem_data()102 mem_data->freehigh = P2K(val.freehigh); in appldata_get_mem_data()103 mem_data->bufferram = P2K(val.bufferram); in appldata_get_mem_data()104 mem_data->cached = P2K(global_page_state(NR_FILE_PAGES) in appldata_get_mem_data()108 mem_data->totalswap = P2K(val.totalswap); in appldata_get_mem_data()109 mem_data->freeswap = P2K(val.freeswap); in appldata_get_mem_data()