/systemd/src/shared/ |
H A D | cgroup-show.c | 50 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 68 n_columns = 0; 70 if (n_columns > pid_width+2) 71 n_columns -= pid_width+2; 73 n_columns = 20; 78 get_process_cmdline(pids[i], n_columns, true, &t); 90 static int show_cgroup_one_by_path(const char *path, const char *prefix, unsigned n_columns, bool more, bool kernel_threads, OutputFlags flags) { argument 123 show_pid_array(pids, n, prefix, n_columns, false, more, kernel_threads, flags); 128 int show_cgroup_by_path(const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, OutputFlags flags) { argument 137 if (n_columns < 205 show_cgroup(const char *controller, const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, OutputFlags flags) argument 218 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 255 show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags) argument 267 show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags) argument [all...] |
H A D | cgroup-show.h | 31 int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags); 32 int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
|
H A D | logs-show.h | 38 unsigned n_columns, 57 unsigned n_columns,
|
H A D | logs-show.c | 128 static bool print_multiline(FILE *f, unsigned prefix, unsigned n_columns, OutputFlags flags, int priority, const char* message, size_t message_len) { argument 170 (prefix + len + 1 < n_columns && !tail_line)) { 180 if (prefix < n_columns && n_columns - prefix >= 3) { 181 if (n_columns - prefix > (unsigned) len + 3) 188 e = ellipsize_mem(pos, len, n_columns - prefix, 213 unsigned n_columns, 398 print_multiline(f, n + 2, n_columns, flags, p, message, message_len); 411 unsigned n_columns, 508 unsigned n_columns, 209 output_short( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags) argument 407 output_verbose( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags) argument 504 output_export( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags) argument 635 output_json( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags) argument 853 output_cat( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags) argument 905 output_journal( FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, OutputFlags flags, bool *ellipsized) argument 944 show_journal(FILE *f, sd_journal *j, OutputMode mode, unsigned n_columns, usec_t not_before, unsigned how_many, OutputFlags flags, bool *ellipsized) argument 1241 show_journal_by_unit( FILE *f, const char *unit, OutputMode mode, unsigned n_columns, usec_t not_before, unsigned how_many, uid_t uid, OutputFlags flags, int journal_open_flags, bool system_unit, bool *ellipsized) argument [all...] |
/systemd/src/login/ |
H A D | sysfs-show.c | 40 unsigned n_columns) { 109 k = ellipsize(sysfs, n_columns, 20); 123 k = ellipsize(l, n_columns, 70); 137 show_sysfs_one(udev, seat, item, sysfs, p, n_columns - 2); 144 int show_sysfs(const char *seat, const char *prefix, unsigned n_columns) { argument 150 if (n_columns <= 0) 151 n_columns = columns(); 184 show_sysfs_one(udev, seat, &first, "/", prefix, n_columns); 34 show_sysfs_one( struct udev *udev, const char *seat, struct udev_list_entry **item, const char *sub, const char *prefix, unsigned n_columns) argument
|
/systemd/src/firstboot/ |
H A D | firstboot.c | 106 static int show_menu(char **x, unsigned n_columns, unsigned width, unsigned percentage) { argument 110 assert(n_columns > 0); 113 per_column = (n + n_columns - 1) / n_columns; 127 for (j = 0; j < n_columns; j ++) {
|