Home
last modified time | relevance | path

Searched refs:shares (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/
Dfilesystems-gperf.gperf64 # fuseblk is so closely related to fuse that it shares the same magic
78 # msdos is an older legacy version of vfat, shares the magic
118 # note that devtmpfs shares the same magic with tmpfs, given it is just a special named instance of…
124 # note that msdos shares the same magic (and is the older version)
/systemd-251/src/core/
Dcgroup.c975 static void cgroup_apply_legacy_cpu_shares(Unit *u, uint64_t shares) { in cgroup_apply_legacy_cpu_shares() argument
978 xsprintf(buf, "%" PRIu64 "\n", shares); in cgroup_apply_legacy_cpu_shares()
997 static uint64_t cgroup_cpu_shares_to_weight(uint64_t shares) { in cgroup_cpu_shares_to_weight() argument
998 return CLAMP(shares * CGROUP_WEIGHT_DEFAULT / CGROUP_CPU_SHARES_DEFAULT, in cgroup_cpu_shares_to_weight()
1400 uint64_t shares; in cgroup_context_apply() local
1402 shares = cgroup_context_cpu_shares(c, state); in cgroup_context_apply()
1403 weight = cgroup_cpu_shares_to_weight(shares); in cgroup_context_apply()
1406 shares, weight, path); in cgroup_context_apply()
1414 uint64_t shares; in cgroup_context_apply() local
1420 shares = cgroup_cpu_weight_to_shares(weight); in cgroup_context_apply()
[all …]
/systemd-251/src/nspawn/
Dnspawn-oci.c1270 uint64_t shares; member
1329 …es", JSON_VARIANT_UNSIGNED, oci_cgroup_cpu_shares, offsetof(struct cpu_data, shares), 0 }, in oci_cgroup_cpu()
1340 .shares = UINT64_MAX, in oci_cgroup_cpu()
1357 if (data.shares != UINT64_MAX) { in oci_cgroup_cpu()
1362 r = sd_bus_message_append(s->properties, "(sv)", "CPUShares", "t", data.shares); in oci_cgroup_cpu()
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md452 end). **head_data_offset** points to the first DATA object that shares this
/systemd-251/
DNEWS12732 like "systemctl set-cgroup-attr foobar.service cpu.shares
12733 2000" to alter the CPU shares a specific service gets. These