Lines Matching refs:stripe

68 		struct btrfs_io_stripe *stripe = &bioc->stripes[i];  in test_punch_hole_3extents()  local
70 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_punch_hole_3extents()
71 if (!stripe->dev) { in test_punch_hole_3extents()
77 stripe->physical = logical1 + i * SZ_1G; in test_punch_hole_3extents()
89 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents() local
91 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_punch_hole_3extents()
92 if (!stripe->dev) { in test_punch_hole_3extents()
98 stripe->physical = logical2 + i * SZ_1G; in test_punch_hole_3extents()
110 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole_3extents() local
112 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_punch_hole_3extents()
113 if (!stripe->dev) { in test_punch_hole_3extents()
119 stripe->physical = logical3 + i * SZ_1G; in test_punch_hole_3extents()
244 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() local
246 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_delete_two_extents()
247 if (!stripe->dev) { in test_delete_two_extents()
253 stripe->physical = logical1 + i * SZ_1G; in test_delete_two_extents()
265 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() local
267 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_delete_two_extents()
268 if (!stripe->dev) { in test_delete_two_extents()
274 stripe->physical = logical2 + i * SZ_1G; in test_delete_two_extents()
286 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_delete_two_extents() local
288 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_delete_two_extents()
289 if (!stripe->dev) { in test_delete_two_extents()
295 stripe->physical = logical3 + i * SZ_1G; in test_delete_two_extents()
387 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_punch_hole() local
389 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_punch_hole()
390 if (!stripe->dev) { in test_punch_hole()
396 stripe->physical = logical1 + i * SZ_1G; in test_punch_hole()
527 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete_prev_item() local
529 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_front_delete_prev_item()
530 if (!stripe->dev) { in test_front_delete_prev_item()
536 stripe->physical = logical1 + i * SZ_1G; in test_front_delete_prev_item()
548 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete_prev_item() local
550 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_front_delete_prev_item()
551 if (!stripe->dev) { in test_front_delete_prev_item()
557 stripe->physical = logical2 + i * SZ_1G; in test_front_delete_prev_item()
667 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_front_delete() local
669 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_front_delete()
670 if (!stripe->dev) { in test_front_delete()
676 stripe->physical = logical + i * SZ_1G; in test_front_delete()
776 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_tail_delete() local
778 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_tail_delete()
779 if (!stripe->dev) { in test_tail_delete()
785 stripe->physical = logical + i * SZ_1G; in test_tail_delete()
898 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_create_update_delete() local
900 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_create_update_delete()
901 if (!stripe->dev) { in test_create_update_delete()
907 stripe->physical = logical + i * SZ_1G; in test_create_update_delete()
944 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_create_update_delete() local
946 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_create_update_delete()
947 if (!stripe->dev) { in test_create_update_delete()
953 stripe->physical = SZ_1G + logical + i * SZ_1G; in test_create_update_delete()
1018 struct btrfs_io_stripe *stripe = &bioc->stripes[i]; in test_simple_create_delete() local
1020 stripe->dev = btrfs_device_by_devid(fs_info->fs_devices, i); in test_simple_create_delete()
1021 if (!stripe->dev) { in test_simple_create_delete()
1027 stripe->physical = logical + i * SZ_1G; in test_simple_create_delete()