Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 22 of 22) sorted by relevance

/systemd-251/test/units/
Dtestsuite-68.sh30 OnFailure=testservice-failure-exit-handler-68.service
38 OnFailure=testservice-failure-exit-handler-68-template@%n.service
46 OnSuccess=testservice-success-exit-handler-68.service
54 OnSuccess=testservice-success-exit-handler-68-template@%n.service
99 cat >/run/systemd/system/testservice-success-exit-handler-68.service <<EOF
105 cp /run/systemd/system/testservice-success-exit-handler-68.service \
106 /run/systemd/system/testservice-transient-success-exit-handler-68.service
109 cat >/run/systemd/system/testservice-success-exit-handler-68-template@.service <<EOF
156 cat >/run/systemd/system/testservice-failure-exit-handler-68.service <<EOF
167 cp /run/systemd/system/testservice-failure-exit-handler-68.service \
[all …]
/systemd-251/src/libsystemd/sd-bus/
Dtest-vtable-data.h12 static int handler(sd_bus_message *m, void *userdata, sd_bus_error *error) { in handler() function
45 SD_BUS_METHOD("AlterSomething", "s", "s", handler, SD_BUS_VTABLE_UNPRIVILEGED),
46 SD_BUS_METHOD("Exit", "", "", handler, 0),
47 SD_BUS_METHOD_WITH_OFFSET("AlterSomething2", "s", "s", handler, 200, 0),
48 SD_BUS_METHOD_WITH_OFFSET("Exit2", "", "", handler, 200, 0),
50 "s", SD_BUS_PARAM(returnstring), handler, 200, 0),
52 "bb", SD_BUS_PARAM(accepted) SD_BUS_PARAM(scheduled), handler, 0),
87 sd_bus_message_handler_t handler; member
122 .handler = handler,
Dbus-track.c20 sd_bus_track_handler_t handler; member
76 if (!track->handler) in bus_track_add_to_queue()
118 sd_bus_track_handler_t handler, in sd_bus_track_new() argument
135 t->handler = handler; in sd_bus_track_new()
373 assert(track->handler); in bus_track_dispatch()
379 r = track->handler(track, track->userdata); in bus_track_dispatch()
409 if (track->handler) in bus_track_close()
Dbus-objects.c398 if (c->vtable->x.method.handler) { in method_callbacks_run()
404 bus->current_handler = c->vtable->x.method.handler; in method_callbacks_run()
406 r = c->vtable->x.method.handler(m, u, &error); in method_callbacks_run()
1729 sd_bus_message_handler_t handler; member
1863 … !(v->x.method.handler || (isempty(v->x.method.signature) && isempty(v->x.method.result))) || in add_object_vtable_internal()
/systemd-251/src/nspawn/
Dnspawn-expose-ports.c190 sd_netlink_message_handler_t handler, in expose_port_watch_rtnl() argument
210 … r = sd_netlink_add_match(rtnl, NULL, RTM_NEWADDR, handler, NULL, userdata, "nspawn-NEWADDR"); in expose_port_watch_rtnl()
214 … r = sd_netlink_add_match(rtnl, NULL, RTM_DELADDR, handler, NULL, userdata, "nspawn-DELADDR"); in expose_port_watch_rtnl()
Dnspawn-expose-ports.h23 int expose_port_watch_rtnl(sd_event *event, int recv_fd, sd_netlink_message_handler_t handler, void…
/systemd-251/src/shared/
Dptyfwd.c74 PTYForwardHandler handler; member
126 if (f->handler) in pty_forward_done()
127 return f->handler(f, rcode, f->userdata); in pty_forward_done()
601 f->handler = cb; in pty_forward_set_handler()
Dptyfwd.h34 void pty_forward_set_handler(PTYForward *f, PTYForwardHandler handler, void *userdata);
/systemd-251/src/network/
Dnetworkd-manager-bus.c119 static int call_link_method(Manager *m, sd_bus_message *message, sd_bus_message_handler_t handler, … in call_link_method() argument
125 assert(handler); in call_link_method()
135 return handler(message, l, error); in call_link_method()
/systemd-251/.lgtm/cpp-queries/
DUninitializedVariableWithCleanup.ql7 * @description Running the cleanup handler on a possibly uninitialized variable
110 select va, "The variable $@ may not be initialized here, but has a cleanup handler.", v, v.getName()
/systemd-251/src/core/
Dpath.h35 int path_spec_watch(PathSpec *s, sd_event_io_handler_t handler);
Dmeson.build205 'crash-handler.c',
206 'crash-handler.h',
Dpath.c37 int path_spec_watch(PathSpec *s, sd_event_io_handler_t handler) { in path_spec_watch() argument
52 assert(handler); in path_spec_watch()
62 …r = sd_event_add_io(s->unit->manager->event, &s->event_source, s->inotify_fd, EPOLLIN, handler, s); in path_spec_watch()
Ddbus-manager.c747 sd_bus_message_handler_t handler, in method_generic_unit_operation() argument
777 return handler(message, u, error); in method_generic_unit_operation()
/systemd-251/src/systemd/
Dsd-bus-vtable.h88 sd_bus_message_handler_t handler; member
132 .handler = _handler, \
Dsd-bus.h496 int sd_bus_track_new(sd_bus *bus, sd_bus_track **track, sd_bus_track_handler_t handler, void *userd…
/systemd-251/src/resolve/
Dresolved-bus.c1777 static int call_link_method(Manager *m, sd_bus_message *message, sd_bus_message_handler_t handler, … in call_link_method() argument
1783 assert(handler); in call_link_method()
1793 return handler(message, l, error); in call_link_method()
2069 static int call_dnssd_method(Manager *m, sd_bus_message *message, sd_bus_message_handler_t handler,… in call_dnssd_method() argument
2077 assert(handler); in call_dnssd_method()
2093 return handler(message, s, error); in call_dnssd_method()
/systemd-251/src/home/
Dhomed-manager-bus.c276 sd_bus_message_handler_t handler, in generic_home_method() argument
294 return handler(message, h, error); in generic_home_method()
/systemd-251/
Dmeson_options.txt106 description : 'install the coredump handler')
DTODO1369 - document chaining of signal handler for SIGCHLD and child handlers
1556 * journald: sigbus API via a signal-handler safe function that people may call
1557 from the SIGBUS handler
1772 * nspawn: on cgroupsv1 issue cgroup empty handler process based on host events,
DNEWS238 handler unit as OnFailure=/OnSuccess=. The variables are:
241 handler needs to watch multiple units, use a templated handler.
2663 failure returned by the event source handler functions will result in
2670 * Most event source types sd-event supports now accept a NULL handler
/systemd-251/docs/
DCODING_STYLE.md493 - Whenever installing a signal handler, make sure to set `SA_RESTART` for it,