Searched refs:stripe (Results 1 – 7 of 7) sorted by relevance
/fs/btrfs/ |
D | raid56.c | 616 static int rbio_stripe_page_index(struct btrfs_raid_bio *rbio, int stripe, in rbio_stripe_page_index() argument 619 return stripe * rbio->stripe_npages + index; in rbio_stripe_page_index() 626 static struct page *rbio_stripe_page(struct btrfs_raid_bio *rbio, int stripe, in rbio_stripe_page() argument 629 return rbio->stripe_pages[rbio_stripe_page_index(rbio, stripe, index)]; in rbio_stripe_page() 1097 struct btrfs_bio_stripe *stripe; in rbio_add_io_page() local 1100 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page() 1101 disk_start = stripe->physical + (page_index << PAGE_SHIFT); in rbio_add_io_page() 1104 if (!stripe->dev->bdev) in rbio_add_io_page() 1117 last->bi_disk == stripe->dev->bdev->bd_disk && in rbio_add_io_page() 1118 last->bi_partno == stripe->dev->bdev->bd_partno) { in rbio_add_io_page() [all …]
|
D | extent_map.c | 363 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits() local 364 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits() 366 set_extent_bits_nowait(&device->alloc_state, stripe->physical, in extent_map_device_set_bits() 367 stripe->physical + stripe_size - 1, bits); in extent_map_device_set_bits() 378 struct btrfs_bio_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits() local 379 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits() 381 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits() 382 stripe->physical + stripe_size - 1, bits, in extent_map_device_clear_bits()
|
D | volumes.c | 3500 struct btrfs_stripe *stripe; in chunk_devid_filter() local 3505 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter() 3506 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid) in chunk_devid_filter() 3530 struct btrfs_stripe *stripe; in chunk_drange_filter() local 3545 stripe = btrfs_stripe_nr(chunk, i); in chunk_drange_filter() 3546 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid) in chunk_drange_filter() 3549 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter() 5311 struct btrfs_stripe *stripe; in btrfs_finish_chunk_alloc() local 5359 stripe = &chunk->stripe; in btrfs_finish_chunk_alloc() 5364 btrfs_set_stack_stripe_devid(stripe, device->devid); in btrfs_finish_chunk_alloc() [all …]
|
D | extent-tree.c | 1287 struct btrfs_bio_stripe *stripe; in btrfs_discard_extent() local 1302 stripe = bbio->stripes; in btrfs_discard_extent() 1303 for (i = 0; i < bbio->num_stripes; i++, stripe++) { in btrfs_discard_extent() 1306 struct btrfs_device *device = stripe->dev; in btrfs_discard_extent() 1320 stripe->physical, in btrfs_discard_extent() 1321 stripe->length, in btrfs_discard_extent()
|
D | ctree.h | 1621 offset += offsetof(struct btrfs_chunk, stripe); in btrfs_stripe_nr()
|
/fs/nfs/blocklayout/ |
D | dev.c | 127 p = xdr_decode_hyper(p, &b->stripe.chunk_size); in nfs4_block_decode_volume() 128 b->stripe.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume() 129 if (b->stripe.volumes_count > PNFS_BLOCK_MAX_DEVICES) { in nfs4_block_decode_volume() 130 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume() 134 p = xdr_inline_decode(xdr, b->stripe.volumes_count * 4); in nfs4_block_decode_volume() 137 for (i = 0; i < b->stripe.volumes_count; i++) in nfs4_block_decode_volume() 138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume() 453 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe() 458 for (i = 0; i < v->stripe.volumes_count; i++) { in bl_parse_stripe() 460 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe() [all …]
|
D | blocklayout.h | 83 } stripe; member
|