1*ad1ac501SJosef Bacik /* SPDX-License-Identifier: GPL-2.0 */ 2*ad1ac501SJosef Bacik 3*ad1ac501SJosef Bacik #ifndef BTRFS_ACCESSORS_H 4*ad1ac501SJosef Bacik #define BTRFS_ACCESSORS_H 5*ad1ac501SJosef Bacik 6*ad1ac501SJosef Bacik struct btrfs_map_token { 7*ad1ac501SJosef Bacik struct extent_buffer *eb; 8*ad1ac501SJosef Bacik char *kaddr; 9*ad1ac501SJosef Bacik unsigned long offset; 10*ad1ac501SJosef Bacik }; 11*ad1ac501SJosef Bacik 12*ad1ac501SJosef Bacik void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb); 13*ad1ac501SJosef Bacik 14*ad1ac501SJosef Bacik #endif 15