Lines Matching refs:sd_resolve
51 struct sd_resolve { struct
71 sd_resolve **default_resolve_ptr; argument
80 sd_resolve *resolve; argument
167 …_cleanup_(sd_resolve_unrefp) _unused_ sd_resolve *_dont_destroy_##resolve = sd_resolve_ref(resolve)
407 sd_resolve *resolve = p; in thread_worker()
438 static int start_threads(sd_resolve *resolve, unsigned extra) { in start_threads()
474 static bool resolve_pid_changed(sd_resolve *r) { in resolve_pid_changed()
483 _public_ int sd_resolve_new(sd_resolve **ret) { in sd_resolve_new()
484 _cleanup_(sd_resolve_unrefp) sd_resolve *resolve = NULL; in sd_resolve_new()
489 resolve = new0(sd_resolve, 1); in sd_resolve_new()
519 _public_ int sd_resolve_default(sd_resolve **ret) { in sd_resolve_default()
520 static thread_local sd_resolve *default_resolve = NULL; in sd_resolve_default()
521 sd_resolve *e = NULL; in sd_resolve_default()
544 _public_ int sd_resolve_get_tid(sd_resolve *resolve, pid_t *tid) { in sd_resolve_get_tid()
560 static sd_resolve *resolve_free(sd_resolve *resolve) { in resolve_free()
603 DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_resolve, sd_resolve, resolve_free);
605 _public_ int sd_resolve_get_fd(sd_resolve *resolve) { in sd_resolve_get_fd()
612 _public_ int sd_resolve_get_events(sd_resolve *resolve) { in sd_resolve_get_events()
619 _public_ int sd_resolve_get_timeout(sd_resolve *resolve, uint64_t *usec) { in sd_resolve_get_timeout()
628 static sd_resolve_query *lookup_query(sd_resolve *resolve, unsigned id) { in lookup_query()
641 static int complete_query(sd_resolve *resolve, sd_resolve_query *q) { in complete_query()
734 static int handle_response(sd_resolve *resolve, const Packet *packet, size_t length) { in handle_response()
832 _public_ int sd_resolve_process(sd_resolve *resolve) { in sd_resolve_process()
865 _public_ int sd_resolve_wait(sd_resolve *resolve, uint64_t timeout_usec) { in sd_resolve_wait()
886 static int alloc_query(sd_resolve *resolve, bool floating, sd_resolve_query **_q) { in alloc_query()
923 sd_resolve *resolve, in resolve_getaddrinfo_with_destroy_callback()
993 sd_resolve *resolve, in sd_resolve_getaddrinfo()
1015 sd_resolve *resolve, in resolve_getnameinfo_with_destroy_callback()
1082 sd_resolve *resolve, in sd_resolve_getnameinfo()
1117 sd_resolve *resolve; in resolve_query_disconnect()
1187 _public_ sd_resolve *sd_resolve_query_get_resolve(sd_resolve_query *q) { in sd_resolve_query_get_resolve()
1239 sd_resolve *resolve = userdata; in io_callback()
1251 _public_ int sd_resolve_attach_event(sd_resolve *resolve, sd_event *event, int64_t priority) { in sd_resolve_attach_event()
1282 _public_ int sd_resolve_detach_event(sd_resolve *resolve) { in sd_resolve_detach_event()
1293 _public_ sd_event *sd_resolve_get_event(sd_resolve *resolve) { in sd_resolve_get_event()