Searched refs:op_metrics (Results 1 – 1 of 1) sorted by relevance
155 struct rpc_iostats *op_metrics) in rpc_count_iostats_metrics() argument160 if (!op_metrics || !req) in rpc_count_iostats_metrics()164 spin_lock(&op_metrics->om_lock); in rpc_count_iostats_metrics()166 op_metrics->om_ops++; in rpc_count_iostats_metrics()168 op_metrics->om_ntrans += max(req->rq_ntrans, 1); in rpc_count_iostats_metrics()169 op_metrics->om_timeouts += task->tk_timeouts; in rpc_count_iostats_metrics()171 op_metrics->om_bytes_sent += req->rq_xmit_bytes_sent; in rpc_count_iostats_metrics()172 op_metrics->om_bytes_recv += req->rq_reply_bytes_recvd; in rpc_count_iostats_metrics()177 op_metrics->om_queue = ktime_add(op_metrics->om_queue, backlog); in rpc_count_iostats_metrics()180 op_metrics->om_rtt = ktime_add(op_metrics->om_rtt, req->rq_rtt); in rpc_count_iostats_metrics()[all …]