Lines Matching defs:event
318 /*----- response and watch event handling (reads from the device) -----*/
321 process_watch_event(struct rumpxenbus_data_common *dc, struct xenbus_event *event,
330 DPRINTF(("/dev/xen/xenbus[%p]: watch event,"
334 event->path, watch->xb.token));
343 WATCH_MESSAGE_PART_STRING(PART,event->path) \
356 DPRINTF(("/dev/xen/xenbus: watch event allocating %lu\n",
363 printf("xenbus dev: out of memory for watch event"
365 watch->path, event->path);
390 xenbus_free(event);
460 process_event(struct rumpxenbus_data_common *dc, struct xenbus_event *event,
463 if (event->watch) {
465 container_of(event->watch, struct xenbus_dev_watch, xb);
467 return process_watch_event(dc, event, watch, mfree_r);
471 container_of(event, struct xenbus_dev_request, xb);
514 struct xenbus_event *event = STAILQ_FIRST(&du->replies.events);
519 DPRINTF(("/dev/xen/xenbus: next_event_msg found an event %p\n",event));
520 return process_event(dc, event, mfree_r);
523 DPRINTF(("/dev/xen/xenbus: not blocking, returning no event\n"));