Lines Matching defs:extent

1560  * correct usable device space, as device extent freed in current transaction
1727 struct btrfs_dev_extent *extent = NULL;
1745 extent = btrfs_item_ptr(leaf, path->slots[0],
1748 btrfs_dev_extent_length(leaf, extent) < start);
1754 extent = btrfs_item_ptr(leaf, path->slots[0],
1761 *dev_extent_len = btrfs_dev_extent_length(leaf, extent);
1766 "Failed to remove dev extent item");
1783 struct btrfs_dev_extent *extent;
1797 sizeof(*extent));
1802 extent = btrfs_item_ptr(leaf, path->slots[0],
1804 btrfs_set_dev_extent_chunk_tree(leaf, extent,
1806 btrfs_set_dev_extent_chunk_objectid(leaf, extent,
1808 btrfs_set_dev_extent_chunk_offset(leaf, extent, chunk_offset);
1810 btrfs_set_dev_extent_length(leaf, extent, num_bytes);
2978 * btrfs_get_chunk_map() - Find the mapping containing the given logical extent.
2980 * @length: Length of extent in bytes.
4658 * The chunk relocation code actually frees the device extent
6987 * This will create extent buffer of nodesize, superblock size is
6997 * The sb extent buffer is artificial and just used to read the system array.
6999 * pages up-to-date when the page is larger: extent does not cover the
7643 "dev extent physical offset %llu on devid %llu doesn't have corresponding chunk",
7653 "dev extent physical offset %llu on devid %llu length doesn't match chunk %llu, have %llu expect %llu",
7677 "dev extent physical offset %llu devid %llu has no corresponding chunk",
7682 /* Make sure no dev extent is beyond device bondary */
7707 "dev extent devid %llu physical offset %llu len %llu is beyond device boundary %llu",
7731 "chunk %llu has missing dev extent, have %d expect %d",
7801 /* Check if this dev extent overlaps with the previous one */
7804 "dev extent devid %llu physical offset %llu overlap with previous dev extent end %llu",