Lines Matching refs:dmz_reclaim
14 struct dmz_reclaim { struct
59 static int dmz_reclaim_align_wp(struct dmz_reclaim *zrc, struct dm_zone *zone, in dmz_reclaim_align_wp()
102 struct dmz_reclaim *zrc = context; in dmz_reclaim_kcopy_end()
117 static int dmz_reclaim_copy(struct dmz_reclaim *zrc, in dmz_reclaim_copy()
196 static int dmz_reclaim_buf(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_buf()
235 static int dmz_reclaim_seq_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_seq_data()
280 static int dmz_reclaim_rnd_data(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_rnd_data()
340 static void dmz_reclaim_empty(struct dmz_reclaim *zrc, struct dm_zone *dzone) in dmz_reclaim_empty()
356 static inline int dmz_target_idle(struct dmz_reclaim *zrc) in dmz_target_idle()
364 static int dmz_do_reclaim(struct dmz_reclaim *zrc) in dmz_do_reclaim()
446 static unsigned int dmz_reclaim_percentage(struct dmz_reclaim *zrc) in dmz_reclaim_percentage()
467 static bool dmz_should_reclaim(struct dmz_reclaim *zrc, unsigned int p_unmap) in dmz_should_reclaim()
504 struct dmz_reclaim *zrc = container_of(work, struct dmz_reclaim, work.work); in dmz_reclaim_work()
554 struct dmz_reclaim **reclaim, int idx) in dmz_ctr_reclaim()
556 struct dmz_reclaim *zrc; in dmz_ctr_reclaim()
559 zrc = kzalloc(sizeof(struct dmz_reclaim), GFP_KERNEL); in dmz_ctr_reclaim()
599 void dmz_dtr_reclaim(struct dmz_reclaim *zrc) in dmz_dtr_reclaim()
610 void dmz_suspend_reclaim(struct dmz_reclaim *zrc) in dmz_suspend_reclaim()
618 void dmz_resume_reclaim(struct dmz_reclaim *zrc) in dmz_resume_reclaim()
626 void dmz_reclaim_bio_acc(struct dmz_reclaim *zrc) in dmz_reclaim_bio_acc()
634 void dmz_schedule_reclaim(struct dmz_reclaim *zrc) in dmz_schedule_reclaim()