Lines Matching defs:unit_times
107 struct unit_times {
187 return compare(((struct unit_times *)b)->time,
188 ((struct unit_times *)a)->time);
192 return compare(((struct unit_times *)a)->activating,
193 ((struct unit_times *)b)->activating);
196 static void free_unit_times(struct unit_times *t, unsigned n) {
197 struct unit_times *p;
339 static int acquire_time_data(sd_bus *bus, struct unit_times **out) {
344 struct unit_times *unit_times = NULL;
372 struct unit_times *t;
374 if (!GREEDY_REALLOC(unit_times, size, c+1)) {
379 t = unit_times+c;
431 *out = unit_times;
435 if (unit_times)
436 free_unit_times(unit_times, (unsigned) c);
547 struct unit_times *times;
552 struct unit_times *u;
570 qsort(times, n, sizeof(struct unit_times), compare_unit_start);
757 bool last, struct unit_times *times, struct boot_times *boot) {
801 struct unit_times *times;
820 struct unit_times *times;
896 struct unit_times *times;
948 struct unit_times *times;
986 struct unit_times *times;
994 qsort(times, n, sizeof(struct unit_times), compare_unit_time);