Searched refs:max (Results 1 - 9 of 9) sorted by relevance
/systemd/src/basic/ |
H A D | string-table.h | 77 #define DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(name,type,max) \ 80 if (i < 0 || i > max) \ 101 if (safe_atou(s, &u) >= 0 && u <= max) \
|
/systemd/src/fsck/ |
H A D | fsck.c | 159 static double percent(int pass, unsigned long cur, unsigned long max) { argument 169 if ((unsigned) pass >= ELEMENTSOF(pass_table) || max == 0) 174 (double) cur / (double) max; 199 unsigned long cur, max; local 204 if (fscanf(f, "%i %lu %lu %ms", &pass, &cur, &max, &device) != 4) { 217 /* Only show one progress counter at max */ 232 p = percent(pass, cur, max);
|
/systemd/src/bootchart/ |
H A D | svg.c | 529 double max = 0.0; local 554 /* find the max IO first */ 577 if (tot > max) { 578 max = tot; 584 if (tot > max) 585 max = tot; 615 if (max > 0) 616 pbi = tot / max; 630 max / 1024.0 / (interval / 1000000000.0)); 642 double max local [all...] |
/systemd/tools/ |
H A D | gdb-sd_dump_hashmaps.py | 88 print "max block: %s" % max(blocks, key=lambda a: a[1])
|
/systemd/src/journal-remote/ |
H A D | journal-gatewayd.c | 148 size_t max) { 156 assert(max > 0); 248 if (n > max) 249 n = max; 538 size_t max) { 546 assert(max > 0); 603 if (n > max) 604 n = max; 144 request_reader_entries( void *cls, uint64_t pos, char *buf, size_t max) argument 534 request_reader_fields( void *cls, uint64_t pos, char *buf, size_t max) argument
|
/systemd/src/shared/ |
H A D | firewall-util.c | 268 mr->range[0].min.tcp.port = mr->range[0].max.tcp.port = htons(remote_port); 270 mr->range[0].min.udp.port = mr->range[0].max.udp.port = htons(remote_port);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-creds.c | 727 size_t sz, max; local 733 max = DIV_ROUND_UP(cap_last_cap(), 32U); 741 if (sz > max) 745 c->capability = new0(uint32_t, max * 4); 763 c->capability[offset * max + (sz - i - 1)] = v;
|
H A D | bus-message.c | 2320 static int type_stack_push(TypeStack *stack, unsigned max, unsigned *i, const char *types, unsigned n_struct, unsigned n_array) { argument 2322 assert(max > 0); 2324 if (*i >= max) 2335 static int type_stack_pop(TypeStack *stack, unsigned max, unsigned *i, const char **types, unsigned *n_struct, unsigned *n_array) { argument 2337 assert(max > 0);
|
/systemd/src/core/ |
H A D | load-fragment.c | 887 int i, min, max, r; local 902 max = sched_get_priority_max(c->cpu_sched_policy); 904 if (i < min || i > max) {
|
Completed in 1914 milliseconds