Lines Matching refs:json_flags
1344 static int user_record_augment(UserRecord *h, JsonDispatchFlags json_flags) { in user_record_augment() argument
1357 return json_log_oom(h->json, json_flags); in user_record_augment()
1367 return json_log_oom(h->json, json_flags); in user_record_augment()
1373 … return json_log(h->json, json_flags, r, "Failed to determine default image path: %m"); in user_record_augment()
1397 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in user_group_record_mangle() local
1416 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record is not a JSON object, refusing."); in user_group_record_mangle()
1419 … return json_log(v, json_flags, SYNTHETIC_ERRNO(EINVAL), "Nothing allowed in record, refusing."); in user_group_record_mangle()
1422 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EINVAL), "Stripping everything from record, refusin… in user_group_record_mangle()
1434 … return json_log(w, json_flags, r, "Failed to remove field from variant: %m"); in user_group_record_mangle()
1442 …return json_log(e, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record contains '%s' field, which is not… in user_group_record_mangle()
1452 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record lacks '%s' field, which is requir… in user_group_record_mangle()
1463 return json_log(v, json_flags, r, "Failed to allocate new object: %m"); in user_group_record_mangle()
1480 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record contains '%s' field, which is not… in user_group_record_mangle()
1488 …return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record lacks basic identity fields, whic… in user_group_record_mangle()
1491 return json_log(v, json_flags, SYNTHETIC_ERRNO(EBADMSG), "Record is empty."); in user_group_record_mangle()
1593 JsonDispatchFlags json_flags = USER_RECORD_LOAD_FLAGS_TO_JSON_DISPATCH_FLAGS(load_flags); in user_record_load() local
1605 r = json_dispatch(h->json, user_dispatch_table, NULL, json_flags, h); in user_record_load()
1612 … r = dispatch_per_machine("perMachine", json_variant_by_key(h->json, "perMachine"), json_flags, h); in user_record_load()
1616 r = dispatch_binding("binding", json_variant_by_key(h->json, "binding"), json_flags, h); in user_record_load()
1620 r = dispatch_status("status", json_variant_by_key(h->json, "status"), json_flags, h); in user_record_load()
1625 …return json_log(h->json, json_flags, SYNTHETIC_ERRNO(EINVAL), "User name field missing, refusing."… in user_record_load()
1627 r = user_record_augment(h, json_flags); in user_record_load()