Home
last modified time | relevance | path

Searched refs:bus_assert_return (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-convenience.c135 bus_assert_return(bus, -EINVAL, error); in sd_bus_call_methodv()
136 bus_assert_return(bus = bus_resolve(bus), -ENOPKG, error); in sd_bus_call_methodv()
137 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error); in sd_bus_call_methodv()
375 bus_assert_return(bus, -EINVAL, error); in sd_bus_get_property()
376 bus_assert_return(bus = bus_resolve(bus), -ENOPKG, error); in sd_bus_get_property()
377 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error); in sd_bus_get_property()
378 bus_assert_return(member_name_is_valid(member), -EINVAL, error); in sd_bus_get_property()
379 bus_assert_return(reply, -EINVAL, error); in sd_bus_get_property()
380 bus_assert_return(signature_is_single(type, false), -EINVAL, error); in sd_bus_get_property()
381 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error); in sd_bus_get_property()
[all …]
Dbus-internal.h406 #define bus_assert_return(expr, r, error) \ macro
Dsd-bus.c2356 bus_assert_return(m, -EINVAL, error); in sd_bus_call()
2357 bus_assert_return(m->header->type == SD_BUS_MESSAGE_METHOD_CALL, -EINVAL, error); in sd_bus_call()
2358 bus_assert_return(!(m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED), -EINVAL, error); in sd_bus_call()
2359 bus_assert_return(!bus_error_is_dirty(error), -EINVAL, error); in sd_bus_call()
2365 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error); in sd_bus_call()