/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-error.c | 26 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_NOT_SUPPORTED)); in TEST() 41 assert_se(!sd_bus_error_has_name(&error, SD_BUS_ERROR_FILE_NOT_FOUND)); in TEST() 49 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_FILE_NOT_FOUND)); in TEST() 62 assert_se(sd_bus_error_has_name(&second, SD_BUS_ERROR_FILE_NOT_FOUND)); in TEST() 76 assert_se(sd_bus_error_has_name(&second, SD_BUS_ERROR_FILE_EXISTS)); in TEST() 87 assert_se(sd_bus_error_has_name(&second, SD_BUS_ERROR_ACCESS_DENIED)); in TEST() 94 assert_se(sd_bus_error_has_name(&error, "System.Error.EUCLEAN")); in TEST() 103 assert_se(sd_bus_error_has_name(&error, "System.Error.EBUSY")); in TEST() 112 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_IO_ERROR)); in TEST() 122 assert_se(!sd_bus_error_has_name(&error, SD_BUS_ERROR_IO_ERROR)); in TEST() [all …]
|
D | test-bus-objects.c | 319 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)); in client() 325 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)); in client() 331 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)); in client() 453 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_INTERFACE)); in client() 458 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)); in client()
|
D | bus-error.c | 369 _public_ int sd_bus_error_has_name(const sd_bus_error *e, const char *name) { in sd_bus_error_has_name() function 594 if (sd_bus_error_has_name(e, SD_BUS_ERROR_ACCESS_DENIED)) in bus_error_message()
|
D | bus-control.c | 531 if (!sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)) in sd_bus_get_name_creds() 696 … if (!sd_bus_error_has_name(&error, "org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown")) in sd_bus_get_name_creds()
|
/systemd-251/src/home/ |
D | pam_systemd_home.c | 162 if (sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_HOME)) { in acquire_user_record() 290 if (sd_bus_error_has_name(error, BUS_ERROR_HOME_ABSENT)) { in handle_generic_user_record_error() 295 } else if (sd_bus_error_has_name(error, BUS_ERROR_AUTHENTICATION_LIMIT_HIT)) { in handle_generic_user_record_error() 300 } else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_PASSWORD)) { in handle_generic_user_record_error() 327 } else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_RECOVERY_KEY)) { in handle_generic_user_record_error() 354 } else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_PASSWORD_AND_NO_TOKEN)) { in handle_generic_user_record_error() 380 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PIN_NEEDED)) { in handle_generic_user_record_error() 400 … } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PROTECTED_AUTHENTICATION_PATH_NEEDED)) { in handle_generic_user_record_error() 412 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_USER_PRESENCE_NEEDED)) { in handle_generic_user_record_error() 424 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_USER_VERIFICATION_NEEDED)) { in handle_generic_user_record_error() [all …]
|
D | homectl.c | 388 if (sd_bus_error_has_name(error, BUS_ERROR_HOME_ABSENT)) in handle_generic_user_record_error() 392 else if (sd_bus_error_has_name(error, BUS_ERROR_AUTHENTICATION_LIMIT_HIT)) in handle_generic_user_record_error() 396 else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_PASSWORD)) { in handle_generic_user_record_error() 411 } else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_RECOVERY_KEY)) { in handle_generic_user_record_error() 425 } else if (sd_bus_error_has_name(error, BUS_ERROR_BAD_PASSWORD_AND_NO_TOKEN)) { in handle_generic_user_record_error() 440 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PIN_NEEDED)) { in handle_generic_user_record_error() 450 … } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PROTECTED_AUTHENTICATION_PATH_NEEDED)) { in handle_generic_user_record_error() 460 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_USER_PRESENCE_NEEDED)) { in handle_generic_user_record_error() 470 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_USER_VERIFICATION_NEEDED)) { in handle_generic_user_record_error() 480 } else if (sd_bus_error_has_name(error, BUS_ERROR_TOKEN_PIN_LOCKED)) in handle_generic_user_record_error() [all …]
|
D | homed-home.c | 2135 … log_full_errno(sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_UNIT) ? LOG_DEBUG : LOG_WARNING, in home_killall()
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 252 if (r < 0 && !sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)) in resolve_host() 259 if (sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)) { in resolve_host() 824 if (r < 0 && !sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)) in resolve_service() 831 if (sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)) { in resolve_service() 1211 if (k < 0 && !sd_bus_error_has_name(&error, SD_BUS_ERROR_INVALID_ARGS)) in read_dns_server_one() 2110 if (r < 0 && extended && sd_bus_error_has_name(error, SD_BUS_ERROR_UNKNOWN_METHOD)) { in call_dns() 2137 if (r < 0 && sd_bus_error_has_name(&error, BUS_ERROR_LINK_BUSY)) { in verb_dns() 2144 sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_LINK)) in verb_dns() 2217 if (r < 0 && sd_bus_error_has_name(&error, BUS_ERROR_LINK_BUSY)) { in verb_domain() 2224 sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_LINK)) in verb_domain() [all …]
|
D | test-dnssec-complex.c | 63 assert_se(sd_bus_error_has_name(&error, result)); in test_rr_lookup() 100 assert_se(sd_bus_error_has_name(&error, result)); in test_hostname_lookup()
|
/systemd-251/src/systemctl/ |
D | systemctl-util.c | 103 if (sd_bus_error_has_name(error, BUS_ERROR_NO_SUCH_UNIT)) in translate_bus_error_to_exit_status() 110 if (sd_bus_error_has_name(error, BUS_ERROR_LOAD_FAILED)) in translate_bus_error_to_exit_status()
|
D | systemctl-list-unit-files.c | 214 if (r < 0 && sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)) { in verb_list_unit_files()
|
D | systemctl-start-unit.c | 94 if (!sd_bus_error_has_name(&enqueue_error, SD_BUS_ERROR_UNKNOWN_METHOD)) { in start_unit_one()
|
D | systemctl-logind.c | 90 if (!sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_METHOD)) in logind_reboot()
|
/systemd-251/src/fsck/ |
D | fsck.c | 68 if (r < 0 && !sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_JOB)) in start_target()
|
/systemd-251/src/libsystemd/ |
D | libsystemd.sym | 392 sd_bus_error_has_name;
|
/systemd-251/src/login/ |
D | logind-user.c | 355 … log_full_errno(sd_bus_error_has_name(&error, BUS_ERROR_UNIT_MASKED) ? LOG_DEBUG : LOG_WARNING, r, in user_start_service()
|
D | pam_systemd.c | 921 if (sd_bus_error_has_name(&error, BUS_ERROR_SESSION_BUSY)) { in pam_sm_open_session()
|
D | logind-dbus.c | 4207 if (sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_OBJECT)) in manager_job_is_active()
|
/systemd-251/man/rules/ |
D | meson.build | 260 'sd_bus_error_has_name',
|
/systemd-251/src/systemd/ |
D | sd-bus.h | 456 int sd_bus_error_has_name(const sd_bus_error *e, const char *name);
|
/systemd-251/src/mount/ |
D | mount-tool.c | 866 sd_bus_error_has_name(&error, "org.freedesktop.systemd1.NoSuchUnit")) in stop_mount()
|
/systemd-251/src/machine/ |
D | machined-dbus.c | 1459 if (sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_OBJECT)) in manager_job_is_active()
|
D | machinectl.c | 1536 if (sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_IMAGE)) in image_exists()
|
/systemd-251/src/network/ |
D | networkctl.c | 1317 bool quiet = sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_PROPERTY); in dump_dhcp_leases()
|
/systemd-251/src/core/ |
D | unit.c | 3459 if (!sd_bus_error_has_name(e, "org.freedesktop.DBus.Error.NameHasNoOwner")) { in get_name_owner_handler()
|