Searched refs:error (Results 1 - 25 of 191) sorted by relevance

12345678

/systemd/src/core/
H A Dselinux-access.h27 int mac_selinux_generic_access_check(sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error);
31 #define mac_selinux_access_check(message, permission, error) \
32 mac_selinux_generic_access_check((message), NULL, (permission), (error))
34 #define mac_selinux_unit_access_check(unit, message, permission, error) \
37 mac_selinux_generic_access_check((message), _unit->source_path ?: _unit->fragment_path, (permission), (error)); \
42 #define mac_selinux_access_check(message, permission, error) 0
43 #define mac_selinux_unit_access_check(unit, message, permission, error) 0
H A Ddbus-unit.h32 int bus_unit_method_start_generic(sd_bus_message *message, Unit *u, JobType job_type, bool reload_if_possible, sd_bus_error *error);
33 int bus_unit_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_unit_method_reset_failed(sd_bus_message *message, void *userdata, sd_bus_error *error);
36 int bus_unit_queue_job(sd_bus_message *message, Unit *u, JobType type, JobMode mode, bool reload_if_possible, sd_bus_error *error);
37 int bus_unit_set_properties(Unit *u, sd_bus_message *message, UnitSetPropertiesMode mode, bool commit, sd_bus_error *error);
38 int bus_unit_method_set_properties(sd_bus_message *message, void *userdata, sd_bus_error *error);
40 int bus_unit_check_load_state(Unit *u, sd_bus_error *error);
H A Ddbus-cgroup.h28 int bus_cgroup_set_property(Unit *u, CGroupContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-job.h28 int bus_job_method_cancel(sd_bus_message *message, void *job, sd_bus_error *error);
H A Ddbus-kill.h29 int bus_kill_context_set_transient_property(Unit *u, KillContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-mount.h28 int bus_mount_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-service.h28 int bus_service_set_property(Unit *u, const char *name, sd_bus_message *i, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-slice.h28 int bus_slice_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-socket.h28 int bus_socket_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-swap.h29 int bus_swap_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-timer.h28 int bus_timer_set_property(Unit *u, const char *name, sd_bus_message *i, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-scope.h28 int bus_scope_set_property(Unit *u, const char *name, sd_bus_message *i, UnitSetPropertiesMode mode, sd_bus_error *error);
H A Ddbus-slice.c35 sd_bus_error *error) {
42 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error);
30 bus_slice_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus.h39 int bus_verify_manage_units_async(Manager *m, sd_bus_message *call, sd_bus_error *error);
40 int bus_verify_manage_unit_files_async(Manager *m, sd_bus_message *call, sd_bus_error *error);
41 int bus_verify_reload_daemon_async(Manager *m, sd_bus_message *call, sd_bus_error *error);
42 int bus_verify_set_environment_async(Manager *m, sd_bus_message *call, sd_bus_error *error);
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-error.c23 #include "bus-error.h"
28 _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL, second = SD_BUS_ERROR_NULL;
29 const sd_bus_error const_error = SD_BUS_ERROR_MAKE_CONST(SD_BUS_ERROR_FILE_EXISTS, "const error");
36 assert_se(!sd_bus_error_is_set(&error));
37 assert_se(sd_bus_error_set(&error, SD_BUS_ERROR_NOT_SUPPORTED, "xxx") == -EOPNOTSUPP);
38 assert_se(streq(error.name, SD_BUS_ERROR_NOT_SUPPORTED));
39 assert_se(streq(error.message, "xxx"));
40 assert_se(sd_bus_error_has_name(&error, SD_BUS_ERROR_NOT_SUPPORTED));
41 assert_se(sd_bus_error_get_errno(&error) == EOPNOTSUPP);
42 assert_se(sd_bus_error_is_set(&error));
[all...]
H A Dbus-error.c30 #include "bus-error.h"
103 /* For additional error maps the end marker is actually the end marker */
113 /* For magic ELF error maps, the end marker might
133 static sd_bus_error errno_to_bus_error_const(int error) { argument
135 if (error < 0)
136 error = -error;
138 switch (error) {
164 return SD_BUS_ERROR_MAKE_CONST(SD_BUS_ERROR_IO_ERROR, "Input/output error");
190 static int errno_to_bus_error_name_new(int error, cha argument
366 bus_error_strerror(sd_bus_error *e, int error) argument
435 sd_bus_error_set_errno(sd_bus_error *e, int error) argument
470 sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) argument
536 sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) argument
562 bus_error_message(const sd_bus_error *e, int error) argument
[all...]
/systemd/src/machine/
H A Dimage-dbus.h28 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
29 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
31 int bus_image_method_remove(sd_bus_message *message, void *userdata, sd_bus_error *error);
32 int bus_image_method_rename(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_image_method_clone(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_image_method_mark_read_only(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_image_method_set_limit(sd_bus_message *message, void *userdata, sd_bus_error *error);
H A Dmachine-dbus.h29 int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
30 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
32 int bus_machine_method_terminate(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_machine_method_kill(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_machine_method_get_addresses(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_machine_method_get_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error);
36 int bus_machine_method_open_pty(sd_bus_message *message, void *userdata, sd_bus_error *error);
37 int bus_machine_method_open_login(sd_bus_message *message, void *userdata, sd_bus_error *error);
38 int bus_machine_method_open_shell(sd_bus_message *message, void *userdata, sd_bus_error *error);
39 int bus_machine_method_bind_mount(sd_bus_message *message, void *userdata, sd_bus_error *error);
[all...]
H A Dmachined.h69 int match_reloading(sd_bus_message *message, void *userdata, sd_bus_error *error);
70 int match_unit_removed(sd_bus_message *message, void *userdata, sd_bus_error *error);
71 int match_properties_changed(sd_bus_message *message, void *userdata, sd_bus_error *error);
72 int match_job_removed(sd_bus_message *message, void *userdata, sd_bus_error *error);
74 int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, sd_bus_message *more_properties, sd_bus_error *error, char **job);
75 int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job);
76 int manager_kill_unit(Manager *manager, const char *unit, int signo, sd_bus_error *error);
H A Dmachined-dbus.c54 sd_bus_error *error) {
69 sd_bus_error *error) {
105 sd_bus_error *error) {
134 static int method_get_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
150 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name);
159 static int method_get_image(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
174 return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_IMAGE, "No image '%s' known", name);
185 static int method_get_machine_by_pid(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
220 return sd_bus_error_setf(error, BUS_ERROR_NO_MACHINE_FOR_PID, "PID "PID_FMT" does not belong to any known machine", pid);
229 static int method_list_machines(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
47 property_get_pool_path( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
62 property_get_pool_usage( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
98 property_get_pool_limit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
270 method_create_or_register_machine(Manager *manager, sd_bus_message *message, bool read_network, Machine **_m, sd_bus_error *error) argument
395 method_create_machine_internal(sd_bus_message *message, bool read_network, void *userdata, sd_bus_error *error) argument
423 method_create_machine_with_network(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
427 method_create_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
431 method_register_machine_internal(sd_bus_message *message, bool read_network, void *userdata, sd_bus_error *error) argument
467 method_register_machine_with_network(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
471 method_register_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
475 method_terminate_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
495 method_kill_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
515 method_get_machine_addresses(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
535 method_get_machine_os_release(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
555 method_list_images(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
608 method_open_machine_pty(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
628 method_open_machine_login(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
648 method_open_machine_shell(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
669 method_bind_mount_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
689 method_copy_machine(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
709 method_remove_image(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
733 method_rename_image(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
757 method_clone_image(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
781 method_mark_image_read_only(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
805 method_set_pool_limit(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
857 method_set_image_limit(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
881 method_map_from_machine_user(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
936 method_map_to_machine_user(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
999 method_map_from_machine_group(sd_bus_message *message, void *groupdata, sd_bus_error *error) argument
1054 method_map_to_machine_group(sd_bus_message *message, void *groupdata, sd_bus_error *error) argument
1156 match_job_removed(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
1198 match_properties_changed(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
1228 match_unit_removed(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
1251 match_reloading(sd_bus_message *message, void *userdata, sd_bus_error *error) argument
1277 manager_start_scope( Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, sd_bus_message *more_properties, sd_bus_error *error, char **job) argument
1372 manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job) argument
1420 manager_kill_unit(Manager *manager, const char *unit, int signo, sd_bus_error *error) argument
[all...]
/systemd/src/resolve/
H A Dresolved-link-bus.h28 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
30 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
32 int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_bus_error *error);
33 int bus_link_method_set_search_domains(sd_bus_message *message, void *userdata, sd_bus_error *error);
34 int bus_link_method_set_llmnr(sd_bus_message *message, void *userdata, sd_bus_error *error);
35 int bus_link_method_set_mdns(sd_bus_message *message, void *userdata, sd_bus_error *error);
36 int bus_link_method_set_dnssec(sd_bus_message *message, void *userdata, sd_bus_error *error);
37 int bus_link_method_set_dnssec_negative_trust_anchors(sd_bus_message *message, void *userdata, sd_bus_error *error);
38 int bus_link_method_revert(sd_bus_message *message, void *userdata, sd_bus_error *error);
/systemd/src/shared/
H A Dmachine-pool.h29 int setup_machine_directory(uint64_t size, sd_bus_error *error);
/systemd/src/basic/
H A Dformats-util.h29 # error Unknown pid_t size
38 # error Unknown uid_t size
46 # error Unknown gid_t size
54 # error Unknown time_t size
62 # error Unknown rlim_t size
H A Dlog.h80 int error,
88 int error,
97 int error,
107 int error,
118 int error,
134 int error,
141 int error,
167 #define log_full_errno(level, error, ...) \
169 int _level = (level), _e = (error); \
185 /* Logging triggered by an errno-like error */
[all...]
/systemd/src/udev/mtd_probe/
H A Dmtd_probe.c34 int error; local
48 error = ioctl(mtd_fd, MEMGETINFO, &mtd_info);
49 if (error == -1) {

Completed in 69 milliseconds

12345678