Home
last modified time | relevance | path

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

1234

/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 ((!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/
Dprlimit.c39 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()
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()
Dswapon.c7 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()
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()
Drestorecon.c10 static void usage(void) in usage() function
45 usage(); in restorecon_main()
52 usage(); in restorecon_main()
Dreadlink.c39 static void usage(char* name) { in usage() function
59 usage(argv[0]); in readlink_main()
65 usage(argv[0]); in readlink_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()
133 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
20 return usage(); in mkdir_main()
28 return usage(); in mkdir_main()
/system/extras/procrank/
Dprocrank.c31 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/
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/libpagemap/
Dpm_map.c35 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/
Dprintenv.c51 __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/
Drmdir.c56 __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/
Dsleep.c57 __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/
Dmake_f2fs_main.c33 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()
Dmkf2fsuserimg.sh5 function usage() { function
15 usage
/system/extras/librank/
Dlibrank.c38 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/
Dkill.c69 __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/
Dmake_ext4fs_main.c51 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()
Dext4fixup_main.c23 static void usage(char *me) in usage() function
55 usage(me); in main()
63 usage(me); in main()
/system/core/logwrapper/
Dlogwrapper.c34 void usage() { in usage() function
73 usage(); in main()
80 usage(); in main()
/system/core/toolbox/upstream-netbsd/bin/ln/
Dln.c68 __dead static void usage(void);
102 usage(); in main()
119 usage(); in main()
143 usage(); in main()
222 usage(void) in usage() function

1234