Lines Matching refs:d_info
62 struct d_info *__dip_find(__u32 device) in __dip_find()
64 struct d_info *dip; in __dip_find()
68 dip = list_entry(p, struct d_info, hash_head); in __dip_find()
76 void __dip_exit(struct d_info *dip) in __dip_exit()
101 struct d_info *dip = list_entry(p, struct d_info, all_head); in dip_exit()
125 struct d_info *dip_alloc(__u32 device, struct io *iop) in dip_alloc()
127 struct d_info *dip = __dip_find(device); in dip_alloc()
132 dip = malloc(sizeof(struct d_info)); in dip_alloc()
207 struct io *dip_find_sec(struct d_info *dip, enum iop_type type, __u64 sec) in dip_find_sec()
212 void dip_foreach_out(void (*func)(struct d_info *, void *), void *arg) in dip_foreach_out() argument
217 func(list_entry(p, struct d_info, all_head), arg); in dip_foreach_out()
220 struct d_info *dip; in dip_foreach_out()
235 struct d_info *dip = __dip_find(dev); in dip_plug()
243 static inline void unplug(struct d_info *dip, double cur_time) in unplug()
251 struct d_info *dip = __dip_find(dev); in dip_unplug()
262 struct d_info *dip = __dip_find(dev); in dip_unplug_tm()
276 struct d_info *dip = list_entry(p, struct d_info, all_head); in dip_cleanup()