Lines Matching refs:event
156 static int dispatch_raw_source_event(sd_event_source *event,
160 static int dispatch_raw_source_until_block(sd_event_source *event,
162 static int dispatch_blocking_source_event(sd_event_source *event,
164 static int dispatch_raw_connection_event(sd_event_source *event,
242 r = sd_event_add_io(s->events, &source->event, in journal_remote_add_source()
254 r = sd_event_add_defer(s->events, &source->event, in journal_remote_add_source()
257 r = sd_event_source_set_enabled(source->event, SD_EVENT_ON); in journal_remote_add_source()
265 r = sd_event_source_set_description(source->event, name); in journal_remote_add_source()
381 sd_event_source *event, in journal_remote_handle_raw_source() argument
426 static int dispatch_raw_source_until_block(sd_event_source *event, in dispatch_raw_source_until_block() argument
432 sd_event_source_ref(event); in dispatch_raw_source_until_block()
434 …r = journal_remote_handle_raw_source(event, source->importer.fd, EPOLLIN, journal_remote_server_gl… in dispatch_raw_source_until_block()
439 k = sd_event_source_set_enabled(event, SD_EVENT_OFF); in dispatch_raw_source_until_block()
444 sd_event_source_unref(event); in dispatch_raw_source_until_block()
449 static int dispatch_raw_source_event(sd_event_source *event, in dispatch_raw_source_event() argument
456 assert(source->event); in dispatch_raw_source_event()
459 r = journal_remote_handle_raw_source(event, fd, EPOLLIN, journal_remote_server_global); in dispatch_raw_source_event()
473 static int dispatch_blocking_source_event(sd_event_source *event, in dispatch_blocking_source_event() argument
477 …return journal_remote_handle_raw_source(event, source->importer.fd, EPOLLIN, journal_remote_server… in dispatch_blocking_source_event()
529 sd_event_source *event, in dispatch_raw_connection_event() argument