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

/systemd/src/systemd/
H A Dsd-bus-vtable.h65 const char *member; member in struct:sd_bus_vtable::__anon284::__anon286
72 const char *member; member in struct:sd_bus_vtable::__anon284::__anon287
76 const char *member; member in struct:sd_bus_vtable::__anon284::__anon288
96 .x.method.member = _member, \
109 .x.signal.member = _member, \
117 .x.property.member = _member, \
127 .x.property.member = _member, \
H A Dsd-bus.h217 int sd_bus_message_new_signal(sd_bus *bus, sd_bus_message **m, const char *path, const char *interface, const char *member);
218 int sd_bus_message_new_method_call(sd_bus *bus, sd_bus_message **m, const char *destination, const char *path, const char *interface, const char *member);
253 int sd_bus_message_is_signal(sd_bus_message *m, const char *interface, const char *member);
254 int sd_bus_message_is_method_call(sd_bus_message *m, const char *interface, const char *member);
303 int sd_bus_call_method(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const char *types, ...);
304 int sd_bus_call_method_async(sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata, const char *types, ...);
305 int sd_bus_get_property(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, sd_bus_message **reply, const char *type);
306 int sd_bus_get_property_trivial(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, char type, void *ret_ptr);
307 int sd_bus_get_property_string(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *ret_error, char **ret); /* free the result! */
308 int sd_bus_get_property_strv(sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_erro
[all...]
/systemd/src/bus-proxyd/
H A Dbus-xml-policy.h54 char *member; member in struct:PolicyItem
98 const char *member);
107 const char *member,
116 const char *member);
125 const char *member,
H A Dbus-xml-policy.c40 free(i->member);
335 else if (streq(u, "member"))
472 if (i->member) {
473 log_error("Duplicate member in %s:%u.", path, line);
478 i->member = name;
669 const char *member; member in struct:policy_check_filter
697 if (i->member && !streq_ptr(i->member, filter->member))
878 const char *member) {
871 policy_check_one_recv(Policy *p, uid_t uid, gid_t gid, int message_type, const char *name, const char *path, const char *interface, const char *member) argument
896 policy_check_recv(Policy *p, uid_t uid, gid_t gid, int message_type, Set *names, char **namesv, const char *path, const char *interface, const char *member, bool dbus_to_kernel) argument
940 policy_check_one_send(Policy *p, uid_t uid, gid_t gid, int message_type, const char *name, const char *path, const char *interface, const char *member) argument
965 policy_check_send(Policy *p, uid_t uid, gid_t gid, int message_type, Set *names, char **namesv, const char *path, const char *interface, const char *member, bool dbus_to_kernel, char **out_used_name) argument
[all...]
H A Dproxy.c181 "member='NameOwnerChanged',"
198 "member='NameOwnerChanged',"
510 if (policy_check_send(policy, sender_uid, sender_gid, m->header->type, owned_names, NULL, m->path, m->interface, m->member, false, NULL) &&
511 policy_check_recv(policy, our_ucred->uid, our_ucred->gid, m->header->type, NULL, sender_names, m->path, m->interface, m->member, false))
563 } else if (policy_check_send(policy, our_ucred->uid, our_ucred->gid, m->header->type, NULL, destination_names, m->path, m->interface, m->member, true, &n)) {
581 if (policy_check_recv(policy, destination_uid, destination_gid, m->header->type, owned_names, NULL, m->path, m->interface, m->member, true))
629 return log_error_errno(EIO, "First packet isn't hello (it's %s.%s), aborting.", m->interface, m->member);
771 log_debug("Dropped unmatched broadcast: uid=" UID_FMT " gid=" GID_FMT " pid=" PID_FMT " message=%s path=%s interface=%s member=%s sender=%s destination=%s",
773 strna(m->path), strna(m->interface), strna(m->member), strna(m->sender), strna(m->destination));
821 "Failed to forward message we got from destination: uid=" UID_FMT " gid=" GID_FMT" message=%s destination=%s path=%s interface=%s member
[all...]
H A Ddriver.c741 r = sd_bus_error_setf(&error, SD_BUS_ERROR_UNKNOWN_METHOD, "Unknown method '%s'.", m->member);
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-kernel-bloom.c40 const char *member,
88 r = sd_bus_emit_signal(a, path, interface, member, "as", 1, arg0);
90 r = sd_bus_emit_signal(a, path, interface, member, "s", arg0);
107 test_one("/foo/bar/waldo", "waldo.com", "Piep", false, "foobar", "member='Piep'", true);
108 test_one("/foo/bar/waldo", "waldo.com", "Piep", false, "foobar", "member='Pi_ep'", false);
115 test_one("/foo/bar/waldo", "waldo.com", "Piep", false, "foobar", "path='/foo/bar/waldo',interface='waldo.com',member='Piep',arg0='foobar'", true);
116 test_one("/foo/bar/waldo", "waldo.com", "Piep", false, "foobar", "path='/foo/bar/waldo',interface='waldo.com',member='Piep',arg0='foobar2'", false);
37 test_one( const char *path, const char *interface, const char *member, bool as_list, const char *arg0, const char *match, bool good) argument
H A Dbus-convenience.c31 const char *member,
43 r = sd_bus_message_new_signal(bus, &m, path, interface, member);
66 const char *member,
80 r = sd_bus_message_new_method_call(bus, &m, destination, path, interface, member);
102 const char *member,
118 r = sd_bus_message_new_method_call(bus, &m, destination, path, interface, member);
289 const char *member,
299 bus_assert_return(member_name_is_valid(member), -EINVAL, error);
309 r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &rep, "ss", strempty(interface), member);
331 const char *member,
27 sd_bus_emit_signal( sd_bus *bus, const char *path, const char *interface, const char *member, const char *types, ...) argument
60 sd_bus_call_method_async( sd_bus *bus, sd_bus_slot **slot, const char *destination, const char *path, const char *interface, const char *member, sd_bus_message_handler_t callback, void *userdata, const char *types, ...) argument
97 sd_bus_call_method( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, sd_bus_message **reply, const char *types, ...) argument
284 sd_bus_get_property( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, sd_bus_message **reply, const char *type) argument
326 sd_bus_get_property_trivial( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char type, void *ptr) argument
368 sd_bus_get_property_string( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char **ret) argument
418 sd_bus_get_property_strv( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, char ***ret) argument
459 sd_bus_set_property( sd_bus *bus, const char *destination, const char *path, const char *interface, const char *member, sd_bus_error *error, const char *type, ...) argument
[all...]
H A Dbus-introspect.c147 fprintf(i->f, " <method name=\"%s\">\n", v->x.method.member);
157 v->x.property.member,
165 fprintf(i->f, " <signal name=\"%s\">\n", v->x.signal.member);
H A Dbus-slot.c153 key.member = v->x.method.member;
165 key.member = v->x.method.member;
H A Dbus-objects.c325 /* If the member is marked UNPRIVILEGED let's grant access */
348 return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Access to %s.%s() not permitted.", c->interface, c->member);
403 signature, c->interface, c->member, strempty(c->vtable->x.method.signature));
626 r = invoke_property_get(bus, slot, c->vtable, m->path, c->interface, c->member, reply, u, &error);
642 return sd_bus_reply_method_errorf(m, SD_BUS_ERROR_PROPERTY_READ_ONLY, "Property '%s' is not writable.", c->member);
657 return sd_bus_reply_method_errorf(m, SD_BUS_ERROR_INVALID_ARGS, "Incorrect parameters for property '%s', expected '%s', got '%s'.", c->member, strempty(c->vtable->x.property.signature), strempty(signature));
667 r = invoke_property_set(bus, slot, c->vtable, m->path, c->interface, c->member, m, u, &error);
708 r = sd_bus_message_append(reply, "s", v->x.property.member);
718 r = invoke_property_get(bus, slot, v, path, c->interface, v->x.property.member, reply, vtable_property_convert_userdata(v, userdata), error);
1245 if (!m->interface || !m->member)
[all...]
H A Dbus-message.c206 m->member = adjust_pointer(m->member, op, old_size, m->header);
624 const char *member) {
633 assert_return(member_name_is_valid(member), -EINVAL);
648 r = message_append_field_string(t, BUS_MESSAGE_HEADER_MEMBER, SD_BUS_TYPE_STRING, member, &t->member);
666 const char *member) {
676 assert_return(member_name_is_valid(member), -EINVAL);
686 r = message_append_field_string(t, BUS_MESSAGE_HEADER_MEMBER, SD_BUS_TYPE_STRING, member, &t->member);
619 sd_bus_message_new_signal( sd_bus *bus, sd_bus_message **m, const char *path, const char *interface, const char *member) argument
660 sd_bus_message_new_method_call( sd_bus *bus, sd_bus_message **m, const char *destination, const char *path, const char *interface, const char *member) argument
1079 sd_bus_message_is_signal( sd_bus_message *m, const char *interface, const char *member) argument
1098 sd_bus_message_is_method_call( sd_bus_message *m, const char *interface, const char *member) argument
[all...]
H A Dbus-dump.c104 if (m->member)
105 fprintf(f, " Member=%s%s%s", ansi_highlight(), m->member, ansi_normal());
107 if (m->sender || m->destination || m->path || m->interface || m->member)
H A Dbus-internal.c364 log_debug("Failed to process message [type=%s sender=%s path=%s interface=%s member=%s signature=%s]: %s",
369 strna(m->member),
H A Dbus-internal.h119 const char *member; member in struct:vtable_member
H A Dbus-message.h77 const char *member; member in struct:sd_bus_message
H A Dbus-kernel.c211 if (m->member)
212 bloom_add_pair(data, m->bus->bloom_size, m->bus->bloom_n_hash, "member", m->member);
H A Dbus-match.c36 * D: type=signal,member=test
362 test_str = m->member;
661 if (n == 6 && startswith(k, "member"))
1120 return "member";
H A Dsd-bus.c59 log_debug("Got message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s", \
1632 log_debug("Sent message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s",
2472 if (streq_ptr(m->member, "Ping"))
2474 else if (streq_ptr(m->member, "GetMachineId")) {
2491 "Unknown method '%s' on interface '%s'.", m->member, m->interface);
2623 log_debug("Unprocessed message call sender=%s object=%s interface=%s member=%s",
/systemd/src/shared/
H A Dbus-util.h45 typedef int (*bus_property_set_t) (sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata);
48 const char *member; member in struct:bus_properties_map
54 int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata);
H A Dbus-util.c105 "member='NameOwnerChanged',"
998 int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { argument
1018 static int map_basic(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { argument
1120 const char *member; local
1125 r = sd_bus_message_read_basic(m, SD_BUS_TYPE_STRING, &member);
1129 for (i = 0, prop = NULL; map[i].member; i++)
1130 if (streq(map[i].member, member)) {
1146 r = prop->set(sd_bus_message_get_bus(m), member, m, &error, v);
1148 r = map_basic(sd_bus_message_get_bus(m), member,
1176 const char *member; local
[all...]
/systemd/src/basic/
H A Dmacro.h129 * container_of - cast a member of a structure out to the containing structure
130 * @ptr: the pointer to the member.
132 * @member: the name of the member within the struct.
134 #define container_of(ptr, type, member) __container_of(UNIQ, (ptr), type, member)
135 #define __container_of(uniq, ptr, type, member) \
137 const typeof( ((type*)0)->member ) *UNIQ_T(A, uniq) = (ptr); \
138 (type*)( (char *)UNIQ_T(A, uniq) - offsetof(type,member) ); \
/systemd/src/core/
H A Dcgroup.c573 Unit *member; local
576 SET_FOREACH(member, u->dependencies[UNIT_BEFORE], i) {
578 if (member == u)
581 if (UNIT_DEREF(member->slice) != u)
585 unit_get_own_mask(member) |
586 unit_get_members_mask(member);
646 * mask bits upward. A unit is also member of itself. */
/systemd/src/login/
H A Dloginctl.c356 static int prop_map_first_of_struct(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { argument
396 static int prop_map_sessions_strv(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { argument
/systemd/src/machine/
H A Dmachinectl.c617 static int map_netif(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { argument
1263 "member='MachineRemoved',"
1351 "member='MachineRemoved',"
1747 "member='TransferRemoved',"
1759 "member='LogMessage'",

Completed in 125 milliseconds