Searched refs:preference (Results 1 – 16 of 16) sorted by relevance
/systemd-251/src/oom/ |
D | oomd-util.h | 34 ManagedOOMPreference preference; member 81 r = CMP((*c1)->preference, (*c2)->preference); in compare_pgscan_rate_and_memory_usage() 100 r = CMP((*c1)->preference, (*c2)->preference); in compare_swap_usage()
|
D | test-oomd-util.c | 140 assert_se(ctx->preference == MANAGED_OOM_PREFERENCE_OMIT); in test_oomd_cgroup_context_acquire_and_insert() 142 assert_se(ctx->preference == MANAGED_OOM_PREFERENCE_NONE); in test_oomd_cgroup_context_acquire_and_insert() 152 assert_se(ctx->preference == MANAGED_OOM_PREFERENCE_AVOID); in test_oomd_cgroup_context_acquire_and_insert() 165 assert_se(ctx->preference == root_pref); in test_oomd_cgroup_context_acquire_and_insert() 196 assert_se(ctx->preference == MANAGED_OOM_PREFERENCE_NONE); in test_oomd_cgroup_context_acquire_and_insert() 407 .preference = MANAGED_OOM_PREFERENCE_OMIT }, in test_oomd_sort_cgroups() 412 .preference = MANAGED_OOM_PREFERENCE_AVOID }, in test_oomd_sort_cgroups()
|
D | oomd-util.c | 160 …item->path && prefix && !path_startswith(item->path, prefix)) || item->preference == MANAGED_OOM_P… in oomd_sort_cgroup_contexts() 348 ctx->preference = MANAGED_OOM_PREFERENCE_NONE; in oomd_cgroup_context_acquire() 367 ctx->preference = r == 1 ? MANAGED_OOM_PREFERENCE_AVOID : ctx->preference; in oomd_cgroup_context_acquire() 372 ctx->preference = r == 1 ? MANAGED_OOM_PREFERENCE_OMIT : ctx->preference; in oomd_cgroup_context_acquire()
|
/systemd-251/src/libsystemd-network/ |
D | test-ndisc-rs.c | 37 unsigned preference; in router_dump() local 61 assert_se(sd_ndisc_router_get_preference(rt, &preference) >= 0); in router_dump() 63 preference == SD_NDISC_PREFERENCE_LOW ? "low" : in router_dump() 64 preference == SD_NDISC_PREFERENCE_HIGH ? "high" : "medium"); in router_dump()
|
D | dhcp6-lease-internal.h | 23 uint8_t preference; member 53 int dhcp6_lease_set_preference(sd_dhcp6_lease *lease, uint8_t preference);
|
D | ndisc-router.c | 99 rt->preference = (rt->flags >> 3) & 3; in ndisc_router_parse() 100 if (!IN_SET(rt->preference, SD_NDISC_PREFERENCE_LOW, SD_NDISC_PREFERENCE_HIGH)) in ndisc_router_parse() 101 rt->preference = SD_NDISC_PREFERENCE_MEDIUM; in ndisc_router_parse() 244 *ret = rt->preference; in sd_ndisc_router_get_preference()
|
D | sd-dhcp6-lease.c | 189 int dhcp6_lease_set_preference(sd_dhcp6_lease *lease, uint8_t preference) { in dhcp6_lease_set_preference() argument 192 lease->preference = preference; in dhcp6_lease_set_preference() 200 *ret = lease->preference; in dhcp6_lease_get_preference()
|
D | ndisc-router.h | 25 unsigned preference; member
|
D | sd-ndisc.c | 194 …rt->preference == SD_NDISC_PREFERENCE_HIGH ? "high" : rt->preference == SD_NDISC_PREFERENCE_LOW ? … in ndisc_handle_datagram()
|
D | sd-radv.c | 560 int sd_radv_set_preference(sd_radv *ra, unsigned preference) { in sd_radv_set_preference() argument 562 assert_return(IN_SET(preference, in sd_radv_set_preference() 569 if (ra->lifetime_usec == 0 && preference != SD_NDISC_PREFERENCE_MEDIUM) in sd_radv_set_preference() 572 ra->flags = (ra->flags & ~(0x3 << 3)) | (preference << 3); in sd_radv_set_preference()
|
D | test-dhcp6-client.c | 899 uint8_t preference; in test_client_callback() local 908 assert_se(dhcp6_lease_get_preference(lease, &preference) >= 0); in test_client_callback() 909 assert_se(preference == 0xff); in test_client_callback()
|
/systemd-251/src/network/ |
D | networkd-ndisc.c | 300 unsigned preference; in ndisc_router_process_default() local 340 r = sd_ndisc_router_get_preference(rt, &preference); in ndisc_router_process_default() 358 route->pref = preference; in ndisc_router_process_default() 385 route->pref = preference; in ndisc_router_process_default() 593 unsigned preference, prefixlen; in ndisc_router_process_route() local 651 r = sd_ndisc_router_route_get_preference(rt, &preference); in ndisc_router_process_route() 664 route->pref = preference; in ndisc_router_process_route()
|
/systemd-251/src/version/ |
D | version.h.in | 4 * Use this in preference to PROJECT_VERSION, with the following exceptions:
|
/systemd-251/src/systemd/ |
D | sd-radv.h | 59 int sd_radv_set_preference(sd_radv *ra, unsigned preference);
|
/systemd-251/ |
D | meson.build | 1581 # be used, and use it in preference.
|
D | NEWS | 3757 distribution-specific defaults in .mkosi/ based on your preference.
|