Home
last modified time | relevance | path

Searched refs:stripe_extent (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/fs/btrfs/
Draid-stripe-tree.c83 struct btrfs_stripe_extent *stripe_extent, in update_raid_extent_item() argument
103 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item()
118 struct btrfs_stripe_extent *stripe_extent; in btrfs_insert_one_raid_extent() local
119 const size_t item_size = struct_size(stripe_extent, strides, num_stripes); in btrfs_insert_one_raid_extent()
122 stripe_extent = kzalloc(item_size, GFP_NOFS); in btrfs_insert_one_raid_extent()
123 if (!stripe_extent) { in btrfs_insert_one_raid_extent()
135 struct btrfs_raid_stride *raid_stride = &stripe_extent->strides[i]; in btrfs_insert_one_raid_extent()
148 ret = btrfs_insert_item(trans, stripe_root, &stripe_key, stripe_extent, in btrfs_insert_one_raid_extent()
151 ret = update_raid_extent_item(trans, &stripe_key, stripe_extent, in btrfs_insert_one_raid_extent()
156 kfree(stripe_extent); in btrfs_insert_one_raid_extent()
[all …]