~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/squashfs/squashfs_fs.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * Squashfs
5
5
 *
6
6
 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
7
 
 * Phillip Lougher <phillip@lougher.demon.co.uk>
 
7
 * Phillip Lougher <phillip@squashfs.org.uk>
8
8
 *
9
9
 * This program is free software; you can redistribute it and/or
10
10
 * modify it under the terms of the GNU General Public License
57
57
#define SQUASHFS_ALWAYS_FRAG            5
58
58
#define SQUASHFS_DUPLICATE              6
59
59
#define SQUASHFS_EXPORT                 7
 
60
#define SQUASHFS_COMP_OPT               10
60
61
 
61
62
#define SQUASHFS_BIT(flag, bit)         ((flag >> bit) & 1)
62
63
 
81
82
#define SQUASHFS_EXPORTABLE(flags)              SQUASHFS_BIT(flags, \
82
83
                                                SQUASHFS_EXPORT)
83
84
 
 
85
#define SQUASHFS_COMP_OPTS(flags)               SQUASHFS_BIT(flags, \
 
86
                                                SQUASHFS_COMP_OPT)
 
87
 
84
88
/* Max number of types and file types */
85
89
#define SQUASHFS_DIR_TYPE               1
86
90
#define SQUASHFS_REG_TYPE               2