Searched refs:stripe (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/btrfs/ |
D | raid56.c | 602 static int rbio_stripe_page_index(struct btrfs_raid_bio *rbio, int stripe, in rbio_stripe_page_index() argument 605 return stripe * rbio->stripe_npages + index; in rbio_stripe_page_index() 612 static struct page *rbio_stripe_page(struct btrfs_raid_bio *rbio, int stripe, in rbio_stripe_page() argument 615 return rbio->stripe_pages[rbio_stripe_page_index(rbio, stripe, index)]; in rbio_stripe_page() 1086 struct btrfs_bio_stripe *stripe; in rbio_add_io_page() local 1089 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page() 1090 disk_start = stripe->physical + (page_index << PAGE_SHIFT); in rbio_add_io_page() 1093 if (!stripe->dev->bdev) in rbio_add_io_page() 1105 if (last_end == disk_start && stripe->dev->bdev && in rbio_add_io_page() 1107 last->bi_disk == stripe->dev->bdev->bd_disk && in rbio_add_io_page() [all …]
|
D | volumes.c | 3274 struct btrfs_stripe *stripe; in chunk_devid_filter() local 3279 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter() 3280 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid) in chunk_devid_filter() 3292 struct btrfs_stripe *stripe; in chunk_drange_filter() local 3314 stripe = btrfs_stripe_nr(chunk, i); in chunk_drange_filter() 3315 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid) in chunk_drange_filter() 3318 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter() 4913 struct btrfs_stripe *stripe; in btrfs_finish_chunk_alloc() local 4961 stripe = &chunk->stripe; in btrfs_finish_chunk_alloc() 4966 btrfs_set_stack_stripe_devid(stripe, device->devid); in btrfs_finish_chunk_alloc() [all …]
|
D | extent-tree.c | 1985 struct btrfs_bio_stripe *stripe = bbio->stripes; in btrfs_discard_extent() local 1989 for (i = 0; i < bbio->num_stripes; i++, stripe++) { in btrfs_discard_extent() 1992 struct btrfs_device *device = stripe->dev; in btrfs_discard_extent() 2006 stripe->physical, in btrfs_discard_extent() 2007 stripe->length, in btrfs_discard_extent()
|
D | ctree.h | 1690 offset += offsetof(struct btrfs_chunk, stripe); in btrfs_stripe_nr()
|
/linux-4.19.296/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
|
/linux-4.19.296/fs/exofs/ |
D | ore_raid.c | 142 struct __1_page_stripe *stripe = &sp2d->_1p_stripes[i]; in _sp2d_alloc() local 157 stripe->alloc = true; in _sp2d_alloc() 165 stripe->pages = (void *)__a1pa; in _sp2d_alloc() 166 stripe->scribble = stripe->pages + group_width; in _sp2d_alloc() 167 stripe->page_is_read = (char *)stripe->scribble + group_width; in _sp2d_alloc()
|
/linux-4.19.296/include/uapi/linux/ |
D | btrfs_tree.h | 430 struct btrfs_stripe stripe; member
|