Searched defs:n_pids (Results 1 - 1 of 1) sorted by relevance

/systemd/src/shared/
H A Dcgroup-show.c50 static void show_pid_array(pid_t pids[], unsigned n_pids, const char *prefix, unsigned n_columns, bool extra, bool more, bool kernel_threads, OutputFlags flags) { argument
53 if (n_pids == 0)
56 qsort(pids, n_pids, sizeof(pid_t), compare);
59 for (j = 0, i = 1; i < n_pids; i++) {
64 n_pids = j + 1;
75 for (i = 0; i < n_pids; i++) {
83 printf("%s%s", prefix, draw_special_char(((more || i < n_pids-1) ? DRAW_TREE_BRANCH : DRAW_TREE_RIGHT)));
218 static int show_extra_pids(const char *controller, const char *path, const char *prefix, unsigned n_columns, const pid_t pids[], unsigned n_pids, OutputFlags flags) { argument
225 if (n_pids <= 0)
233 copy = new(pid_t, n_pids);
[all...]

Completed in 596 milliseconds