Searched defs:error (Results 1 - 25 of 81) sorted by relevance

1234

/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) {
/systemd/src/core/
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-kill.c42 sd_bus_error *error) {
79 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Signal %i out of range", sig);
36 bus_kill_context_set_transient_property( Unit *u, KillContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus-path.c35 sd_bus_error *error) {
65 sd_bus_error *error) {
28 property_get_paths( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
58 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
H A Ddbus-job.c40 sd_bus_error *error) {
56 int bus_job_method_cancel(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
63 r = mac_selinux_unit_access_check(j->unit, message, "stop", error);
71 r = bus_verify_manage_units_async(j->unit->manager, message, error);
33 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
H A Ddbus-scope.c33 static int bus_scope_abandon(sd_bus_message *message, void *userdata, sd_bus_error *error) { argument
40 r = mac_selinux_unit_access_check(UNIT(s), message, "stop", error);
44 r = bus_verify_manage_units_async(UNIT(s)->manager, message, error);
52 return sd_bus_error_setf(error, BUS_ERROR_SCOPE_NOT_RUNNING, "Scope %s is not running, cannot abandon.", UNIT(s)->id);
76 sd_bus_error *error) {
126 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Controller '%s' is not a valid bus name.", controller);
168 sd_bus_error *error) {
177 r = bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error);
184 r = bus_scope_set_transient_property(s, name, message, mode, error);
188 r = bus_kill_context_set_transient_property(u, &s->kill_context, name, message, mode, error);
71 bus_scope_set_transient_property( Scope *s, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
163 bus_scope_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
[all...]
H A Ddbus-swap.c36 sd_bus_error *error) {
62 sd_bus_error *error) {
97 sd_bus_error *error) {
105 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error);
29 property_get_priority( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
92 bus_swap_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus-mount.c36 sd_bus_error *error) {
62 sd_bus_error *error) {
88 sd_bus_error *error) {
131 sd_bus_error *error) {
172 sd_bus_error *error) {
181 r = bus_cgroup_set_property(u, &m->cgroup_context, name, message, mode, error);
188 r = bus_mount_set_transient_property(m, name, message, mode, error);
192 r = bus_exec_context_set_transient_property(u, &m->exec_context, name, message, mode, error);
196 r = bus_kill_context_set_transient_property(u, &m->kill_context, name, message, mode, error);
29 property_get_what( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
55 property_get_options( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
81 property_get_type( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
126 bus_mount_set_transient_property( Mount *m, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
167 bus_mount_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus-service.c88 sd_bus_error *error) {
120 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid service type %s", t);
192 return sd_bus_error_set_errnof(error, EINVAL, "Path %s is not absolute.", path);
283 sd_bus_error *error) {
292 r = bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error);
299 r = bus_service_set_transient_property(s, name, message, mode, error);
303 r = bus_exec_context_set_transient_property(u, &s->exec_context, name, message, mode, error);
307 r = bus_kill_context_set_transient_property(u, &s->kill_context, name, message, mode, error);
83 bus_service_set_transient_property( Service *s, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
278 bus_service_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus-socket.c39 sd_bus_error *error) {
95 sd_bus_error *error) {
164 sd_bus_error *error) {
172 return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error);
32 property_get_listen( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
88 property_get_fdname( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
159 bus_socket_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Ddbus-cgroup.c38 sd_bus_error *error) {
68 sd_bus_error *error) {
102 sd_bus_error *error) {
165 sd_bus_error *error) {
198 sd_bus_error *error) {
230 return sd_bus_error_set_errnof(error, EINVAL, "CPUShares value out of range");
252 return sd_bus_error_set_errnof(error, EINVAL, "StartupCPUShares value out of range");
274 return sd_bus_error_set_errnof(error, EINVAL, "CPUQuotaPerSecUSec value out of range");
307 return sd_bus_error_set_errnof(error, EINVAL, "BlockIOWeight value out of range");
329 return sd_bus_error_set_errnof(error, EINVA
31 property_get_blockio_device_weight( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
61 property_get_blockio_device_bandwidths( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
95 property_get_device_allow( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
159 bus_cgroup_set_transient_property( Unit *u, CGroupContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
192 bus_cgroup_set_property( Unit *u, CGroupContext *c, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
[all...]
H A Ddbus-timer.c36 sd_bus_error *error) {
85 sd_bus_error *error) {
124 sd_bus_error *error) {
144 sd_bus_error *error) {
193 sd_bus_error *error) {
336 sd_bus_error *error) {
346 r = bus_timer_set_transient_property(t, name, message, mode, error);
29 property_get_monotonic_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
78 property_get_calendar_timers( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
117 property_get_unit( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
137 property_get_next_elapse_monotonic( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
188 bus_timer_set_transient_property( Timer *t, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
331 bus_timer_set_property( Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error) argument
H A Dselinux-access.c141 static int access_init(sd_bus_error *error) { argument
156 * error, and just don't do any AVC checks. The
162 /* Return an access denied error, if we couldn't load
165 return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to open the SELinux AVC: %s", strerror(saved_errno));
185 sd_bus_error *error) {
197 assert(error);
199 r = access_init(error);
230 r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to get file context on %s.", path);
238 r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to get current context.");
254 r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIE
181 mac_selinux_generic_access_check( sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error) argument
271 mac_selinux_generic_access_check( sd_bus_message *message, const char *path, const char *permission, sd_bus_error *error) argument
[all...]
H A Dslice.c206 static int slice_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { argument
207 return unit_kill_common(u, who, signo, -1, -1, error);
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-introspect.c23 static int prop_get(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument
27 static int prop_set(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) { argument
H A Dtest-bus-proxy.c38 static int test_proxy_acquired(sd_bus_message *m, void *userdata, sd_bus_error *error) { argument
H A Dtest-bus-server.c127 sd_bus_error error = SD_BUS_ERROR_NULL; local
146 r = sd_bus_call(bus, m, 0, &error, &reply);
148 log_error("Failed to issue method call: %s", bus_error_message(&error, -r));
/systemd/src/test/
H A Dtest-udev.c41 const char *error; member in struct:fakefs
69 fprintf(stderr, "%s %m\n", fakefss[i].error);
/systemd/src/bus-proxyd/
H A Dsynthesize.c67 _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
71 bus_error_setfv(&error, name, format, ap);
74 return synthetic_reply_method_error(call, &error);
77 int synthetic_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *p) { argument
88 sd_bus_error_set_errno(&berror, error);
93 int synthetic_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) { argument
103 sd_bus_error_set_errnofv(&berror, error, format, ap);
H A Dbus-xml-policy.h55 char *error; member in struct:PolicyItem
/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-util.c100 int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_netlink_message **ret) { argument
104 assert(error <= 0);
114 err->error = error;
/systemd/src/network/
H A Dnetworkd-link-bus.c57 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
90 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
H A Dnetworkd-network-bus.c32 sd_bus_error *error) {
101 int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
130 int network_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
25 property_get_ether_addrs( sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error) argument
/systemd/src/import/
H A Dexport.c64 static void on_tar_finished(TarExport *export, int error, void *userdata) { argument
68 if (error == 0)
71 sd_event_exit(event, abs(error));
143 static void on_raw_finished(RawExport *export, int error, void *userdata) { argument
147 if (error == 0)
150 sd_event_exit(event, abs(error));
H A Dimport.c46 static void on_tar_finished(TarImport *import, int error, void *userdata) { argument
50 if (error == 0)
53 sd_event_exit(event, abs(error));
141 static void on_raw_finished(RawImport *import, int error, void *userdata) { argument
145 if (error == 0)
148 sd_event_exit(event, abs(error));

Completed in 6309 milliseconds

1234