Lines Matching defs:tid
508 DEFINE_RB_FUNCS(generic_request, struct ceph_mon_generic_request, tid, node)
560 WARN_ON(req->tid);
563 req->tid = ++monc->last_tid;
570 WARN_ON(!req->tid);
572 dout("%s greq %p tid %llu\n", __func__, req, req->tid);
573 req->request->hdr.tid = cpu_to_le64(req->tid);
581 dout("%s greq %p tid %llu\n", __func__, req, req->tid);
608 dout("%s greq %p tid %llu\n", __func__, req, req->tid);
612 req->tid);
625 dout("%s greq %p tid %llu\n", __func__, req, req->tid);
641 u64 tid = le64_to_cpu(hdr->tid);
645 req = lookup_generic_request(&monc->generic_request_tree, tid);
647 dout("get_generic_reply %lld dne\n", tid);
651 dout("get_generic_reply %lld got %p\n", tid, req->reply);
672 u64 tid = le64_to_cpu(msg->hdr.tid);
674 dout("%s msg %p tid %llu\n", __func__, msg, tid);
680 req = lookup_generic_request(&monc->generic_request_tree, tid);
695 pr_err("corrupt statfs reply, tid %llu\n", tid);
749 u64 tid = le64_to_cpu(msg->hdr.tid);
754 dout("%s msg %p tid %llu\n", __func__, msg, tid);
758 if (tid != 0 && tid != handle)
777 pr_err("corrupt mon_get_version reply, tid %llu\n", tid);
811 ceph_encode_64(&p, req->tid); /* handle */
874 u64 tid = le64_to_cpu(msg->hdr.tid);
876 dout("%s msg %p tid %llu\n", __func__, msg, tid);
883 req = lookup_generic_request(&monc->generic_request_tree, tid);
897 pr_err("corrupt mon_command ack, tid %llu\n", tid);
1351 if (le64_to_cpu(hdr->tid) != 0)
1355 * Older OSDs don't set reply tid even if the orignal
1356 * request had a non-zero tid. Work around this weirdness