HomeSort by: relevance | last modified time | path
    Searched refs:swaptotal (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/top/dist/machine/
m_linux.c 548 unsigned long swaptotal = 0; local
616 else if (!swap && strncmp(p, "SwapTotal:", 10) == 0)
619 swaptotal = strtoul(p, &p, 10);
621 else if (!swap && swaptotal > 0 && strncmp(p, "SwapFree:", 9) == 0)
625 swap_stats[SWAPUSED] = swaptotal - memfree;
m_linuxthr.c 431 unsigned long swaptotal = 0; local
499 else if (!swap && strncmp(p, "SwapTotal:", 10) == 0)
502 swaptotal = strtoul(p, &p, 10);
504 else if (!swap && swaptotal > 0 && strncmp(p, "SwapFree:", 9) == 0)
508 swap_stats[SWAPUSED] = swaptotal - memfree;

Completed in 29 milliseconds