Lines Matching refs:token
704 xs_watch(const char *path, const char *token)
710 iov[1].iov_base = (void *)token;
711 iov[1].iov_len = strlen(token) + 1;
717 xs_unwatch(const char *path, const char *token)
723 iov[1].iov_base = (char *)token;
724 iov[1].iov_len = strlen(token) + 1;
730 find_watch(const char *token)
734 (void) ddi_strtoul(token, NULL, 16, (unsigned long *)&cmp);
808 /* Pointer in ascii is the token. */
809 char token[sizeof (watch) * 2 + 1];
813 (void) snprintf(token, sizeof (token), "%lX", (long)watch);
821 if (find_watch(token) == NULL)
828 err = xs_watch(watch->node, token);
857 char token[sizeof (watch) * 2 + 1];
860 (void) snprintf(token, sizeof (token), "%lX", (long)watch);
865 ASSERT(find_watch(token));
872 err = xs_unwatch(watch->node, token);
914 char token[sizeof (watch) * 2 + 1];
924 (void) snprintf(token, sizeof (token), "%lX", (long)watch);
925 (void) xs_watch(watch->node, token);
991 const char *token;
1000 token = msg->un.watch.vec[XS_WATCH_TOKEN];
1001 if ((msg->un.watch.handle = find_watch(token)) != NULL) {