/external/blktrace/btt/ |
trace_queue.c | 23 static void handle_queue(struct io *q_iop) 25 seeki_add(q_iop->dip->q2q_handle, q_iop); 26 update_qregion(&all_regions, q_iop->t.time); 27 dip_update_q(q_iop->dip, q_iop); 28 pip_update_q(q_iop); 29 if (remapper_dev(q_iop->t.device)) 30 update_lq(&last_q, &all_avgs.q2q_dm, q_iop->t.time); 32 update_q_histo(q_iop->t.bytes) [all...] |
trace_im.c | 25 struct io *q_iop; local 29 q_iop = dip_find_sec(g_iop->dip, IOP_Q, g_iop->t.sector); 30 if (q_iop) { 31 q_iop->g_time = g_iop->t.time; 32 update_q2g(q_iop, tdelta(q_iop->t.time, g_iop->t.time)); 33 if (q_iop->s_time != 0) 34 update_s2g(q_iop, tdelta(q_iop->s_time, g_iop->t.time)); 40 struct io *q_iop = dip_find_sec(s_iop->dip, IOP_Q, s_iop->t.sector) local 48 struct io *q_iop = dip_find_sec(i_iop->dip, IOP_Q, i_iop->t.sector); local 59 struct io *q_iop; local [all...] |
trace_issue.c | 41 struct io *q_iop = list_entry(p, struct io, f_head); local 43 if (q_iop->i_time != (__u64)-1) 44 update_i2d(q_iop, tdelta(q_iop->i_time, d_iop->t.time)); 45 else if (q_iop->m_time != (__u64)-1) 46 update_m2d(q_iop, tdelta(q_iop->m_time, d_iop->t.time)); 48 d_iop->bytes_left -= q_iop->t.bytes; 49 list_del(&q_iop->f_head); 51 q_iop->d_time = d_iop->t.time [all...] |
trace_complete.c | 68 struct io *q_iop = list_entry(p, struct io, f_head); local 69 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time); 71 c_iop->bytes_left -= q_iop->t.bytes; 73 update_q2c(q_iop, q2c); 74 latency_q2c(q_iop->dip, q_iop->t.time, q2c); 76 if (q_iop->d_time != (__u64)-1) { 77 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time); 79 update_d2c(q_iop, d2c); 80 latency_d2c(q_iop->dip, c_iop->t.time, d2c) [all...] |
trace_remap.c | 31 * q_iop == volume device 36 struct io *q_iop; local 53 q_iop = dip_find_sec(q_dip, IOP_Q, rp->sector_from); 54 if (q_iop) 55 update_q2a(q_iop, tdelta(q_iop->t.time, a_iop->t.time));
|
iostat.c | 266 void iostat_complete(struct io *q_iop, struct io *c_iop) 269 struct d_info *dip = q_iop->dip; 271 if (q_iop->i_time != (__u64)-1) 272 ADD_STAT(c_iop->dip, wait, tdelta(q_iop->i_time,c_iop->t.time)); 273 else if (q_iop->m_time != (__u64)-1) 274 ADD_STAT(c_iop->dip, wait, tdelta(q_iop->m_time,c_iop->t.time)); 282 ADD_STAT(dip, svctm, tdelta(q_iop->t.time, c_iop->t.time));
|
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);
|