Lines Matching refs:je
1031 static void convert_jobs_eta(struct jobs_eta *je) in convert_jobs_eta() argument
1035 je->nr_running = le32_to_cpu(je->nr_running); in convert_jobs_eta()
1036 je->nr_ramp = le32_to_cpu(je->nr_ramp); in convert_jobs_eta()
1037 je->nr_pending = le32_to_cpu(je->nr_pending); in convert_jobs_eta()
1038 je->nr_setting_up = le32_to_cpu(je->nr_setting_up); in convert_jobs_eta()
1039 je->files_open = le32_to_cpu(je->files_open); in convert_jobs_eta()
1042 je->m_rate[i] = le32_to_cpu(je->m_rate[i]); in convert_jobs_eta()
1043 je->t_rate[i] = le32_to_cpu(je->t_rate[i]); in convert_jobs_eta()
1044 je->m_iops[i] = le32_to_cpu(je->m_iops[i]); in convert_jobs_eta()
1045 je->t_iops[i] = le32_to_cpu(je->t_iops[i]); in convert_jobs_eta()
1046 je->rate[i] = le32_to_cpu(je->rate[i]); in convert_jobs_eta()
1047 je->iops[i] = le32_to_cpu(je->iops[i]); in convert_jobs_eta()
1050 je->elapsed_sec = le64_to_cpu(je->elapsed_sec); in convert_jobs_eta()
1051 je->eta_sec = le64_to_cpu(je->eta_sec); in convert_jobs_eta()
1052 je->nr_threads = le32_to_cpu(je->nr_threads); in convert_jobs_eta()
1053 je->is_pow2 = le32_to_cpu(je->is_pow2); in convert_jobs_eta()
1054 je->unit_base = le32_to_cpu(je->unit_base); in convert_jobs_eta()
1057 void fio_client_sum_jobs_eta(struct jobs_eta *dst, struct jobs_eta *je) in fio_client_sum_jobs_eta() argument
1061 dst->nr_running += je->nr_running; in fio_client_sum_jobs_eta()
1062 dst->nr_ramp += je->nr_ramp; in fio_client_sum_jobs_eta()
1063 dst->nr_pending += je->nr_pending; in fio_client_sum_jobs_eta()
1064 dst->nr_setting_up += je->nr_setting_up; in fio_client_sum_jobs_eta()
1065 dst->files_open += je->files_open; in fio_client_sum_jobs_eta()
1068 dst->m_rate[i] += je->m_rate[i]; in fio_client_sum_jobs_eta()
1069 dst->t_rate[i] += je->t_rate[i]; in fio_client_sum_jobs_eta()
1070 dst->m_iops[i] += je->m_iops[i]; in fio_client_sum_jobs_eta()
1071 dst->t_iops[i] += je->t_iops[i]; in fio_client_sum_jobs_eta()
1072 dst->rate[i] += je->rate[i]; in fio_client_sum_jobs_eta()
1073 dst->iops[i] += je->iops[i]; in fio_client_sum_jobs_eta()
1076 dst->elapsed_sec += je->elapsed_sec; in fio_client_sum_jobs_eta()
1078 if (je->eta_sec > dst->eta_sec) in fio_client_sum_jobs_eta()
1079 dst->eta_sec = je->eta_sec; in fio_client_sum_jobs_eta()
1081 dst->nr_threads += je->nr_threads; in fio_client_sum_jobs_eta()
1087 strcpy((char *) dst->run_str, (char *) je->run_str); in fio_client_sum_jobs_eta()
1148 struct jobs_eta *je = (struct jobs_eta *) cmd->payload; in handle_eta() local
1159 client->ops->jobs_eta(client, je); in handle_eta()
1161 fio_client_sum_jobs_eta(&eta->eta, je); in handle_eta()
1436 struct jobs_eta *je = (struct jobs_eta *) cmd->payload; in fio_handle_client() local
1439 convert_jobs_eta(je); in fio_handle_client()