ctree.h (c03b22076bd2c9fe88c055a35637a836d986db76) ctree.h (aa5d3003ddee8d7c5c517db072f888e114ff1529)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_CTREE_H
7#define BTRFS_CTREE_H
8

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

671}
672
673static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
674{
675 return btrfs_next_old_item(root, p, 0);
676}
677int btrfs_leaf_free_space(struct extent_buffer *leaf);
678
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2007 Oracle. All rights reserved.
4 */
5
6#ifndef BTRFS_CTREE_H
7#define BTRFS_CTREE_H
8

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

671}
672
673static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
674{
675 return btrfs_next_old_item(root, p, 0);
676}
677int btrfs_leaf_free_space(struct extent_buffer *leaf);
678
679/* orphan.c */
680int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
681 struct btrfs_root *root, u64 offset);
682int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
683 struct btrfs_root *root, u64 offset);
684
685/*
686 * Get the correct offset inside the page of extent buffer.
687 *
688 * @eb: target extent buffer
689 * @start: offset inside the extent buffer
690 *
691 * Will handle both sectorsize == PAGE_SIZE and sectorsize < PAGE_SIZE cases.
692 */

--- 53 unchanged lines hidden ---
679/*
680 * Get the correct offset inside the page of extent buffer.
681 *
682 * @eb: target extent buffer
683 * @start: offset inside the extent buffer
684 *
685 * Will handle both sectorsize == PAGE_SIZE and sectorsize < PAGE_SIZE cases.
686 */

--- 53 unchanged lines hidden ---