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

/systemd/src/libsystemd/sd-bus/
H A Dbus-convenience.c110 bus_assert_return(bus, -EINVAL, error);
111 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error);
297 bus_assert_return(bus, -EINVAL, error);
298 bus_assert_return(isempty(interface) || interface_name_is_valid(interface), -EINVAL, error);
299 bus_assert_return(member_name_is_valid(member), -EINVAL, error);
300 bus_assert_return(reply, -EINVAL, error);
301 bus_assert_return(signature_is_single(type, false), -EINVAL, error);
302 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error);
338 bus_assert_return(bus, -EINVAL, error);
339 bus_assert_return(isempt
[all...]
H A Dbus-internal.h395 #define bus_assert_return(expr, r, error) \ macro
H A Dsd-bus.c1990 bus_assert_return(m, -EINVAL, error);
1991 bus_assert_return(m->header->type == SD_BUS_MESSAGE_METHOD_CALL, -EINVAL, error);
1992 bus_assert_return(!(m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED), -EINVAL, error);
1993 bus_assert_return(!bus_error_is_dirty(error), -EINVAL, error);
1998 bus_assert_return(!bus_pid_changed(bus), -ECHILD, error);
1999 bus_assert_return(!bus->is_kernel || !(bus->hello_flags & KDBUS_HELLO_MONITOR), -EROFS, error);

Completed in 2199 milliseconds