/system/extras/procmem/ |
D | procmem.c | 27 pm_memusage_t usage; member 36 static void usage(const char *cmd); 78 usage(argv[0]); in main() 92 usage(argv[0]); in main() 169 error = pm_map_workingset(mi->map, &mi->usage); in main() 171 error = pm_map_usage(mi->map, &mi->usage); in main() 178 pm_memusage_add(&total_usage, &mi->usage); in main() 241 if ((!mi) || (hide_zeros && !mi->usage.rss)) in main() 246 (long)mi->usage.rss / 1024, in main() 247 (long)mi->usage.pss / 1024, in main() [all …]
|
/system/core/toolbox/ |
D | prlimit.c | 39 usage(const char *s) in usage() function 53 usage(*argv); in prlimit_main() 56 usage(*argv); in prlimit_main() 59 usage(*argv); in prlimit_main() 62 usage(*argv); in prlimit_main() 65 usage(*argv); in prlimit_main()
|
D | log.c | 80 static int usage(const char *s) in usage() function 116 usage(argv[0]); in log_main() 121 usage(argv[0]); in log_main() 127 usage(argv[0]); in log_main() 138 usage(argv[0]); in log_main()
|
D | swapon.c | 7 static void usage(char *name) in usage() function 40 usage(argv[0]); in swapon_main() 47 usage(argv[0]); in swapon_main() 56 usage(argv[0]); in swapon_main()
|
D | setenforce.c | 10 static void usage(const char *progname) in usage() function 21 usage(argv[0]); in setenforce_main() 36 usage(argv[0]); in setenforce_main()
|
D | restorecon.c | 10 static void usage(void) in usage() function 45 usage(); in restorecon_main() 52 usage(); in restorecon_main()
|
D | readlink.c | 39 static void usage(char* name) { in usage() function 59 usage(argv[0]); in readlink_main() 65 usage(argv[0]); in readlink_main()
|
D | syren.c | 55 static int usage(void) in usage() function 71 return usage(); in syren_main() 88 return usage(); in syren_main() 93 return usage(); in syren_main() 133 return usage(); in syren_main()
|
D | renice.c | 41 usage(const char *s) in usage() function 115 usage(cmd); in renice_main() 123 usage(cmd); in renice_main() 130 usage(cmd); in renice_main()
|
D | getsebool.c | 9 static void usage(const char *progname) in usage() function 24 usage(argv[0]); in getsebool_main() 45 usage(argv[0]); in getsebool_main() 55 usage(argv[0]); in getsebool_main()
|
D | mkdir.c | 8 static int usage() in usage() function 20 return usage(); in mkdir_main() 28 return usage(); in mkdir_main()
|
/system/extras/procrank/ |
D | procrank.c | 31 pm_memusage_t usage; member 35 static void usage(char *myname); 161 if (!strcmp(argv[arg], "-h")) { usage(argv[0]); exit(0); } in main() 163 usage(argv[0]); in main() 193 pm_memusage_zero(&procs[i]->usage); in main() 202 error = pm_process_usage_flags(proc, &procs[i]->usage, flags_mask, in main() 206 error = pm_process_workingset(proc, &procs[i]->usage, 0); in main() 217 if (ws != WS_RESET && procs[i]->usage.swap) { in main() 230 if (procs[i]->usage.vss) { in main() 269 total_pss += procs[i]->usage.pss; in main() [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr_main.c | 25 static void usage(void) in usage() function 41 usage(); in parse_options() 46 usage(); in parse_options() 52 usage(); in parse_options() 60 usage(); in parse_options() 67 usage(); in parse_options() 72 usage(); in parse_options()
|
/system/extras/libpagemap/ |
D | pm_map.c | 35 pm_memusage_t usage; in pm_map_usage_flags() local 44 pm_memusage_zero(&usage); in pm_map_usage_flags() 47 usage.vss += map->proc->ker->pagesize; in pm_map_usage_flags() 67 usage.rss += (count >= 1) ? map->proc->ker->pagesize : (0); in pm_map_usage_flags() 68 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_usage_flags() 69 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage_flags() 71 usage.swap += map->proc->ker->pagesize; in pm_map_usage_flags() 75 memcpy(usage_out, &usage, sizeof(usage)); in pm_map_usage_flags()
|
/system/core/toolbox/upstream-netbsd/usr.bin/printenv/ |
D | printenv.c | 51 __dead static void usage(void); 71 usage(); in main() 82 usage(); in main() 98 usage(void) in usage() function
|
/system/core/toolbox/upstream-netbsd/bin/rmdir/ |
D | rmdir.c | 56 __dead static void usage(void); 74 usage(); in main() 80 usage(); in main() 116 usage(void) in usage() function
|
/system/core/toolbox/upstream-netbsd/bin/sleep/ |
D | sleep.c | 57 __dead static void usage(void); 84 usage(); in main() 90 usage(); in main() 113 usage(); in main() 146 usage(void) in usage() function
|
/system/extras/f2fs_utils/ |
D | make_f2fs_main.c | 33 static void usage(char *path) in usage() function 52 usage(argv[0]); in main() 60 usage(argv[0]); in main() 68 usage(argv[0]); in main()
|
D | mkf2fsuserimg.sh | 5 function usage() { function 15 usage
|
/system/extras/librank/ |
D | librank.c | 38 pm_memusage_t usage; member 50 static void usage(char *myname); 152 pm_memusage_zero(&mapping->usage); in get_mapping() 278 usage(argv[0]); in main() 307 usage(argv[0]); in main() 374 pm_memusage_add(&mi->usage, &map_usage); in main() 406 mi->usage.vss / 1024, in main() 407 mi->usage.rss / 1024, in main() 408 mi->usage.pss / 1024, in main() 409 mi->usage.uss / 1024); in main() [all …]
|
/system/core/toolbox/upstream-netbsd/bin/kill/ |
D | kill.c | 69 __dead static void usage(void); 81 usage(); in main() 89 usage(); in main() 92 usage(); in main() 116 usage(); in main() 146 usage(); in main() 243 usage(void) in usage() function
|
/system/extras/ext4_utils/ |
D | make_ext4fs_main.c | 51 static void usage(char *path) in usage() function 114 usage(argv[0]); in main() 163 usage(argv[0]); in main() 192 usage(argv[0]); in main() 198 usage(argv[0]); in main() 204 usage(argv[0]); in main() 215 usage(argv[0]); in main()
|
D | ext4fixup_main.c | 23 static void usage(char *me) in usage() function 55 usage(me); in main() 63 usage(me); in main()
|
/system/core/logwrapper/ |
D | logwrapper.c | 34 void usage() { in usage() function 73 usage(); in main() 80 usage(); in main()
|
/system/core/toolbox/upstream-netbsd/bin/ln/ |
D | ln.c | 68 __dead static void usage(void); 102 usage(); in main() 119 usage(); in main() 143 usage(); in main() 222 usage(void) in usage() function
|