cpu-set-util: rename cpu_set_add_all() and cpu_mask_add_all()

This renames
- cpu_set_add_all() -> cpu_set_add_set(),
- cpu_mask_add_all() -> cpu_set_add_all().

No functional change, just refactoring.
This commit is contained in:
Yu Watanabe
2025-06-24 00:20:20 +09:00
parent 168351eee7
commit f4093f43fb
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -2901,9 +2901,9 @@ int bus_exec_context_set_transient_property(
return -ENOMEM;
/* We forego any optimizations here, and always create the structure using
* cpu_set_add_all(), because we don't want to care if the existing size we
* cpu_set_add_set(), because we don't want to care if the existing size we
* got over dbus is appropriate. */
r = cpu_set_add_all(affinity ? &c->cpu_set : &c->numa_policy.nodes, &set);
r = cpu_set_add_set(affinity ? &c->cpu_set : &c->numa_policy.nodes, &set);
if (r < 0)
return r;