Searched refs:this_sector (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/md/ |
| H A D | raid1-10.c | 242 sector_t this_sector, int *len) in raid1_check_read_range() argument 248 if (!is_badblock(rdev, this_sector, *len, &first_bad, &bad_sectors)) in raid1_check_read_range() 255 if (first_bad > this_sector) in raid1_check_read_range() 256 return first_bad - this_sector; in raid1_check_read_range() 259 if (this_sector + *len <= first_bad + bad_sectors) in raid1_check_read_range() 268 *len = first_bad + bad_sectors - this_sector; in raid1_check_read_range() 279 sector_t this_sector, int len) in raid1_should_read_first() argument 281 if ((mddev->resync_offset < this_sector + len)) in raid1_should_read_first() 285 mddev->cluster_ops->area_resyncing(mddev, READ, this_sector, in raid1_should_read_first() 286 this_sector + len)) in raid1_should_read_first()
|
| H A D | raid1.c | 579 sector_t this_sector, int len) in update_read_sectors() argument 584 if (info->next_seq_sect != this_sector) in update_read_sectors() 585 info->seq_start = this_sector; in update_read_sectors() 586 info->next_seq_sect = this_sector + len; in update_read_sectors() 592 sector_t this_sector = r1_bio->sector; in choose_first_rdev() local 608 read_len = raid1_check_read_range(rdev, this_sector, &len); in choose_first_rdev() 610 update_read_sectors(conf, disk, this_sector, read_len); in choose_first_rdev() 628 sector_t this_sector = r1_bio->sector; in choose_bb_rdev() local 649 read_len = raid1_check_read_range(rdev, this_sector, &len); in choose_bb_rdev() 658 update_read_sectors(conf, best_disk, this_sector, best_len); in choose_bb_rdev() [all …]
|
| H A D | raid10.c | 727 const sector_t this_sector = r10_bio->sector; in read_balance() local 749 if (raid1_should_read_first(conf->mddev, this_sector, sectors)) in read_balance()
|
| /linux/block/partitions/ |
| H A D | msdos.c | 137 sector_t this_sector, this_size; in parse_extended() local 144 this_sector = first_sector; in parse_extended() 152 data = read_part_sector(state, this_sector, §); in parse_extended() 183 next = this_sector + offs; in parse_extended() 215 this_sector = first_sector + start_sect(p) * sector_size; in parse_extended()
|