Lines Matching refs:sd_bus_error_setf
122 return sd_bus_error_setf(error, BUS_ERROR_NO_SESSION_FOR_PID, in get_sender_session()
150 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); in manager_get_session_from_creds()
177 return sd_bus_error_setf(error, BUS_ERROR_NO_USER_FOR_PID, in get_sender_user()
195 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_USER, in manager_get_user_from_creds()
225 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "Session '%s' has no seat.", session->id); in manager_get_seat_from_creds()
229 … return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "No seat '%s' known", name); in manager_get_seat_from_creds()
440 return sd_bus_error_setf(error, BUS_ERROR_NO_SESSION_FOR_PID, in method_get_session_by_pid()
503 return sd_bus_error_setf(error, BUS_ERROR_NO_USER_FOR_PID, in method_get_user_by_pid()
731 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
740 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
748 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
757 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, in method_create_session()
767 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
772 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
778 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
786 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
790 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
797 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
801 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_create_session()
840 return sd_bus_error_setf(error, BUS_ERROR_SESSION_BUSY, in method_create_session()
861 return sd_bus_error_setf(error, SD_BUS_ERROR_LIMITS_EXCEEDED, in method_create_session()
1072 return sd_bus_error_setf(error, BUS_ERROR_SESSION_NOT_ON_SEAT, in method_activate_session_on_seat()
1428 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not normalized", sysfs); in method_attach_device()
1430 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not in /sys", sysfs); in method_attach_device()
1442 … return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Seat name %s is not valid", seat); in method_attach_device()
1813 return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, in verify_shutdown_creds()
1912 return sd_bus_error_setf(error, BUS_ERROR_OPERATION_IN_PROGRESS, in method_do_shutdown_or_sleep()
1921 return sd_bus_error_setf(error, BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED, in method_do_shutdown_or_sleep()
2571 return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, in method_set_reboot_parameter()
3034 …return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Boot loader entry '%s' is not known."… in method_set_reboot_to_boot_loader_entry()
3036 …return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Boot loader entry name '%s' is not val… in method_set_reboot_to_boot_loader_entry()
3198 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_set_wall_message()
3252 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_inhibit()
3257 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_inhibit()
3262 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, in method_inhibit()
3270 return sd_bus_error_setf(error, BUS_ERROR_OPERATION_IN_PROGRESS, in method_inhibit()
3307 return sd_bus_error_setf(error, SD_BUS_ERROR_LIMITS_EXCEEDED, in method_inhibit()
3755 sd_bus_error_setf(&e, BUS_ERROR_JOB_FAILED, in session_jobs_reply()