Home
last modified time | relevance | path

Searched refs:thread_local (Results 1 – 20 of 20) sorted by relevance

/systemd-251/src/libsystemd/sd-id128/
Dsd-id128.c105 static thread_local sd_id128_t saved_machine_id = {}; in sd_id128_get_machine()
124 static thread_local sd_id128_t saved_boot_id = {}; in sd_id128_get_boot()
250 static thread_local sd_id128_t saved_invocation_id = {}; in sd_id128_get_invocation()
/systemd-251/src/shared/
Duid-alloc-range.c91 static thread_local UGIDAllocationRange defs; in acquire_ugid_allocation_range()
92 static thread_local int initialized = 0; /* == 0 → not initialized yet in acquire_ugid_allocation_range()
Dcgroup-setup.c82 static thread_local int wanted = -1; in cg_is_unified_wanted()
116 static thread_local int wanted = -1; in cg_is_legacy_wanted()
132 static thread_local int wanted = -1; in cg_is_hybrid_wanted()
/systemd-251/src/basic/
Dmacro.h361 #ifndef thread_local
367 #define thread_local _Thread_local macro
369 #define thread_local __thread macro
Dmemory-util.c8 static thread_local size_t pgsz = 0; in page_size()
Dcapability-util.c35 static thread_local unsigned saved; in cap_last_cap()
36 static thread_local bool valid = false; in cap_last_cap()
Dcgroup-util.c136 static thread_local int enabled = -1; in cg_ns_supported()
152 static thread_local int supported = -1; in cg_freezer_supported()
163 static thread_local int supported = -1; in cg_kill_supported()
2088 static thread_local bool unified_systemd_v232;
2091 static thread_local CGroupUnified unified_cache = CGROUP_UNIFIED_UNKNOWN; in cg_unified_cached()
Dsignal-util.c159 static thread_local char buf[STRLEN("RTMIN+") + DECIMAL_STR_MAX(int)]; in signal_to_string()
Dvirt.c429 static thread_local Virtualization cached_found = _VIRTUALIZATION_INVALID; in detect_vm()
640 static thread_local Virtualization cached_found = _VIRTUALIZATION_INVALID; in detect_container()
Dlog.c527 static thread_local RateLimit ratelimit = { 5 * USEC_PER_SEC, 200 }; in write_to_kmsg()
Dprocess-util.c1016 static thread_local int cached = 0; in is_main_thread()
Dtime-util.c1518 static thread_local uint32_t hz = 0; in sysconf_clock_ticks_cached()
/systemd-251/coccinelle/
Dmacros.h36 #define thread_local __thread macro
/systemd-251/src/login/
Dlogind-inhibit.c445 static thread_local char buffer[STRLEN( in inhibit_what_to_string()
/systemd-251/src/network/
Dnetworkd-route-util.c20 static thread_local unsigned cached = 0; in routes_max()
/systemd-251/src/nss-systemd/
Dnss-systemd.c1053 static thread_local unsigned _blocked = 0;
/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c67 static thread_local sd_bus *default_system_bus = NULL;
68 static thread_local sd_bus *default_user_bus = NULL;
69 static thread_local sd_bus *default_starter_bus = NULL;
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c520 static thread_local sd_resolve *default_resolve = NULL; in sd_resolve_default()
/systemd-251/docs/
DCODING_STYLE.md196 gcc's `thread_local` concept. It's also OK to store data that is inherently
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c159 static thread_local sd_event *default_event = NULL;