| xenbus_xs.c | 69 /* Queued watch events. */ 74 } watch; member in union:xs_stored_msg::__anon2262 94 /* List of pending watch callback events, and a lock to protect it. */ 599 /* Register callback to watch this node. */ 601 register_xenbus_watch(struct xenbus_watch *watch) 604 char token[sizeof(watch) * 2 + 1]; 607 snprintf(token, sizeof(token), "%lX", (long)watch); 611 SLIST_INSERT_HEAD(&watches, watch, watch_next); 614 err = xs_watch(watch->node, token); 619 SLIST_REMOVE(&watches, watch, xenbus_watch, watch_next) 675 struct xenbus_watch *watch; local [all...] |