^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * datastream.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) struct buffer_head *befs_read_datastream(struct super_block *sb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) const befs_data_stream *ds,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) befs_off_t pos, uint *off);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) befs_blocknr_t fblock, befs_block_run *run);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void *buff, befs_off_t len);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) befs_blocknr_t befs_count_blocks(struct super_block *sb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) const befs_data_stream *ds);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) extern const befs_inode_addr BAD_IADDR;