Home
last modified time | relevance | path

Searched refs:sd_bus_error_set_errnof (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-error.c109 assert_se(sd_bus_error_set_errnof(&error, EIO, "Waldi %c", 'X') == -EIO); in TEST()
119 assert_se(sd_bus_error_set_errnof(&error, 0, "Waldi %c", 'X') == 0); in TEST()
220 TEST(sd_bus_error_set_errnof) { in TEST() argument
224 assert_se(sd_bus_error_set_errnof(NULL, 0, NULL) == 0); in TEST()
225 assert_se(sd_bus_error_set_errnof(NULL, ENOANO, NULL) == -ENOANO); in TEST()
227 assert_se(sd_bus_error_set_errnof(&error, 0, NULL) == 0); in TEST()
230 assert_se(sd_bus_error_set_errnof(&error, EACCES, NULL) == -EACCES); in TEST()
240 assert_se(sd_bus_error_set_errnof(&error, ENOANO, NULL) == -ENOANO); in TEST()
250 assert_se(sd_bus_error_set_errnof(&error, 100000, NULL) == -100000); in TEST()
260 assert_se(sd_bus_error_set_errnof(NULL, 0, "hoge %s: %m", "foo") == 0); in TEST()
[all …]
Dbus-error.c563 _public_ int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) { in sd_bus_error_set_errnof() function
/systemd-251/src/machine/
Dimage-dbus.c67 return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); in bus_image_method_remove()
71 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_image_method_remove()
193 return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); in bus_image_method_clone()
197 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_image_method_clone()
322 … return sd_bus_error_set_errnof(error, r, "Failed to read image metadata: %m"); in bus_image_method_get_hostname()
340 … return sd_bus_error_set_errnof(error, r, "Failed to read image metadata: %m"); in bus_image_method_get_machine_id()
368 … return sd_bus_error_set_errnof(error, r, "Failed to read image metadata: %m"); in bus_image_method_get_machine_info()
385 … return sd_bus_error_set_errnof(error, r, "Failed to read image metadata: %m"); in bus_image_method_get_os_release()
Dmachine-dbus.c267 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_machine_method_get_addresses()
350 return sd_bus_error_set_errnof(error, r, "Failed to wait for child: %m"); in bus_machine_method_get_addresses()
403 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_machine_method_get_os_release()
434 return sd_bus_error_set_errnof(error, r, "Failed to wait for child: %m"); in bus_machine_method_get_os_release()
524 … return sd_bus_error_set_errnof(error, r, "There is no system bus in container %s.", m->name); in container_bus_new()
901 …return sd_bus_error_set_errnof(error, r, "Failed to mount %s on %s in machine's namespace: %m", sr… in bus_machine_method_bind_mount()
983 … return sd_bus_error_set_errnof(error, hostfd, "Failed to open host directory %s: %m", host_path); in bus_machine_method_copy()
986 return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); in bus_machine_method_copy()
990 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_machine_method_copy()
1105 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_machine_method_open_root_directory()
[all …]
Dmachined-dbus.c399 r = sd_bus_error_set_errnof(error, r, in method_register_machine_internal()
645 return sd_bus_error_set_errnof(error, ret, "Failed to remove image %s: %m", name); in clean_pool_done()
738 return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); in method_clean_pool()
750 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in method_clean_pool()
883 return sd_bus_error_set_errnof(error, r, "Failed to adjust quota limit: %m"); in method_set_pool_limit()
/systemd-251/src/locale/
Dlocaled.c330 … return sd_bus_error_set_errnof(error, r, "Failed to enable locale generation: %m"); in locale_gen_process_locale()
336 return sd_bus_error_set_errnof(error, r, "Failed to generate locale: %m"); in locale_gen_process_locale()
453 return sd_bus_error_set_errnof(error, r, "Failed to set locale: %m"); in method_set_locale()
493 … return sd_bus_error_set_errnof(error, r, "Failed to read virtual console keymap data: %m"); in method_set_vc_keyboard()
500 … return sd_bus_error_set_errnof(error, r, "Failed to check keymap %s: %m", name); in method_set_vc_keyboard()
531 … return sd_bus_error_set_errnof(error, r, "Failed to set virtual console keymap: %m"); in method_set_vc_keyboard()
724 return sd_bus_error_set_errnof(error, r, "Failed to set X11 keyboard layout: %m"); in method_set_x11_keyboard()
/systemd-251/src/timedate/
Dtimedated.c595 return sd_bus_error_set_errnof(error, r, "Failed to read RTC: %m"); in property_get_rtc_time()
700 return sd_bus_error_set_errnof(error, r, "Failed to set time zone: %m"); in method_set_timezone()
775 … return sd_bus_error_set_errnof(error, r, "Failed to set RTC to %s: %m", lrtc ? "local" : "UTC"); in method_set_local_rtc()
843 return sd_bus_error_set_errnof(error, r, "Failed to update context: %m"); in method_set_time()
900 return sd_bus_error_set_errnof(error, errno, "Failed to set local time: %m"); in method_set_time()
1028 return sd_bus_error_set_errnof(error, r, "Failed to read list of time zones: %m"); in method_list_timezones()
/systemd-251/src/shared/
Dmachine-pool.c30 …return sd_bus_error_set_errnof(error, r, "Failed to determine whether /var/lib/machines is located… in setup_machine_directory()
/systemd-251/src/portable/
Dportabled-image-bus.c65 … return sd_bus_error_set_errnof(error, r, "Failed to read image metadata: %m"); in bus_image_common_get_os_release()
529 …return sd_bus_error_set_errnof(error, EBUSY, "Image '%s' is not detached, refusing.", image->path); in bus_image_common_remove()
532 return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m"); in bus_image_common_remove()
536 return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m"); in bus_image_common_remove()
Dportable.c586 …return sd_bus_error_set_errnof(error, SYNTHETIC_ERRNO(ESTALE), "Image %s os-release metadata lacks… in extract_image_and_extensions()
630 …return sd_bus_error_set_errnof(error, SYNTHETIC_ERRNO(ESTALE), "Image %s extension-release metadat… in extract_image_and_extensions()
632 …return sd_bus_error_set_errnof(error, r, "Failed to compare image %s extension-release metadata wi… in extract_image_and_extensions()
1355 …return sd_bus_error_set_errnof(error, r, "Failed to determine whether unit '%s' exists on the host… in portable_attach()
Dportabled-bus.c403 return sd_bus_error_set_errnof(error, r, "Failed to adjust quota limit: %m"); in method_set_pool_limit()
/systemd-251/src/hostname/
Dhostnamed.c891 return sd_bus_error_set_errnof(error, r, "Failed to set hostname: %m"); in method_set_hostname()
948 return sd_bus_error_set_errnof(error, r, "Failed to set static hostname: %m"); in method_set_static_hostname()
954 return sd_bus_error_set_errnof(error, r, "Failed to set hostname: %m"); in method_set_static_hostname()
1028 return sd_bus_error_set_errnof(error, r, "Failed to write machine info: %m"); in set_machine_info()
/systemd-251/src/home/
Dhomed-manager-bus.c358 …return sd_bus_error_set_errnof(error, r, "Failed to validate signature for '%s': %m", hr->user_nam… in validate_and_allocate_home()
376 … return sd_bus_error_set_errnof(error, r, "Failed to acquire UID for '%s': %m", hr->user_name); in validate_and_allocate_home()
/systemd-251/src/core/
Ddbus-manager.c1424 return sd_bus_error_set_errnof(error, errno, "Failed to statvfs(/run/systemd): %m"); in verify_run_space()
1628 return sd_bus_error_set_errnof(error, errno, "Failed to statvfs(/run/systemd): %m"); in method_switch_root()
1664 return sd_bus_error_set_errnof(error, r, in method_switch_root()
1680 return sd_bus_error_set_errnof(error, r, in method_switch_root()
1688 return sd_bus_error_set_errnof(error, r, in method_switch_root()
2004 return sd_bus_error_set_errnof(error, ret, in method_enqueue_marked_jobs()
2210 … r = sd_bus_error_set_errnof(error, changes[i].type_or_errno, "File %s: %m", changes[i].path); in install_error()
Ddbus-unit.c1526 … return sd_bus_error_set_errnof(error, r, "Failed to retrieve process UID: %m"); in bus_unit_method_attach_processes()
1551 … return sd_bus_error_set_errnof(error, r, "Failed to attach processes to control group: %m"); in bus_unit_method_attach_processes()
2503 return sd_bus_error_set_errnof(error, u->load_error, in bus_unit_validate_load_state()
Ddbus-service.c180 …return sd_bus_error_set_errnof(error, r, "Failed to mount %s on %s in unit's namespace: %m", src, … in bus_service_method_mount()
Dunit.c3884 sd_bus_error_set_errnof( in unit_kill_common()
3906 sd_bus_error_set_errnof( in unit_kill_common()
3935 sd_bus_error_set_errnof( in unit_kill_common()
5595 …return sd_bus_error_set_errnof(error, r, "Failed to determine whether process " PID_FMT " is a ker… in unit_pid_attachable()
/systemd-251/src/libsystemd/
Dlibsystemd.sym387 sd_bus_error_set_errnof;
/systemd-251/src/login/
Dlogind-session-dbus.c566 … return sd_bus_error_set_errnof(error, r, "Failed to open device %s:%s: %m", subsystem, name); in method_set_brightness()
/systemd-251/man/rules/
Dmeson.build268 'sd_bus_error_set_errnof',
/systemd-251/src/systemd/
Dsd-bus.h450 int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) _sd_printf_(3, 4);