Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/test/ !
Dtest-cap-list.c58 _cleanup_free_ char *t1 = NULL; in test_capability_set_one() local
61 assert_se(capability_set_to_string_alloc(c, &t1) == 0); in test_capability_set_one()
62 assert_se(streq(t1, t)); in test_capability_set_one()
64 assert_se(capability_set_from_string(t1, &c1) == 0); in test_capability_set_one()
67 free(t1); in test_capability_set_one()
68 assert_se(t1 = strjoin("'cap_chown cap_dac_override' \"cap_setgid cap_setuid\"", t, in test_capability_set_one()
70 assert_se(capability_set_from_string(t1, &c1) == 0); in test_capability_set_one()
Dtest-ellipsize.c16 _cleanup_free_ char *t1 = NULL, *t2 = NULL, *t3 = NULL; in test_ellipsize_mem_one() local
38 t1 = ellipsize_mem(n, old_length, new_length, 30); in test_ellipsize_mem_one()
39 log_info("30%% → %s utf8_console_width=%zu", t1, utf8_console_width(t1)); in test_ellipsize_mem_one()
41 assert_se(utf8_console_width(t1) == max_width); in test_ellipsize_mem_one()
43 assert_se(utf8_console_width(t1) <= max_width); in test_ellipsize_mem_one()
60 assert_se(streq(t1, n)); in test_ellipsize_mem_one()
Dtest-recurse-dir.c123 usec_t t1, t2, t3, t4; in main() local
135 t1 = now(CLOCK_MONOTONIC); in main()
148 …log_info("recurse_dir(): %s – nftw(): %s", FORMAT_TIMESPAN(t2 - t1, 1), FORMAT_TIMESPAN(t4 - t3, 1… in main()
/systemd-251/src/libsystemd-network/ !
Dsd-dhcp-lease.c67 int sd_dhcp_lease_get_t1(sd_dhcp_lease *lease, uint32_t *t1) { in sd_dhcp_lease_get_t1() argument
69 assert_return(t1, -EINVAL); in sd_dhcp_lease_get_t1()
71 if (lease->t1 <= 0) in sd_dhcp_lease_get_t1()
74 *t1 = lease->t1; in sd_dhcp_lease_get_t1()
754 r = lease_parse_u32(option, len, &lease->t1, 1); in dhcp_lease_parse_options()
975 uint32_t t1, t2, lifetime; in dhcp_lease_save() local
1021 r = sd_dhcp_lease_get_t1(lease, &t1); in dhcp_lease_save()
1023 fprintf(f, "T1=%" PRIu32 "\n", t1); in dhcp_lease_save()
1162 *t1 = NULL, in dhcp_lease_load() local
1203 "T1", &t1, in dhcp_lease_load()
[all …]
Dsd-dhcp6-lease.c43 uint32_t t1 = UINT32_MAX, t2 = UINT32_MAX, min_valid_lt = UINT32_MAX; in dhcp6_lease_set_lifetime() local
49 t1 = MIN(t1, be32toh(lease->ia_na->header.lifetime_t1)); in dhcp6_lease_set_lifetime()
57 t1 = MIN(t1, be32toh(lease->ia_pd->header.lifetime_t1)); in dhcp6_lease_set_lifetime()
67 t1 = min_valid_lt / 2; in dhcp6_lease_set_lifetime()
72 lease->lifetime_t1 = sec2usec(t1); in dhcp6_lease_set_lifetime()
Ddhcp-lease-internal.h33 uint32_t t1; member
Dsd-dhcp-client.c1696 if (client->lease->t1 == 0 || client->lease->t1 >= client->lease->t2) in client_set_lease_timeouts()
1697 client->lease->t1 = T1_DEFAULT(client->lease->lifetime); in client_set_lease_timeouts()
1701 if (client->lease->t1 >= client->lease->t2) in client_set_lease_timeouts()
1705 client->t1_time = client->request_sent + client->lease->t1 * USEC_PER_SEC; in client_set_lease_timeouts()
/systemd-251/src/oom/ !
Dtest-oomd-util.c292 _cleanup_set_free_ Set *t1 = NULL, *t2 = NULL, *t3 = NULL; in test_oomd_pressure_above() local
313 assert_se(oomd_pressure_above(h1, 0 /* duration */, &t1) == 1); in test_oomd_pressure_above()
314 assert_se(set_contains(t1, &ctx[0])); in test_oomd_pressure_above()
/systemd-251/src/basic/linux/hdlc/ !
Dioctl.h86 unsigned int t1; /* timeout t1 */ member
/systemd-251/src/systemd/ !
Dsd-dhcp-lease.h51 int sd_dhcp_lease_get_t1(sd_dhcp_lease *lease, uint32_t *t1);