Searched refs:q_iop (Results 1 – 7 of 7) sorted by relevance
/external/blktrace/btt/ |
D | trace_queue.c | 23 static void handle_queue(struct io *q_iop) in handle_queue() argument 25 seeki_add(q_iop->dip->q2q_handle, q_iop); in handle_queue() 26 update_qregion(&all_regions, q_iop->t.time); in handle_queue() 27 dip_update_q(q_iop->dip, q_iop); in handle_queue() 28 pip_update_q(q_iop); in handle_queue() 29 if (remapper_dev(q_iop->t.device)) in handle_queue() 30 update_lq(&last_q, &all_avgs.q2q_dm, q_iop->t.time); in handle_queue() 32 update_q_histo(q_iop->t.bytes); in handle_queue() 33 update_lq(&last_q, &all_avgs.q2q, q_iop->t.time); in handle_queue() 36 q_iop->i_time = q_iop->g_time = q_iop->i_time = q_iop->m_time = in handle_queue() [all …]
|
D | trace_im.c | 25 struct io *q_iop; in handle_g() local 29 q_iop = dip_find_sec(g_iop->dip, IOP_Q, g_iop->t.sector); in handle_g() 30 if (q_iop) { in handle_g() 31 q_iop->g_time = g_iop->t.time; in handle_g() 32 update_q2g(q_iop, tdelta(q_iop->t.time, g_iop->t.time)); in handle_g() 33 if (q_iop->s_time != 0) in handle_g() 34 update_s2g(q_iop, tdelta(q_iop->s_time, g_iop->t.time)); in handle_g() 40 struct io *q_iop = dip_find_sec(s_iop->dip, IOP_Q, s_iop->t.sector); in handle_s() local 42 if (q_iop) in handle_s() 43 q_iop->s_time = s_iop->t.time; in handle_s() [all …]
|
D | trace_issue.c | 41 struct io *q_iop = list_entry(p, struct io, f_head); in handle_issue() local 43 if (q_iop->i_time != (__u64)-1) in handle_issue() 44 update_i2d(q_iop, tdelta(q_iop->i_time, d_iop->t.time)); in handle_issue() 45 else if (q_iop->m_time != (__u64)-1) in handle_issue() 46 update_m2d(q_iop, tdelta(q_iop->m_time, d_iop->t.time)); in handle_issue() 48 d_iop->bytes_left -= q_iop->t.bytes; in handle_issue() 49 list_del(&q_iop->f_head); in handle_issue() 51 q_iop->d_time = d_iop->t.time; in handle_issue() 52 q_iop->d_sec = d_iop->t.sector; in handle_issue() 53 q_iop->d_nsec = t_sec(&d_iop->t); in handle_issue() [all …]
|
D | trace_complete.c | 68 struct io *q_iop = list_entry(p, struct io, f_head); in handle_complete() local 69 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time); in handle_complete() 71 c_iop->bytes_left -= q_iop->t.bytes; in handle_complete() 73 update_q2c(q_iop, q2c); in handle_complete() 74 latency_q2c(q_iop->dip, q_iop->t.time, q2c); in handle_complete() 76 if (q_iop->d_time != (__u64)-1) { in handle_complete() 77 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time); in handle_complete() 79 update_d2c(q_iop, d2c); in handle_complete() 80 latency_d2c(q_iop->dip, c_iop->t.time, d2c); in handle_complete() 81 iostat_complete(q_iop, c_iop); in handle_complete() [all …]
|
D | trace_remap.c | 36 struct io *q_iop; in trace_remap() local 53 q_iop = dip_find_sec(q_dip, IOP_Q, rp->sector_from); in trace_remap() 54 if (q_iop) in trace_remap() 55 update_q2a(q_iop, tdelta(q_iop->t.time, a_iop->t.time)); in trace_remap()
|
D | iostat.c | 266 void iostat_complete(struct io *q_iop, struct io *c_iop) in iostat_complete() argument 269 struct d_info *dip = q_iop->dip; in iostat_complete() 271 if (q_iop->i_time != (__u64)-1) in iostat_complete() 272 ADD_STAT(c_iop->dip, wait, tdelta(q_iop->i_time,c_iop->t.time)); in iostat_complete() 273 else if (q_iop->m_time != (__u64)-1) in iostat_complete() 274 ADD_STAT(c_iop->dip, wait, tdelta(q_iop->m_time,c_iop->t.time)); in iostat_complete() 282 ADD_STAT(dip, svctm, tdelta(q_iop->t.time, c_iop->t.time)); in iostat_complete()
|
D | globals.h | 330 void run_queue(struct io *q_iop, struct io *u_iop, struct io *c_iop); 331 int ready_queue(struct io *q_iop, struct io *c_iop); 332 void trace_queue(struct io *q_iop);
|