Lines Matching refs:previous
305 static void raid5_build_block(struct stripe_head *sh, int i, int previous);
306 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
309 static void init_stripe(struct stripe_head *sh, sector_t sector, int previous) in init_stripe() argument
323 sh->generation = conf->generation - previous; in init_stripe()
324 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; in init_stripe()
326 stripe_set_idx(sector, conf, previous, sh); in init_stripe()
342 raid5_build_block(sh, i, previous); in init_stripe()
445 int previous, int noblock, int noquiesce) in get_active_stripe() argument
457 sh = __find_stripe(conf, sector, conf->generation - previous); in get_active_stripe()
474 init_stripe(sh, sector, previous); in get_active_stripe()
1826 static sector_t compute_blocknr(struct stripe_head *sh, int i, int previous);
1828 static void raid5_build_block(struct stripe_head *sh, int i, int previous) in raid5_build_block() argument
1847 dev->sector = compute_blocknr(sh, i, previous); in raid5_build_block()
1880 int previous, int *dd_idx, in raid5_compute_sector() argument
1889 int algorithm = previous ? conf->prev_algo in raid5_compute_sector()
1891 int sectors_per_chunk = previous ? conf->prev_chunk_sectors in raid5_compute_sector()
1893 int raid_disks = previous ? conf->previous_raid_disks in raid5_compute_sector()
2082 static sector_t compute_blocknr(struct stripe_head *sh, int i, int previous) in compute_blocknr() argument
2088 int sectors_per_chunk = previous ? conf->prev_chunk_sectors in compute_blocknr()
2090 int algorithm = previous ? conf->prev_algo in compute_blocknr()
2193 previous, &dummy1, &sh2); in compute_blocknr()
2358 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx() argument
2362 previous ? conf->prev_chunk_sectors : conf->chunk_sectors; in stripe_set_idx()
2365 int disks = previous ? conf->previous_raid_disks : conf->raid_disks; in stripe_set_idx()
2370 previous, in stripe_set_idx()
3976 int previous; in make_request() local
3979 previous = 0; in make_request()
3996 previous = 1; in make_request()
4011 previous, in make_request()
4017 sh = get_active_stripe(conf, new_sector, previous, in make_request()
4020 if (unlikely(previous)) { in make_request()