datastream.h 575 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * datastream.h
  4. *
  5. */
  6. struct buffer_head *befs_read_datastream(struct super_block *sb,
  7. const befs_data_stream *ds,
  8. befs_off_t pos, uint *off);
  9. int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
  10. befs_blocknr_t fblock, befs_block_run *run);
  11. size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
  12. void *buff, befs_off_t len);
  13. befs_blocknr_t befs_count_blocks(struct super_block *sb,
  14. const befs_data_stream *ds);
  15. extern const befs_inode_addr BAD_IADDR;