Lines Matching refs:sd_bus_error_setf
141 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid log target '%s'", t); in property_set_log_target()
176 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid log level '%s'", t); in property_set_log_level()
492 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s not loaded.", name); in bus_get_unit_by_name()
569 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid PID " PID_FMT, pid); in method_get_unit_by_pid()
585 …return sd_bus_error_setf(error, BUS_ERROR_NO_UNIT_FOR_PID, "PID "PID_FMT" does not belong to any l… in method_get_unit_by_pid()
628 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, in method_get_unit_by_invocation_id()
633 …return sd_bus_error_setf(error, BUS_ERROR_NO_UNIT_FOR_INVOCATION_ID, "No unit with the specified i… in method_get_unit_by_invocation_id()
662 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, in method_get_unit_by_control_group()
802 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "No job queued for unit %s", old_name); in method_start_unit_replace()
962 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in transient_unit_from_message()
966 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in transient_unit_from_message()
975 return sd_bus_error_setf(error, BUS_ERROR_UNIT_EXISTS, in transient_unit_from_message()
1065 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Job mode %s is invalid.", smode); in method_start_transient_unit()
1103 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "Job %u does not exist.", (unsigned) id); in method_get_job()
1131 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "Job %u does not exist.", (unsigned) id); in method_cancel_job()
1429 return sd_bus_error_setf(error, in verify_run_space()
1548 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_reboot()
1568 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_poweroff()
1588 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_halt()
1608 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_kexec()
1643 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_switch_root()
1651 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1654 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1657 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1668 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1675 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1685 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_switch_root()
1759 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_unset_environment()
1796 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_unset_and_set_environment()
1799 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_unset_and_set_environment()
1853 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_lookup_dynamic_user_by_name()
1856 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_lookup_dynamic_user_by_name()
1861 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_DYNAMIC_USER, in method_lookup_dynamic_user_by_name()
1884 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_lookup_dynamic_user_by_uid()
1887 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_lookup_dynamic_user_by_uid()
1892 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_DYNAMIC_USER, in method_lookup_dynamic_user_by_uid()
1912 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_get_dynamic_users()
1930 return sd_bus_error_setf(error, SD_BUS_ERROR_FAILED, in method_get_dynamic_users()
2172 r = sd_bus_error_setf(error, BUS_ERROR_UNIT_EXISTS, in install_error()
2176 r = sd_bus_error_setf(error, BUS_ERROR_UNIT_EXISTS, in install_error()
2182 r = sd_bus_error_setf(error, BUS_ERROR_UNIT_MASKED, in install_error()
2187 r = sd_bus_error_setf(error, BUS_ERROR_UNIT_GENERATED, in install_error()
2192 r = sd_bus_error_setf(error, BUS_ERROR_BAD_UNIT_SETTING, in install_error()
2198 r = sd_bus_error_setf(error, BUS_ERROR_UNIT_LINKED, in install_error()
2204 r = sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, in install_error()
2674 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "Job %u does not exist.", (unsigned) id); in method_get_job_waiting()
2697 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_abandon_scope()
2729 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_set_show_status()