volumes.h (e700ac213a0f793fb4f83098413303e3dd080892) volumes.h (f6f39f7a0add4e7fd120a709545b57586a1d0393)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_VOLUMES_H
7#define BTRFS_VOLUMES_H
8

--- 436 unchanged lines hidden (view full) ---

445int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
446 u64 logical, u64 *length,
447 struct btrfs_bio **bbio_ret);
448int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *map,
449 enum btrfs_map_op op, u64 logical,
450 struct btrfs_io_geometry *io_geom);
451int btrfs_read_sys_array(struct btrfs_fs_info *fs_info);
452int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_VOLUMES_H
7#define BTRFS_VOLUMES_H
8

--- 436 unchanged lines hidden (view full) ---

445int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
446 u64 logical, u64 *length,
447 struct btrfs_bio **bbio_ret);
448int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, struct extent_map *map,
449 enum btrfs_map_op op, u64 logical,
450 struct btrfs_io_geometry *io_geom);
451int btrfs_read_sys_array(struct btrfs_fs_info *fs_info);
452int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info);
453struct btrfs_block_group *btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
453struct btrfs_block_group *btrfs_create_chunk(struct btrfs_trans_handle *trans,
454 u64 type);
455void btrfs_mapping_tree_free(struct extent_map_tree *tree);
456blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
457 int mirror_num);
458int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
459 fmode_t flags, void *holder);
460struct btrfs_device *btrfs_scan_one_device(const char *path,
461 fmode_t flags, void *holder);

--- 124 unchanged lines hidden ---
454 u64 type);
455void btrfs_mapping_tree_free(struct extent_map_tree *tree);
456blk_status_t btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
457 int mirror_num);
458int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
459 fmode_t flags, void *holder);
460struct btrfs_device *btrfs_scan_one_device(const char *path,
461 fmode_t flags, void *holder);

--- 124 unchanged lines hidden ---