/systemd-251/src/basic/ |
D | random-util.c | 285 return random_u64(); in random_u64_range() 292 x = random_u64(); in random_u64_range()
|
D | tmpfile-util.c | 154 random_u64()) < 0) in tempfn_random() 201 u = random_u64(); in tempfn_random_child()
|
D | random-util.h | 18 static inline uint64_t random_u64(void) { in random_u64() function
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-watch-bind.c | 58 assert_se(asprintf(&suffixed, "%s.%" PRIx64, d, random_u64()) >= 0); in thread_server() 62 assert_se(asprintf(&suffixed2, "%s.%" PRIx64, d, random_u64()) >= 0); in thread_server()
|
/systemd-251/src/resolve/ |
D | test-dnssec-complex.c | 20 u = 1 + (random_u64() & 3); in prefix_random() 26 assert_se(asprintf(&b, "x%" PRIu64 "x", random_u64())); in prefix_random()
|
/systemd-251/src/shared/ |
D | tests.c | 225 … if (asprintf(&scope, "%s-%" PRIx64 ".scope", program_invocation_short_name, random_u64()) < 0) in allocate_scope() 293 assert_se(asprintf(&cgroup_subroot, "%s/%" PRIx64, cgroup_root, random_u64()) >= 0); in enter_cgroup()
|
D | ask-password-api.c | 680 if (asprintf(&path, "/run/systemd/ask-password/sck.%" PRIx64, random_u64()) < 0) in create_socket()
|
D | creds-util.c | 145 if (asprintf(&t, "credential.secret.%016" PRIx64, random_u64()) < 0) in make_credential_host_secret()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-pkcs11.c | 65 … if (asprintf(&bindname, "@%" PRIx64"/cryptsetup-pkcs11/%s", random_u64(), volume_name) < 0) in decrypt_pkcs11_key()
|
D | cryptsetup-fido2.c | 53 … if (asprintf(&bindname, "@%" PRIx64"/cryptsetup-fido2/%s", random_u64(), volume_name) < 0) in acquire_fido2_key()
|
D | cryptsetup-tpm2.c | 98 … if (asprintf(&bindname, "@%" PRIx64"/cryptsetup-tpm2/%s", random_u64(), volume_name) < 0) in acquire_tpm2_key()
|
D | cryptsetup.c | 729 if (asprintf(&s, "@%" PRIx64"/cryptsetup/%s", random_u64(), volume) < 0) in make_bindname()
|
/systemd-251/src/test/ |
D | test-fd-util.c | 254 n_keep = (random_u64() % (n_fds / 2)); in test_close_all_fds_inner() 262 p = random_u64() % n_fds; in test_close_all_fds_inner()
|
D | test-socket-util.c | 499 assert_se(asprintf(&sh, "/tmp/%" PRIx64, random_u64()) >= 0); in TEST()
|
D | test-fileio.c | 901 assert_se(asprintf(&clientname, "@%" PRIx64 "/test-bindname", random_u64()) >= 0); in TEST()
|
D | test-fs-util.c | 802 size_t l = 16*1024 + random_u64() % (32 * 1024); /* some randomly sized buffer 16k…48k */ in TEST()
|
/systemd-251/src/libsystemd-network/ |
D | sd-ndisc.c | 260 (random_u64() % (2 * USEC_PER_SEC)) * val / 10 / USEC_PER_SEC; in ndisc_timeout_compute_random()
|
D | sd-ipv4acd.c | 201 next_timeout += (usec_t) random_u64() % random_usec; in ipv4acd_set_next_wakeup()
|
D | sd-lldp-tx.c | 530 (usec_t) random_u64() % LLDP_TX_JITTER_USEC); in lldp_tx_get_delay()
|
D | sd-dhcp-client.c | 756 ((int64_t)(random_u64() % (2 * USEC_PER_SEC)) - (int64_t)USEC_PER_SEC)
|
/systemd-251/src/core/ |
D | timer.c | 361 … add = (t->fixed_random_delay ? timer_get_fixed_delay_hash(t) : random_u64()) % t->random_usec; in add_random()
|
D | execute.c | 2687 if (asprintf(&bindname, "@%" PRIx64"/unit/%s/%s", random_u64(), unit, id) < 0) in load_credential()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-file.c | 3726 random_u64()) < 0) in journal_file_dispose()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 3060 if (strextendf(&arg_machine, "-%016" PRIx64, random_u64()) < 0) in determine_names()
|
/systemd-251/src/partition/ |
D | repart.c | 2578 if (asprintf(&dm_name, "luks-repart-%08" PRIx64, random_u64()) < 0) in partition_encrypt()
|