• Home
  • Raw
  • Download

Lines Matching refs:sector

293 		r1_bio->sector + (r1_bio->sectors);  in update_head_pos()
358 (unsigned long long)r1_bio->sector); in raid1_end_read_request()
377 bitmap_endwrite(r1_bio->mddev->bitmap, r1_bio->sector, in close_write()
452 r1_bio->sector, r1_bio->sectors, in raid1_end_write_request()
513 const sector_t this_sector = r1_bio->sector; in read_balance()
711 sector_t sector = bvm->bi_sector + get_start_sect(bvm->bi_bdev); in raid1_mergeable_bvec() local
724 bvm->bi_sector = sector + in raid1_mergeable_bvec()
895 sector_t sector = 0; in wait_barrier() local
933 sector = conf->start_next_window; in wait_barrier()
939 return sector; in wait_barrier()
1152 r1_bio->sector = bio->bi_iter.bi_sector; in make_request()
1193 bio_trim(read_bio, r1_bio->sector - bio->bi_iter.bi_sector, in make_request()
1198 read_bio->bi_iter.bi_sector = r1_bio->sector + in make_request()
1210 sectors_handled = (r1_bio->sector + max_sectors in make_request()
1232 r1_bio->sector = bio->bi_iter.bi_sector + in make_request()
1286 is_bad = is_badblock(rdev, r1_bio->sector, in make_request()
1296 if (is_bad && first_bad <= r1_bio->sector) { in make_request()
1298 bad_sectors -= (r1_bio->sector - first_bad); in make_request()
1318 int good_sectors = first_bad - r1_bio->sector; in make_request()
1363 sectors_handled = r1_bio->sector + max_sectors - bio->bi_iter.bi_sector; in make_request()
1375 bio_trim(mbio, r1_bio->sector - bio->bi_iter.bi_sector, max_sectors); in make_request()
1388 bitmap_startwrite(bitmap, r1_bio->sector, in make_request()
1409 mbio->bi_iter.bi_sector = (r1_bio->sector + in make_request()
1449 r1_bio->sector = bio->bi_iter.bi_sector + sectors_handled; in make_request()
1772 sector_t s = r1_bio->sector; in end_sync_write()
1789 r1_bio->sector, in end_sync_write()
1793 r1_bio->sector, in end_sync_write()
1811 static int r1_sync_page_io(struct md_rdev *rdev, sector_t sector, in r1_sync_page_io() argument
1814 if (sync_page_io(rdev, sector, sectors << 9, page, rw, false)) in r1_sync_page_io()
1825 if (!rdev_set_badblocks(rdev, sector, sectors, 0)) in r1_sync_page_io()
1846 sector_t sect = r1_bio->sector; in fix_sync_read_error()
1890 (unsigned long long)r1_bio->sector); in fix_sync_read_error()
1982 b->bi_iter.bi_sector = r1_bio->sector + in process_checks()
2209 sector_t sector; in narrow_write_error() local
2218 sector = r1_bio->sector; in narrow_write_error()
2219 sectors = ((sector + block_sectors) in narrow_write_error()
2221 - sector; in narrow_write_error()
2247 wbio->bi_iter.bi_sector = r1_bio->sector; in narrow_write_error()
2250 bio_trim(wbio, sector - r1_bio->sector, sectors); in narrow_write_error()
2255 ok = rdev_set_badblocks(rdev, sector, in narrow_write_error()
2261 sector += sectors; in narrow_write_error()
2278 rdev_clear_badblocks(rdev, r1_bio->sector, s, 0); in handle_sync_write_finished()
2282 if (!rdev_set_badblocks(rdev, r1_bio->sector, s, 0)) in handle_sync_write_finished()
2297 r1_bio->sector, in handle_write_finished()
2340 r1_bio->sector, r1_bio->sectors); in handle_read_error()
2353 mdname(mddev), b, (unsigned long long)r1_bio->sector); in handle_read_error()
2365 bio_trim(bio, r1_bio->sector - bio->bi_iter.bi_sector, in handle_read_error()
2373 (unsigned long long)r1_bio->sector, in handle_read_error()
2375 bio->bi_iter.bi_sector = r1_bio->sector + rdev->data_offset; in handle_read_error()
2383 int sectors_handled = (r1_bio->sector + max_sectors in handle_read_error()
2402 r1_bio->sector = mbio->bi_iter.bi_sector + in handle_read_error()
2564 r1_bio->sector = sector_nr; in sync_request()