Home
last modified time | relevance | path

Searched refs:per_machine (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/home/
Duser-record-util.c631 JsonVariant *per_machine; in user_record_set_disk_size() local
652 per_machine = json_variant_by_key(h->json, "perMachine"); in user_record_set_disk_size()
653 if (per_machine) { in user_record_set_disk_size()
656 if (!json_variant_is_array(per_machine)) in user_record_set_disk_size()
659 n = json_variant_elements(per_machine); in user_record_set_disk_size()
668 array[i] = json_variant_by_index(per_machine, i); in user_record_set_disk_size()
1096 JsonVariant *per_machine; in user_record_set_password_change_now() local
1111 per_machine = json_variant_by_key(w, "perMachine"); in user_record_set_password_change_now()
1112 if (per_machine) { in user_record_set_password_change_now()
1116 JSON_VARIANT_ARRAY_FOREACH(e, per_machine) { in user_record_set_password_change_now()
[all …]
Dhomectl.c906 _cleanup_(json_variant_unrefp) JsonVariant *per_machine = NULL, *mmid = NULL; in apply_identity_changes()
917 per_machine = json_variant_ref(json_variant_by_key(v, "perMachine")); in apply_identity_changes()
918 if (per_machine) { in apply_identity_changes()
924 if (!json_variant_is_array(per_machine)) in apply_identity_changes()
927 array = new(JsonVariant*, json_variant_elements(per_machine) + 1); in apply_identity_changes()
931 JSON_VARIANT_ARRAY_FOREACH(z, per_machine) { in apply_identity_changes()
997 json_variant_unref(per_machine); in apply_identity_changes()
998 per_machine = TAKE_PTR(npm); in apply_identity_changes()
1012 r = json_variant_append_array(&per_machine, item); in apply_identity_changes()
1017 r = json_variant_set_field(&v, "perMachine", per_machine); in apply_identity_changes()