Lines Matching refs:error_id
43 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
420 … r = varlink_call(link, "io.systemd.Resolve.ResolveHostname", cparams, &rparams, &error_id, NULL); in _nss_resolve_gethostbyname3_r()
423 if (!isempty(error_id)) { in _nss_resolve_gethostbyname3_r()
424 if (error_shall_try_again(error_id)) in _nss_resolve_gethostbyname3_r()
426 if (error_shall_fallback(error_id)) in _nss_resolve_gethostbyname3_r()
631 const char* error_id; in _nss_resolve_gethostbyaddr2_r() local
632 … r = varlink_call(link, "io.systemd.Resolve.ResolveAddress", cparams, &rparams, &error_id, NULL); in _nss_resolve_gethostbyaddr2_r()
635 if (!isempty(error_id)) { in _nss_resolve_gethostbyaddr2_r()
636 if (error_shall_try_again(error_id)) in _nss_resolve_gethostbyaddr2_r()
638 if (error_shall_fallback(error_id)) in _nss_resolve_gethostbyaddr2_r()