Lines Matching refs:c_iop
52 static void handle_complete(struct io *c_iop) in handle_complete() argument
57 FILE *pit_fp = c_iop->dip->pit_fp; in handle_complete()
58 double cur = BIT_TIME(c_iop->t.time); in handle_complete()
60 update_blks(c_iop); in handle_complete()
61 update_cregion(&all_regions, c_iop->t.time); in handle_complete()
62 update_cregion(&c_iop->dip->regions, c_iop->t.time); in handle_complete()
63 if (c_iop->pip) in handle_complete()
64 update_cregion(&c_iop->pip->regions, c_iop->t.time); in handle_complete()
65 aqd_complete(c_iop->dip->aqd_handle, cur); in handle_complete()
66 rstat_add(c_iop->dip->rstat_handle, cur, c_iop->t.bytes >> 9); in handle_complete()
68 dip_foreach_list(c_iop, IOP_Q, &head); in handle_complete()
71 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time); in handle_complete()
73 c_iop->bytes_left -= q_iop->t.bytes; in handle_complete()
79 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time); in handle_complete()
81 p_live_add(q_iop->dip, q_iop->d_time, c_iop->t.time); in handle_complete()
83 latency_d2c(q_iop->dip, c_iop->t.time, d2c); in handle_complete()
84 iostat_complete(q_iop, c_iop); in handle_complete()
90 q_iop->c_time = c_iop->t.time; in handle_complete()
91 q_iop->c_sec = c_iop->t.sector; in handle_complete()
92 q_iop->c_nsec = t_sec(&c_iop->t); in handle_complete()
110 if (c_iop->dip->pit_fp) { in handle_complete()
114 (int)SECONDS(c_iop->t.time), in handle_complete()
115 (unsigned long)NANO_SECONDS(c_iop->t.time)); in handle_complete()
119 void trace_complete(struct io *c_iop) in trace_complete() argument
121 if (c_iop->t.bytes == 0) in trace_complete()
124 if (io_setup(c_iop, IOP_C)) in trace_complete()
125 handle_complete(c_iop); in trace_complete()
127 io_release(c_iop); in trace_complete()