Home
last modified time | relevance | path

Searched refs:total (Results 1 – 22 of 22) sorted by relevance

/systemd-251/test/ !
Drun-unit-tests.py20 class total: class
21 total = None variable in total
43 total.total = len(tests)
50 total.good += 1
53 total.skip += 1
56 total.fail += 1
77 sys.exit(total.fail > 0)
/systemd-251/src/libsystemd-network/ !
Ddhcp6-option.c258 size_t total; in dhcp6_option_append_vendor_option() local
260 total = 4 + 2 + 2 + options->length; in dhcp6_option_append_vendor_option()
262 p = malloc(total); in dhcp6_option_append_vendor_option()
271 r = dhcp6_option_append(buf, buflen, SD_DHCP6_OPTION_VENDOR_OPTS, total, p); in dhcp6_option_append_vendor_option()
421 size_t total = 0, offset = 0; in dhcp6_option_append_user_class() local
434 q = realloc(p, total + len + 2); in dhcp6_option_append_user_class()
444 total += 2 + len; in dhcp6_option_append_user_class()
447 return dhcp6_option_append(buf, buflen, SD_DHCP6_OPTION_USER_CLASS, total, p); in dhcp6_option_append_user_class()
453 size_t total, offset; in dhcp6_option_append_vendor_class() local
466 total = sizeof(enterprise_identifier); in dhcp6_option_append_vendor_class()
[all …]
Ddhcp-option.c60 size_t total = 0; in option_append() local
71 total += 1 + len; in option_append()
74 if (*offset + 2 + total > size) in option_append()
78 options[*offset + 1] = total; in option_append()
/systemd-251/src/test/ !
Dtest-compress-benchmark.c83 size_t skipped = 0, compressed = 0, total = 0; in test_compress_decompress() local
124 total += size; in test_compress_decompress()
136 label, type, total, dt, in test_compress_decompress()
137 total / 1024. / 1024 / dt, in test_compress_decompress()
138 100 - compressed * 100. / total, in test_compress_decompress()
Dtest-psi-util.c47 assert_se(rp.total == 58761459); in TEST()
55 assert_se(rp.total == 58464525); in TEST()
67 assert_se(rp.total == 58761459); in TEST()
75 assert_se(rp.total == 58464525); in TEST()
Dtest-fileio.c342 unsigned long long total = 0, buffers = 0; in TEST() local
353 assert_se(safe_atollu(p, &total) == 0); in TEST()
364 assert_se(buffers < total); in TEST()
/systemd-251/src/journal/ !
Dtest-journal-verify.c66 usec_t from = 0, to = 0, total = 0; in main() local
111 assert_se(journal_file_verify(f, verification_key, &from, &to, &total, true) >= 0); in main()
117 FORMAT_TIMESPAN(total > to ? total - to : 0, 0)); in main()
Djournald-native.c190 uint64_t l, total; in server_process_entry() local
204 total = (e - p) + 1 + l; in server_process_entry()
205 … if (entry_size + total + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */ in server_process_entry()
207 entry_size + total, n + 1); in server_process_entry()
217 k = malloc(total); in server_process_entry()
/systemd-251/tools/ !
Dupdate-dbus-docs.py331 total = sum((item['stats'] for item in stats.values()), collections.Counter()) variable
332 total = 'total', dict(stats=total, modified=False) variable
335 for page, info in sorted(stats.items()) + [total]:
/systemd-251/src/fundamental/ !
Dsha256.c116 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP(ctx->total[TOTAL64_low] << 3); in sha256_finish_ctx()
117 ctx->buffer32[(bytes + pad) / 4] = SWAP((ctx->total[TOTAL64_high] << 3) in sha256_finish_ctx()
118 | (ctx->total[TOTAL64_low] >> 29)); in sha256_finish_ctx()
Dsha256.h20 uint32_t total[2]; member
/systemd-251/src/partition/ !
Drepart.c195 uint64_t start, end, total; member
309 .total = UINT64_MAX, in context_new()
550 static uint64_t charge_size(Context *context, uint64_t total, uint64_t amount) { in charge_size() argument
553 assert(amount <= total); in charge_size()
554 return LESS_BY(total, round_up_size(amount, context->grain_size)); in charge_size()
557 static uint64_t charge_weight(uint64_t total, uint64_t amount) { in charge_weight() argument
558 assert(amount <= total); in charge_weight()
559 return total - amount; in charge_weight()
1575 assert(context->total == UINT64_MAX); in context_load_partition_table()
1893 context->total = nsectors; in context_load_partition_table()
[all …]
/systemd-251/src/shared/ !
Dpsi-util.h19 usec_t total; member
Dpsi-util.c90 r = safe_atou64(v, &rp.total); in read_resource_pressure()
/systemd-251/src/libsystemd/sd-journal/ !
Djournal-file.c2118 uint64_t total; /* the total number of items in all arrays before this one in the chain */ member
2128 uint64_t total, in chain_cache_put() argument
2157 ci->total = total; in chain_cache_put()
2234 if (ci && i > ci->total) { in generic_array_get()
2236 i -= ci->total; in generic_array_get()
2237 t = ci->total; in generic_array_get()
2393 if (ci && n > ci->total && ci->begin != 0) { in generic_array_bisect()
2411 n -= ci->total; in generic_array_bisect()
2412 t = ci->total; in generic_array_bisect()
/systemd-251/src/machine/ !
Dmachinectl.c2394 uint64_t usage, total = 0; in clean_images() local
2422 total = UINT64_MAX; in clean_images()
2426 if (total != UINT64_MAX) in clean_images()
2427 total += usage; in clean_images()
2436 if (total == UINT64_MAX) in clean_images()
2440 c, FORMAT_BYTES(total)); in clean_images()
/systemd-251/shell-completion/zsh/ !
D_journalctl127 '--disk-usage[Show total disk usage]' \
/systemd-251/src/oom/ !
Doomd-util.c584 FORMAT_TIMESPAN(ctx->memory_pressure.total, USEC_PER_SEC), in oomd_dump_memory_pressure_cgroup_context()
/systemd-251/src/libsystemd/sd-bus/ !
Dbus-message.c5558 size_t total; in bus_message_get_blob() local
5567 total = BUS_MESSAGE_SIZE(m); in bus_message_get_blob()
5569 p = malloc(total); in bus_message_get_blob()
5577 assert(total == (size_t) ((uint8_t*) e - (uint8_t*) p)); in bus_message_get_blob()
5580 *sz = total; in bus_message_get_blob()
/systemd-251/docs/ !
DJOURNAL_FILE_FORMAT.md420 includes a practically unique string). **n_entries** is a counter of the total
/systemd-251/src/core/ !
Ddbus-manager.c3266 … SD_BUS_ARGS("t", firmware, "t", loader, "t", kernel, "t", initrd, "t", userspace, "t", total),
/systemd-251/ !
DNEWS204 libsystemd-shared-<version>.so library. This allows the total
8666 UserTasksMax= that defaults to 4096 and limits the total