Lines Matching defs:je

939 static void convert_jobs_eta(struct jobs_eta *je)
943 je->nr_running = le32_to_cpu(je->nr_running);
944 je->nr_ramp = le32_to_cpu(je->nr_ramp);
945 je->nr_pending = le32_to_cpu(je->nr_pending);
946 je->nr_setting_up = le32_to_cpu(je->nr_setting_up);
947 je->files_open = le32_to_cpu(je->files_open);
950 je->m_rate[i] = le32_to_cpu(je->m_rate[i]);
951 je->t_rate[i] = le32_to_cpu(je->t_rate[i]);
952 je->m_iops[i] = le32_to_cpu(je->m_iops[i]);
953 je->t_iops[i] = le32_to_cpu(je->t_iops[i]);
954 je->rate[i] = le32_to_cpu(je->rate[i]);
955 je->iops[i] = le32_to_cpu(je->iops[i]);
958 je->elapsed_sec = le64_to_cpu(je->elapsed_sec);
959 je->eta_sec = le64_to_cpu(je->eta_sec);
960 je->nr_threads = le32_to_cpu(je->nr_threads);
961 je->is_pow2 = le32_to_cpu(je->is_pow2);
962 je->unit_base = le32_to_cpu(je->unit_base);
965 void fio_client_sum_jobs_eta(struct jobs_eta *dst, struct jobs_eta *je)
969 dst->nr_running += je->nr_running;
970 dst->nr_ramp += je->nr_ramp;
971 dst->nr_pending += je->nr_pending;
972 dst->nr_setting_up += je->nr_setting_up;
973 dst->files_open += je->files_open;
976 dst->m_rate[i] += je->m_rate[i];
977 dst->t_rate[i] += je->t_rate[i];
978 dst->m_iops[i] += je->m_iops[i];
979 dst->t_iops[i] += je->t_iops[i];
980 dst->rate[i] += je->rate[i];
981 dst->iops[i] += je->iops[i];
984 dst->elapsed_sec += je->elapsed_sec;
986 if (je->eta_sec > dst->eta_sec)
987 dst->eta_sec = je->eta_sec;
989 dst->nr_threads += je->nr_threads;
990 /* we need to handle je->run_str too ... */
1051 struct jobs_eta *je = (struct jobs_eta *) cmd->payload;
1062 client->ops->jobs_eta(client, je);
1064 fio_client_sum_jobs_eta(&eta->eta, je);
1296 struct jobs_eta *je = (struct jobs_eta *) cmd->payload;
1299 convert_jobs_eta(je);