Lines Matching refs:delayed
82 struct dm_delay_info *delayed, *next; in flush_delayed_bios() local
88 list_for_each_entry_safe(delayed, next, &dc->delayed_bios, list) { in flush_delayed_bios()
89 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
90 struct bio *bio = dm_bio_from_per_bio_data(delayed, in flush_delayed_bios()
92 list_del(&delayed->list); in flush_delayed_bios()
94 delayed->class->ops--; in flush_delayed_bios()
100 next_expires = delayed->expires; in flush_delayed_bios()
102 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
245 struct dm_delay_info *delayed; in delay_bio() local
251 delayed = dm_per_bio_data(bio, sizeof(struct dm_delay_info)); in delay_bio()
253 delayed->context = dc; in delay_bio()
254 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
258 list_add_tail(&delayed->list, &dc->delayed_bios); in delay_bio()
286 struct dm_delay_info *delayed = dm_per_bio_data(bio, sizeof(struct dm_delay_info)); in delay_map() local
296 delayed->class = c; in delay_map()