Searched refs:this_sector (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/md/
H A Draid1-10.c235 * @this_sector: read position;
243 * - If the bad block range starts after @this_sector, the length of first
245 * - If the bad block range starts before @this_sector, 0 is returned and
250 sector_t this_sector, int *len)
256 if (!is_badblock(rdev, this_sector, *len, &first_bad, &bad_sectors))
263 if (first_bad > this_sector)
264 return first_bad - this_sector;
267 if (this_sector + *len <= first_bad + bad_sectors)
276 *len = first_bad + bad_sectors - this_sector;
287 sector_t this_sector, in
249 raid1_check_read_range(struct md_rdev *rdev, sector_t this_sector, int *len) argument
286 raid1_should_read_first(struct mddev *mddev, sector_t this_sector, int len) argument
[all...]
H A Draid1.c580 sector_t this_sector, int len)
585 if (info->next_seq_sect != this_sector)
586 info->seq_start = this_sector;
587 info->next_seq_sect = this_sector + len;
593 sector_t this_sector = r1_bio->sector; local
609 read_len = raid1_check_read_range(rdev, this_sector, &len);
611 update_read_sectors(conf, disk, this_sector, read_len);
623 sector_t this_sector = r1_bio->sector; local
643 read_len = raid1_check_read_range(rdev, this_sector, &len);
652 update_read_sectors(conf, best_disk, this_sector, best_le
579 update_read_sectors(struct r1conf *conf, int disk, sector_t this_sector, int len) argument
661 sector_t this_sector = r1_bio->sector; local
[all...]
H A Draid10.c727 const sector_t this_sector = r10_bio->sector; local
749 if (raid1_should_read_first(conf->mddev, this_sector, sectors))
/linux-master/block/partitions/
H A Dmsdos.c137 sector_t this_sector, this_size; local
144 this_sector = first_sector;
152 data = read_part_sector(state, this_sector, &sect);
183 next = this_sector + offs;
215 this_sector = first_sector + start_sect(p) * sector_size;

Completed in 105 milliseconds