Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 69) sorted by relevance

123

/system/extras/procmem/
Dprocmem.c27 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 (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/fs_mgr/
Dfs_mgr_main.c25 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/procrank/
Dprocrank.c29 pm_memusage_t usage; member
33 static void usage(char *myname);
149 if (!strcmp(argv[arg], "-h")) { usage(argv[0]); exit(0); } in main()
151 usage(argv[0]); in main()
181 pm_memusage_zero(&procs[i]->usage); in main()
190 error = pm_process_usage(proc, &procs[i]->usage); in main()
193 error = pm_process_workingset(proc, &procs[i]->usage, 0); in main()
213 if (procs[i]->usage.vss) { in main()
241 total_pss += procs[i]->usage.pss; in main()
242 total_uss += procs[i]->usage.uss; in main()
[all …]
/system/extras/libpagemap/
Dpm_map.c34 pm_memusage_t usage; in pm_map_usage() local
43 pm_memusage_zero(&usage); in pm_map_usage()
54 usage.vss += map->proc->ker->pagesize; in pm_map_usage()
55 usage.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage()
56 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_usage()
57 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage()
60 memcpy(usage_out, &usage, sizeof(usage)); in pm_map_usage()
/system/core/toolbox/
Dlog.c80 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()
Dsleep.c37 usage(const char *s) in usage() function
49 usage(argv[0]); in sleep_main()
55 usage(argv[0]); in sleep_main()
Dln.c6 static int usage() in usage() function
16 if(argc < 2) return usage(); in ln_main()
24 if(argc < 3) return usage(); in ln_main()
Dsetenforce.c10 static void usage(const char *progname) in usage() function
21 usage(argv[0]); in setenforce_main()
36 usage(argv[0]); in setenforce_main()
Dtouch.c9 static void usage(void) in usage() function
33 usage(); in touch_main()
44 usage(); in touch_main()
51 usage(); in touch_main()
Dsyren.c55 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()
129 return usage(); in syren_main()
Drenice.c41 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()
Dgetsebool.c9 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()
Dmkdir.c8 static int usage() in usage() function
21 return usage(); in mkdir_main()
29 return usage(); in mkdir_main()
Drmdir.c6 static int usage() in usage() function
16 if(argc < 2) return usage(); in rmdir_main()
Ddu.c65 static void usage(void);
111 usage(); in du_main()
136 usage(); in du_main()
163 usage(); in du_main()
167 usage(); in du_main()
316 usage(void) in usage() function
Dr.c7 static int usage() in usage() function
21 if(argc < 2) return usage(); in r_main()
33 if(argc < 2) return usage(); in r_main()
/system/extras/ext4_utils/
Dmake_ext4fs_main.c50 static void usage(char *path) in usage() function
111 usage(argv[0]); in main()
147 usage(argv[0]); in main()
166 usage(argv[0]); in main()
172 usage(argv[0]); in main()
178 usage(argv[0]); in main()
189 usage(argv[0]); in main()
Dext4fixup_main.c23 static void usage(char *me) in usage() function
55 usage(me); in main()
63 usage(me); in main()
/system/extras/librank/
Dlibrank.c36 pm_memusage_t usage; member
48 static void usage(char *myname);
143 pm_memusage_zero(&mapping->usage); in get_mapping()
197 usage(argv[0]); in main()
209 if (!strcmp(argv[i], "-h")) { usage(argv[0]); exit(0); } in main()
211 usage(argv[0]); in main()
263 pm_memusage_add(&mi->usage, &map_usage); in main()
285 mi->usage.vss / 1024, in main()
286 mi->usage.rss / 1024, in main()
287 mi->usage.pss / 1024, in main()
[all …]
/system/core/logwrapper/
Dlogwrapper.c33 void usage() { in usage() function
72 usage(); in main()
79 usage(); in main()
/system/bluetooth/tools/
Dbttest.c58 static void usage() { in usage() function
71 usage(); in main()
80 usage(); in main()
/system/core/adb/
Dcommandline.c209 int usage() in usage() function
711 return usage(); in backup()
723 if (argc < 2) return usage(); in backup()
759 if (argc != 2) return usage(); in restore()
960 return usage(); in adb_commandline()
978 if (argc < 2) return usage(); in adb_commandline()
989 return usage(); in adb_commandline()
995 if(argc < 2 || argv[0][2] != '\0') return usage(); in adb_commandline()
1009 if (argc < 2) return usage(); in adb_commandline()
1020 if (argc < 2) return usage(); in adb_commandline()
[all …]
/system/core/mkbootimg/
Dmkbootimg.c58 int usage(void) in usage() function
127 return usage(); in main()
161 return usage(); in main()
173 return usage(); in main()
178 return usage(); in main()
183 return usage(); in main()
188 return usage(); in main()
/system/core/libsparse/
Dimg2simg.c41 void usage() in usage() function
57 usage(); in main()
66 usage(); in main()
/system/core/netcfg/
Dnetcfg.c45 void usage(void) in usage() function
151 if(argc < 3) usage(); in main()
154 if(strlen(iname) > 16) usage(); in main()
181 usage(); in main()

123