Home
last modified time | relevance | path

Searched refs:get_ps (Results 1 - 2 of 2) sorted by relevance

/third_party/toybox/toys/posix/
H A Dps.c229 /* The function get_ps() reads all the data about one process, saving it in
636 // Display process data that get_ps() read from /proc, formatting via TT.fields
702 static int get_ps(struct dirtree *new) in get_ps() function
999 // wrapper for get_ps() that also collects threads under each processes
1006 if (!new->parent) return get_ps(new); in get_threads()
1010 if (!get_ps(new)) { in get_threads()
1021 new->child = dirtree_flagread(toybuf, DIRTREE_SHUTUP|DIRTREE_PROC, get_ps); in get_threads()
1243 // Collect ->extra field from leaf nodes DIRTREE_SAVEd by get_ps() into array
1361 ? get_threads : get_ps); in ps_main()
1495 (FLAG(H) || (TT.bits&(_PS_TID|_PS_TCNT))) ? get_threads : get_ps); in top_common()
[all...]
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c186 /* The function get_ps() reads all the data about one process, saving it in
593 // Display process data that get_ps() read from /proc, formatting via TT.fields
659 static int get_ps(struct dirtree *new) in get_ps() function
956 // wrapper for get_ps() that also collects threads under each processes
963 if (!new->parent) return get_ps(new); in get_threads()
967 if (!get_ps(new)) { in get_threads()
978 new->child = dirtree_flagread(toybuf, DIRTREE_SHUTUP|DIRTREE_PROC, get_ps); in get_threads()
1200 // Collect ->extra field from leaf nodes DIRTREE_SAVEd by get_ps() into array
1352 (FLAG(H) || (TT.bits&(_PS_TID|_PS_TCNT))) ? get_threads : get_ps); in top_common()
1760 dirtree_flagread("/proc", DIRTREE_SHUTUP|DIRTREE_PROC, get_ps); in pgrep_main()
[all...]

Completed in 6 milliseconds