Searched refs:sd_netlink_slot (Results 1 – 7 of 7) sorted by relevance
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-slot.c | 19 sd_netlink_slot **ret) { in netlink_slot_allocate() 21 _cleanup_free_ sd_netlink_slot *slot = NULL; in netlink_slot_allocate() 26 slot = malloc0(offsetof(sd_netlink_slot, reply_callback) + extra); in netlink_slot_allocate() 52 void netlink_slot_disconnect(sd_netlink_slot *slot, bool unref) { in netlink_slot_disconnect() 94 static sd_netlink_slot* netlink_slot_free(sd_netlink_slot *slot) { in netlink_slot_free() 106 DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_netlink_slot, sd_netlink_slot, netlink_slot_free); 108 sd_netlink *sd_netlink_slot_get_netlink(sd_netlink_slot *slot) { in sd_netlink_slot_get_netlink() 114 void *sd_netlink_slot_get_userdata(sd_netlink_slot *slot) { in sd_netlink_slot_get_userdata() 120 void *sd_netlink_slot_set_userdata(sd_netlink_slot *slot, void *userdata) { in sd_netlink_slot_set_userdata() 131 int sd_netlink_slot_get_destroy_callback(sd_netlink_slot *slot, sd_netlink_destroy_t *callback) { in sd_netlink_slot_get_destroy_callback() [all …]
|
D | netlink-internal.h | 42 struct sd_netlink_slot { struct 52 LIST_FIELDS(sd_netlink_slot, slots); argument 92 LIST_HEAD(sd_netlink_slot, slots); 159 sd_netlink_slot **ret_slot,
|
D | sd-netlink.c | 171 sd_netlink_slot *s; in netlink_free() 347 sd_netlink_slot *slot; in process_timeout() 369 slot = container_of(c, sd_netlink_slot, reply_callback); in process_timeout() 386 sd_netlink_slot *slot; in process_reply() 411 slot = container_of(c, sd_netlink_slot, reply_callback); in process_reply() 446 sd_netlink_slot *slot; in process_match() 463 slot = container_of(c, sd_netlink_slot, match_callback); in process_match() 599 sd_netlink_slot **ret_slot, in sd_netlink_call_async() 607 _cleanup_free_ sd_netlink_slot *slot = NULL; in sd_netlink_call_async() 916 sd_netlink_slot **ret_slot, in netlink_add_match_internal() [all …]
|
D | netlink-slot.h | 13 sd_netlink_slot **ret); 14 void netlink_slot_disconnect(sd_netlink_slot *slot, bool unref);
|
D | test-netlink.c | 213 _cleanup_(sd_netlink_slot_unrefp) sd_netlink_slot *slot = NULL; in test_async() 246 _cleanup_(sd_netlink_slot_unrefp) sd_netlink_slot *slot = NULL; in test_slot_set() 328 _cleanup_(sd_netlink_slot_unrefp) sd_netlink_slot *slot = NULL; in test_async_destroy_callback() 460 _cleanup_(sd_netlink_slot_unrefp) sd_netlink_slot *s1 = NULL, *s2 = NULL; in test_match()
|
D | netlink-genl.c | 453 sd_netlink_slot **ret_slot, in sd_genl_add_match()
|
/systemd-251/src/systemd/ |
D | sd-netlink.h | 36 typedef struct sd_netlink_slot sd_netlink_slot; typedef 53 int sd_netlink_call_async(sd_netlink *nl, sd_netlink_slot **ret_slot, sd_netlink_message *message, 65 int sd_netlink_add_match(sd_netlink *nl, sd_netlink_slot **ret_slot, uint16_t match, 244 int sd_genl_add_match(sd_netlink *nl, sd_netlink_slot **ret_slot, const char *family_name, 251 sd_netlink_slot *sd_netlink_slot_ref(sd_netlink_slot *slot); 252 sd_netlink_slot *sd_netlink_slot_unref(sd_netlink_slot *slot); 254 sd_netlink *sd_netlink_slot_get_netlink(sd_netlink_slot *slot); 255 void *sd_netlink_slot_get_userdata(sd_netlink_slot *slot); 256 void *sd_netlink_slot_set_userdata(sd_netlink_slot *slot, void *userdata); 257 int sd_netlink_slot_get_destroy_callback(sd_netlink_slot *slot, sd_netlink_destroy_t *callback); [all …]
|