• Home
  • Raw
  • Download

Lines Matching refs:stripe_len

114 	int stripe_len;  member
540 if (size != rbio->nr_data * rbio->stripe_len) in __rbio_is_full()
543 BUG_ON(size > rbio->nr_data * rbio->stripe_len); in __rbio_is_full()
947 chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; in page_in_rbio()
963 static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes) in rbio_nr_pages() argument
965 return DIV_ROUND_UP(stripe_len, PAGE_SIZE) * nr_stripes; in rbio_nr_pages()
973 struct btrfs_bio *bbio, u64 stripe_len) in alloc_rbio() argument
978 int num_pages = rbio_nr_pages(stripe_len, real_stripes); in alloc_rbio()
979 int stripe_npages = DIV_ROUND_UP(stripe_len, PAGE_SIZE); in alloc_rbio()
995 rbio->stripe_len = stripe_len; in alloc_rbio()
1281 page, stripe, pagenr, rbio->stripe_len); in finish_rmw()
1306 pagenr, rbio->stripe_len); in finish_rmw()
1352 physical < stripe_start + rbio->stripe_len && in find_bio_stripe()
1377 logical < stripe_start + rbio->stripe_len) { in find_logical_bio_stripe()
1549 stripe, pagenr, rbio->stripe_len); in raid56_rmw_stripe()
1747 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write() argument
1754 rbio = alloc_rbio(root, bbio, stripe_len); in raid56_parity_write()
2070 stripe, pagenr, rbio->stripe_len); in __raid56_parity_recover()
2127 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover() argument
2133 rbio = alloc_rbio(root, bbio, stripe_len); in raid56_parity_recover()
2216 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio() argument
2223 rbio = alloc_rbio(root, bbio, stripe_len); in raid56_parity_alloc_scrub_rbio()
2258 rbio->stripe_len * rbio->nr_data); in raid56_add_scrub_pages()
2407 page, rbio->scrubp, pagenr, rbio->stripe_len); in finish_parity_scrub()
2421 pagenr, rbio->stripe_len); in finish_parity_scrub()
2593 stripe, pagenr, rbio->stripe_len); in raid56_parity_scrub_stripe()