/external/blktrace/btt/ |
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_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));
|
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_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...] |