Searched refs:swap (Results 1 - 11 of 11) sorted by relevance

/system/extras/libpagemap/
H A Dpm_memusage.c20 mu->vss = mu->rss = mu->pss = mu->uss = mu->swap = 0;
28 a->swap += b->swap;
H A Dpm_map.c71 usage.swap += map->proc->ker->pagesize;
/system/core/toolbox/
H A Dswapoff.c4 #include <sys/swap.h>
H A Dswapon.c6 #include <sys/swap.h>
H A Dmkswap.c4 #include <sys/swap.h>
47 /* Determine the length of the swap file */
68 fprintf(stderr, "Failed to write swap header into %s\n", argv[1]);
82 fprintf(stderr, "Failed to write magic swap header into %s\n", argv[1]);
/system/extras/procrank/
H A Dprocrank.c45 declare_sort(swap); variable
215 if (ws != WS_RESET && procs[i]->usage.swap) {
269 total_swap += procs[i]->usage.swap;
289 printf("%6dK ", procs[i]->usage.swap / 1024);
342 " -s Sort by swap.\n"
346 " -C Only show non-cached (ram/swap backed) pages\n"
431 create_sort(swap, numcmp)
/system/extras/librank/
H A Dlibrank.c64 declare_sort(swap); variable
249 {"swap", 0, 0, 's'},
369 if (map_usage.swap) {
410 printf("%6dK ", mi->usage.swap / 1024);
431 " -s Sort processes by swap.\n"
438 " -C Only show non-cached (ram/swap backed) pages\n"
481 create_sort(swap, numcmp)
/system/extras/libpagemap/include/pagemap/
H A Dpagemap.h32 size_t swap; member in struct:pm_memusage
/system/core/libpixelflinger/
H A Dfixed.cpp248 static inline void swap(T& a, T& b) { function
330 swap(a, b);
H A Dtrap.cpp88 static inline void swap(T& a, T& b) { function in namespace:android
527 // so if we get a CW triangle, we need to swap two of its vertices
529 swap(x0, x1);
530 swap(y0, y1);
675 swap(top, bot);
731 swap(left, right);
865 swap(top, bot);
1010 swap(l_min, l_max);
1017 swap(r_min, r_max);
/system/core/fs_mgr/
H A Dfs_mgr.c30 #include <sys/swap.h>
590 /* Skip swap and raw partition entries such as boot, recovery, etc */
591 if (!strcmp(fstab->recs[i].fs_type, "swap") ||
672 /* If this swap or a raw partition, report an error */
673 if (!strcmp(fstab->recs[i].fs_type, "swap") ||
781 /* Skip non-swap entries */
782 if (strcmp(fstab->recs[i].fs_type, "swap")) {
808 /* Initialize the swap area */

Completed in 422 milliseconds