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