Lines Matching refs:c_iop
52 static void handle_complete(struct io *c_iop)
57 FILE *pit_fp = c_iop->dip->pit_fp;
59 update_blks(c_iop);
60 update_cregion(&all_regions, c_iop->t.time);
61 update_cregion(&c_iop->dip->regions, c_iop->t.time);
62 if (c_iop->pip)
63 update_cregion(&c_iop->pip->regions, c_iop->t.time);
64 aqd_complete(c_iop->dip->aqd_handle, BIT_TIME(c_iop->t.time));
66 dip_foreach_list(c_iop, IOP_Q, &head);
69 __u64 q2c = tdelta(q_iop->t.time, c_iop->t.time);
71 c_iop->bytes_left -= q_iop->t.bytes;
77 __u64 d2c = tdelta(q_iop->d_time, c_iop->t.time);
80 latency_d2c(q_iop->dip, c_iop->t.time, d2c);
81 iostat_complete(q_iop, c_iop);
87 q_iop->c_time = c_iop->t.time;
88 q_iop->c_sec = c_iop->t.sector;
89 q_iop->c_nsec = t_sec(&c_iop->t);
107 if (c_iop->dip->pit_fp) {
111 (int)SECONDS(c_iop->t.time),
112 (unsigned long)NANO_SECONDS(c_iop->t.time));
116 void trace_complete(struct io *c_iop)
118 if (c_iop->t.bytes == 0)
121 if (io_setup(c_iop, IOP_C))
122 handle_complete(c_iop);
124 io_release(c_iop);