Lines Matching refs:path
234 static struct watch_adapter *alloc_watch_adapter(const char *path, in alloc_watch_adapter() argument
243 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter()
266 const char *path, *token; in watch_fired() local
273 path = vec[XS_WATCH_PATH]; in watch_fired()
276 path_len = strlen(path) + 1; in watch_fired()
289 ret = queue_reply(&staging_q, path, path_len); in watch_fired()
366 char *path, *token; in xenbus_write_watch() local
370 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch()
371 token = memchr(path, 0, u->u.msg.len); 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()
402 !strcmp(watch->watch.node, path)) { in xenbus_write_watch()