Lines Matching refs:chunk

216 +/* this represents a divice in a chunk tree */
245 + /* size of this chunk in bytes */
247 + __le64 owner; /* objectid of the root referincing this chunk */
250 + __le32 io_align; /* optimal io alignment for this chunk */
251 + __le32 io_width; /* optimal io width for this chunk */
252 + __le32 sector_size; /* minimal io size for this chunk */
296 + * for chunk translation (up to 14 chunks
462 + * field points back to the chunk allocation mapping tree that allocated
463 + * the extent. The chunk tree uuid field is a way to double check the owner
1470 + struct btrfs_chunk *chunk,
2040 + * Scan the chunk tree for dev items
2042 + * Preconditions: chunk root is installed
2216 + /* setup chunk root */
2264 + * Check, whether @chunk is the map for a
2272 + struct btrfs_chunk *chunk,
2282 + chunk_size = btrfs_chunk_length(leaf, chunk);
2288 + num_stripes = btrfs_chunk_num_stripes(leaf, chunk);
2292 + map->io_width = btrfs_chunk_io_width(leaf, chunk);
2293 + map->io_align = btrfs_chunk_io_align(leaf, chunk);
2294 + map->sector_size = btrfs_chunk_sector_size(leaf, chunk);
2295 + map->stripe_len = btrfs_chunk_stripe_len(leaf, chunk);
2296 + map->type = btrfs_chunk_type(leaf, chunk);
2297 + map->sub_stripes = btrfs_chunk_sub_stripes(leaf, chunk);
2301 + btrfs_stripe_offset_nr(leaf, chunk, i);
2303 + btrfs_stripe_devid_nr(leaf, chunk, i);
2336 + struct btrfs_chunk *chunk;
2364 + chunk = (struct btrfs_chunk *)sb_ptr;
2366 + chunk, map, logical);
2370 + num_stripes = btrfs_chunk_num_stripes(&sb, chunk);
2385 + * Search for a map by logical offset in the chunk tree.
2396 + struct btrfs_chunk *chunk;
2417 + chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk);
2419 + chunk, map, logical);