squashfs_fs_i.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef SQUASHFS_FS_I
  2. #define SQUASHFS_FS_I
  3. /*
  4. * Squashfs
  5. *
  6. * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  7. * Phillip Lougher <phillip@lougher.demon.co.uk>
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version 2,
  12. * or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  22. *
  23. * squashfs_fs_i.h
  24. */
  25. struct squashfs_inode_info {
  26. u64 start;
  27. int offset;
  28. union {
  29. struct {
  30. u64 fragment_block;
  31. int fragment_size;
  32. int fragment_offset;
  33. u64 block_list_start;
  34. };
  35. struct {
  36. u64 dir_idx_start;
  37. int dir_idx_offset;
  38. int dir_idx_cnt;
  39. int parent;
  40. };
  41. };
  42. struct inode vfs_inode;
  43. };
  44. #endif