• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching defs:rh

63 	struct dm_region_hash *rh;
335 sector_t region_size = dm_rh_get_region_size(ms->rh);
340 from.sector = m->offset + dm_rh_region_to_sector(ms->rh, key);
359 dest->sector = m->offset + dm_rh_region_to_sector(ms->rh, key);
377 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
383 dm_rh_recovery_prepare(ms->rh);
388 while ((reg = dm_rh_recovery_start(ms->rh))) {
432 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
433 region_t region = dm_rh_bio_to_region(ms->rh, bio);
545 int state = dm_rh_get_state(ms->rh, region, may_block);
556 region = dm_rh_bio_to_region(ms->rh, bio);
658 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
678 region = dm_rh_bio_to_region(ms->rh, bio);
686 state = dm_rh_get_state(ms->rh, region, 1);
721 dm_rh_inc_pending(ms->rh, &sync);
722 dm_rh_inc_pending(ms->rh, &nosync);
729 ms->log_failure = dm_rh_flush(ms->rh) ? 1 : ms->log_failure;
744 dm_rh_delay(ms->rh, bio);
786 dm_rh_mark_nosync(ms->rh, bio);
833 dm_rh_update_states(ms->rh, errors_handled(ms));
893 ms->rh = dm_region_hash_create(ms, dispatch_bios, wakeup_mirrord,
897 if (IS_ERR(ms->rh)) {
915 dm_region_hash_destroy(ms->rh);
1077 ti->split_io = dm_rh_get_region_size(ms->rh);
1149 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
1153 map_context->ll = dm_rh_bio_to_region(ms->rh, bio);
1158 r = log->type->in_sync(log, dm_rh_bio_to_region(ms->rh, bio), 0);
1207 dm_rh_dec(ms->rh, map_context->ll);
1263 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
1288 dm_rh_stop_recovery(ms->rh);
1291 !dm_rh_recovery_in_flight(ms->rh));
1308 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
1317 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);
1322 dm_rh_start_recovery(ms->rh);
1355 struct dm_dirty_log *log = dm_rh_dirty_log(ms->rh);