Lines Matching full:delayed
84 struct dm_delay_info *delayed, *next; in flush_delayed_bios() local
95 list_for_each_entry_safe(delayed, next, &local_list, list) { in flush_delayed_bios()
97 if (flush_all || time_after_eq(jiffies, delayed->expires)) { in flush_delayed_bios()
98 struct bio *bio = dm_bio_from_per_bio_data(delayed, in flush_delayed_bios()
100 list_del(&delayed->list); in flush_delayed_bios()
102 delayed->class->ops--; in flush_delayed_bios()
109 next_expires = delayed->expires; in flush_delayed_bios()
111 next_expires = min(next_expires, delayed->expires); in flush_delayed_bios()
303 struct dm_delay_info *delayed; in delay_bio() local
309 delayed = dm_per_bio_data(bio, sizeof(struct dm_delay_info)); in delay_bio()
311 delayed->context = dc; in delay_bio()
312 delayed->expires = expires = jiffies + msecs_to_jiffies(c->delay); in delay_bio()
320 list_add_tail(&delayed->list, &dc->delayed_bios); in delay_bio()
355 struct dm_delay_info *delayed = dm_per_bio_data(bio, sizeof(struct dm_delay_info)); in delay_map() local
365 delayed->class = c; in delay_map()