OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [ntfs_fs.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _LINUX_NTFS_FS_H
2
#define _LINUX_NTFS_FS_H
3
 
4
#include <asm/byteorder.h>
5
 
6
#define NTFS_SECTOR_BITS 9
7
#define NTFS_SECTOR_SIZE 512
8
 
9
/*
10
 * Attribute flags (16-bit).
11
 */
12
typedef enum {
13
        ATTR_IS_COMPRESSED      = __constant_cpu_to_le16(0x0001),
14
        ATTR_COMPRESSION_MASK   = __constant_cpu_to_le16(0x00ff),
15
                                        /* Compression method mask. Also,
16
                                         * first illegal value. */
17
        ATTR_IS_ENCRYPTED       = __constant_cpu_to_le16(0x4000),
18
        ATTR_IS_SPARSE          = __constant_cpu_to_le16(0x8000),
19
} __attribute__ ((__packed__)) ATTR_FLAGS;
20
 
21
/*
22
 * The two zones from which to allocate clusters.
23
 */
24
typedef enum {
25
        MFT_ZONE,
26
        DATA_ZONE
27
} NTFS_CLUSTER_ALLOCATION_ZONES;
28
 
29
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.