Home
last modified time | relevance | path

Searched refs:errno_to_name (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/test/ !
Dtest-bpf-devices.c43 log_debug("open(%s, \"r\") = %d/%s", s, fd, fd < 0 ? errno_to_name(errno) : "-"); in test_policy_closed()
48 log_debug("open(%s, \"w\") = %d/%s", s, fd2, fd2 < 0 ? errno_to_name(errno) : "-"); in test_policy_closed()
81 log_debug("open(%s, \"r\") = %d/%s", s, fd, fd < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
85 log_debug("open(%s, \"w\") = %d/%s", s, fd2, fd2 < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
94 log_debug("open(%s, \"r\") = %d/%s", s, fd, fd < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
98 log_debug("open(%s, \"w\") = %d/%s", s, fd2, fd2 < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
107 log_debug("open(%s, \"r\") = %d/%s", s, fd, fd < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
111 log_debug("open(%s, \"w\") = %d/%s", s, fd2, fd2 < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
120 log_debug("open(%s, \"r\") = %d/%s", s, fd, fd < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
124 log_debug("open(%s, \"w\") = %d/%s", s, fd2, fd2 < 0 ? errno_to_name(errno) : "-"); in test_policy_strict()
[all …]
Dtest-errno-list.c15 assert_se(streq(errno_to_name(i), errno_names[i])); in TEST()
22 assert_se(streq(errno_to_name(ECANCELLED), "ECANCELED")); in TEST()
24 assert_se(streq(errno_to_name(ECANCELED), "ECANCELED")); in TEST()
28 assert_se(streq(errno_to_name(EREFUSED), "ECONNREFUSED")); in TEST()
30 assert_se(streq(errno_to_name(ECONNREFUSED), "ECONNREFUSED")); in TEST()
Dtest-nss-hosts.c121 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyname4_r()
130 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyname4_r()
181 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyname3_r()
210 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyname2_r()
237 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyname_r()
274 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyaddr2_r()
311 errno1, errno_to_name(errno1) ?: "---", in test_gethostbyaddr_r()
Dtest-nss-users.c68 errno1, errno_to_name(errno1) ?: "---"); in test_getpwnam_r()
94 errno1, errno_to_name(errno1) ?: "---"); in test_getgrnam_r()
120 errno1, errno_to_name(errno1) ?: "---"); in test_getpwuid_r()
146 errno1, errno_to_name(errno1) ?: "---"); in test_getgrgid_r()
Dtest-process-util.c118 log_info("PID "PID_FMT": %s", pid, r >= 0 ? c : errno_to_name(r)); in test_get_process_cmdline_one()
121 log_info(" %s", r >= 0 ? d : errno_to_name(r)); in test_get_process_cmdline_one()
124 log_info(" %s", r >= 0 ? e : errno_to_name(r)); in test_get_process_cmdline_one()
127 log_info(" %s", r >= 0 ? f : errno_to_name(r)); in test_get_process_cmdline_one()
130 log_info(" %s", r >= 0 ? g : errno_to_name(r)); in test_get_process_cmdline_one()
133 log_info(" %s", r >= 0 ? h : errno_to_name(r)); in test_get_process_cmdline_one()
Dtest-stat-util.c100 s, r, r < 0 ? errno_to_name(r) : yes_no(r)); in TEST()
117 s, r, r < 0 ? errno_to_name(r) : yes_no(r)); in TEST()
/systemd-251/src/basic/ !
Derrno-list.h11 const char *errno_to_name(int id);
Derrno-list.c15 const char *errno_to_name(int id) { in errno_to_name() function
/systemd-251/src/shared/ !
Dseccomp-util.h151 return errno_to_name(num); in seccomp_errno_or_action_to_string()
/systemd-251/src/libsystemd/sd-login/ !
Dtest-login.c36 return r == 0 ? "OK" : errno_to_name(r); in e()
/systemd-251/src/libsystemd/sd-bus/ !
Dbus-error.c183 name = errno_to_name(error); in errno_to_bus_error_name_new()
Dtest-bus-error.c142 printf("%s -> %i/%s\n", strna(m->name), m->code, strna(errno_to_name(m->code))); in dump_mapping_table()
/systemd-251/src/userdb/ !
Duserdbctl.c963 no = strjoin("No (", errno_to_name(errno), ")"); in display_services()
/systemd-251/src/udev/ !
Dudevd.c393 str = errno_to_name(result); in device_broadcast()
/systemd-251/src/resolve/ !
Dresolved-dns-transaction.c411 st = errno_to_name(t->answer_errno); in dns_transaction_complete()
/systemd-251/src/home/ !
Dhomed-home.c1073 …g_debug_errno(h->worker_error_code, "Worker reported error code %s.", errno_to_name(h->worker_erro… in home_on_worker_process()
/systemd-251/src/core/ !
Dsocket.c1392 errno_to_name(r)); in socket_load_service_unit()