Home
last modified time | relevance | path

Searched refs:tagpool (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/net/9p/
Dclient.c317 c->tagpool = p9_idpool_create(); in p9_tag_init()
318 if (IS_ERR(c->tagpool)) { in p9_tag_init()
319 err = PTR_ERR(c->tagpool); in p9_tag_init()
322 err = p9_idpool_get(c->tagpool); /* reserve tag 0 */ in p9_tag_init()
324 p9_idpool_destroy(c->tagpool); in p9_tag_init()
356 if (c->tagpool) { in p9_tag_cleanup()
357 p9_idpool_put(0, c->tagpool); /* free reserved tag 0 */ in p9_tag_cleanup()
358 p9_idpool_destroy(c->tagpool); in p9_tag_cleanup()
386 if (tag != P9_NOTAG && p9_idpool_check(tag, c->tagpool)) in p9_free_req()
387 p9_idpool_put(tag, c->tagpool); in p9_free_req()
[all …]
/linux-3.4.99/include/net/9p/
Dclient.h164 struct p9_idpool *tagpool; member