Lines Matching refs:token
224 char *token; member
230 kfree(watch->token); in free_watch_adapter()
235 const char *token) in alloc_watch_adapter() argument
247 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter()
248 if (watch->token == NULL) in alloc_watch_adapter()
266 const char *path, *token; in watch_fired() local
274 token = adap->token; in watch_fired()
277 tok_len = strlen(token) + 1; in watch_fired()
291 ret = queue_reply(&staging_q, token, tok_len); in watch_fired()
366 char *path, *token; in xenbus_write_watch() local
371 token = memchr(path, 0, u->u.msg.len); in xenbus_write_watch()
372 if (token == NULL) { in xenbus_write_watch()
376 token++; in xenbus_write_watch()
377 if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) { in xenbus_write_watch()
383 watch = alloc_watch_adapter(path, token); in xenbus_write_watch()
401 if (!strcmp(watch->token, token) && in xenbus_write_watch()