Lines Matching refs:iop
37 struct io *iop = rb_entry(n, struct io, rb_node); in __destroy() local
41 io_release(iop); in __destroy()
120 struct d_info *dip_alloc(__u32 device, struct io *iop) in dip_alloc() argument
132 dip->start_time = BIT_TIME(iop->t.time); in dip_alloc()
161 if (iop->type == IOP_Q || iop->type == IOP_A) in dip_alloc()
167 iop->linked = dip_rb_ins(dip, iop); in dip_alloc()
168 dip->end_time = BIT_TIME(iop->t.time); in dip_alloc()
173 void iop_rem_dip(struct io *iop) in iop_rem_dip() argument
175 if (iop->linked) { in iop_rem_dip()
176 dip_rb_rem(iop); in iop_rem_dip()
177 iop->linked = 0; in iop_rem_dip()
181 void dip_foreach(struct io *iop, enum iop_type type, in dip_foreach() argument
182 void (*fnc)(struct io *iop, struct io *this), int rm_after) in dip_foreach() argument
189 dip_rb_fe(iop->dip, type, iop, fnc, &head); in dip_foreach()
196 dip_rb_fe(iop->dip, type, iop, fnc, NULL); in dip_foreach()
199 void dip_foreach_list(struct io *iop, enum iop_type type, struct list_head *hd) in dip_foreach_list() argument
201 dip_rb_fe(iop->dip, type, iop, NULL, hd); in dip_foreach_list()