Lines Matching refs:tag
270 int tag; in p9_tag_alloc() local
295 tag = idr_alloc(&c->reqs, req, P9_NOTAG, P9_NOTAG + 1, in p9_tag_alloc()
298 tag = idr_alloc(&c->reqs, req, 0, P9_NOTAG, GFP_NOWAIT); in p9_tag_alloc()
299 req->tc.tag = tag; in p9_tag_alloc()
302 if (tag < 0) in p9_tag_alloc()
335 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup() argument
341 req = idr_find(&c->reqs, tag); in p9_tag_lookup()
350 if (req->tc.tag != tag) { in p9_tag_lookup()
371 u16 tag = r->tc.tag; in p9_tag_remove() local
373 p9_debug(P9_DEBUG_MUX, "clnt %p req %p tag: %d\n", c, r, tag); in p9_tag_remove()
375 idr_remove(&c->reqs, tag); in p9_tag_remove()
409 req->tc.tag); in p9_tag_cleanup()
423 p9_debug(P9_DEBUG_MUX, " tag %d\n", req->tc.tag); in p9_client_cb()
432 p9_debug(P9_DEBUG_MUX, "wakeup: %d\n", req->tc.tag); in p9_client_cb()
448 int16_t *tag, int rewind) in p9_parse_header() argument
464 if (tag) in p9_parse_header()
465 *tag = r_tag; in p9_parse_header()
475 pdu->tag = r_tag; in p9_parse_header()
478 pdu->size, pdu->id, pdu->tag); in p9_parse_header()
708 p9pdu_prepare(&req->tc, req->tc.tag, type); in p9_client_prepare_req()
713 trace_9p_client_req(c, type, req->tc.tag); in p9_client_prepare_req()
802 trace_9p_client_res(c, type, req->rc.tag, err); in p9_client_rpc()
884 trace_9p_client_res(c, type, req->rc.tag, err); in p9_client_zc_rpc()