Home | History | Annotate | Download | only in btt

Lines Matching refs:iop

37 		struct io *iop = rb_entry(n, struct io, rb_node);
41 io_release(iop);
125 struct d_info *dip_alloc(__u32 device, struct io *iop)
153 dip->start_time = BIT_TIME(iop->t.time);
164 if (iop->type == IOP_Q || iop->type == IOP_A)
170 iop->linked = dip_rb_ins(dip, iop);
171 dip->end_time = BIT_TIME(iop->t.time);
176 void iop_rem_dip(struct io *iop)
178 if (iop->linked) {
179 dip_rb_rem(iop);
180 iop->linked = 0;
184 void dip_foreach(struct io *iop, enum iop_type type,
185 void (*fnc)(struct io *iop, struct io *this), int rm_after)
192 dip_rb_fe(iop->dip, type, iop, fnc, &head);
199 dip_rb_fe(iop->dip, type, iop, fnc, NULL);
202 void dip_foreach_list(struct io *iop, enum iop_type type, struct list_head *hd)
204 dip_rb_fe(iop->dip, type, iop, NULL, hd);