Home
last modified time | relevance | path

Searched refs:error_id (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/nss-resolve/
Dnss-resolve.c43 static bool error_shall_fallback(const char *error_id) { in error_shall_fallback() argument
47 return STR_IN_SET(error_id, in error_shall_fallback()
56 static bool error_shall_try_again(const char *error_id) { in error_shall_try_again() argument
59 return STR_IN_SET(error_id, in error_shall_try_again()
263 const char *error_id; in _nss_resolve_gethostbyname4_r() local
264 … r = varlink_call(link, "io.systemd.Resolve.ResolveHostname", cparams, &rparams, &error_id, NULL); in _nss_resolve_gethostbyname4_r()
267 if (!isempty(error_id)) { in _nss_resolve_gethostbyname4_r()
268 if (error_shall_try_again(error_id)) in _nss_resolve_gethostbyname4_r()
270 if (error_shall_fallback(error_id)) in _nss_resolve_gethostbyname4_r()
419 const char *error_id; in _nss_resolve_gethostbyname3_r() local
[all …]
/systemd-251/src/test/
Dtest-varlink.c59 static int reply(Varlink *link, JsonVariant *parameters, const char *error_id, VarlinkReplyFlags fl… in reply() argument
84 static int overload_reply(Varlink *link, JsonVariant *parameters, const char *error_id, VarlinkRepl… in overload_reply() argument
89 log_debug("Over reply triggered with error: %s", strna(error_id)); in overload_reply()
90 assert_se(streq(error_id, VARLINK_ERROR_DISCONNECTED)); in overload_reply()
/systemd-251/src/shared/
Dvarlink.h53 typedef int (*VarlinkReply)(Varlink *link, JsonVariant *parameters, const char *error_id, VarlinkRe…
101 int varlink_error(Varlink *v, const char *error_id, JsonVariant *parameters);
102 int varlink_errorb(Varlink *v, const char *error_id, ...);
Duserdb.c152 const char *error_id, in userdb_on_query_reply() argument
161 if (error_id) { in userdb_on_query_reply()
162 log_debug("Got lookup error: %s", error_id); in userdb_on_query_reply()
164 if (STR_IN_SET(error_id, in userdb_on_query_reply()
168 else if (streq(error_id, "io.systemd.UserDatabase.ServiceNotAvailable")) in userdb_on_query_reply()
170 else if (streq(error_id, "io.systemd.UserDatabase.EnumerationNotSupported")) in userdb_on_query_reply()
172 else if (streq(error_id, VARLINK_ERROR_TIMEOUT)) in userdb_on_query_reply()
Dvarlink.c1607 int varlink_error(Varlink *v, const char *error_id, JsonVariant *parameters) { in varlink_error() argument
1612 assert_return(error_id, -EINVAL); in varlink_error()
1626 JSON_BUILD_PAIR("error", JSON_BUILD_STRING(error_id)), in varlink_error()
1644 int varlink_errorb(Varlink *v, const char *error_id, ...) { in varlink_errorb() argument
1650 assert_return(error_id, -EINVAL); in varlink_errorb()
1652 va_start(ap, error_id); in varlink_errorb()
1659 return varlink_error(v, error_id, parameters); in varlink_errorb()
/systemd-251/src/core/
Dcore-varlink.c528 static int vl_reply(Varlink *link, JsonVariant *parameters, const char *error_id, VarlinkReplyFlags… in vl_reply() argument
534 if (error_id) in vl_reply()
535 log_debug("varlink systemd-oomd client error: %s", error_id); in vl_reply()
/systemd-251/src/oom/
Doomd-manager.c153 const char *error_id, in process_managed_oom_reply() argument
162 if (error_id) { in process_managed_oom_reply()
164 log_debug("Error getting ManagedOOM cgroups: %s", error_id); in process_managed_oom_reply()
/systemd-251/src/fuzz/
Dfuzz-varlink.c20 static int reply_callback(Varlink *v, JsonVariant *p, const char *error_id, VarlinkReplyFlags flags… in reply_callback() argument