18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * datastream.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cistruct buffer_head *befs_read_datastream(struct super_block *sb, 88c2ecf20Sopenharmony_ci const befs_data_stream *ds, 98c2ecf20Sopenharmony_ci befs_off_t pos, uint *off); 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciint befs_fblock2brun(struct super_block *sb, const befs_data_stream *data, 128c2ecf20Sopenharmony_ci befs_blocknr_t fblock, befs_block_run *run); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_cisize_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data, 158c2ecf20Sopenharmony_ci void *buff, befs_off_t len); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cibefs_blocknr_t befs_count_blocks(struct super_block *sb, 188c2ecf20Sopenharmony_ci const befs_data_stream *ds); 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciextern const befs_inode_addr BAD_IADDR; 21