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] - Rev 1765

Compare with Previous | Blame | View Log

#ifndef _LINUX_NTFS_FS_H
#define _LINUX_NTFS_FS_H
 
#include <asm/byteorder.h>
 
#define NTFS_SECTOR_BITS 9
#define NTFS_SECTOR_SIZE 512
 
/*
 * Attribute flags (16-bit).
 */
typedef enum {
	ATTR_IS_COMPRESSED      = __constant_cpu_to_le16(0x0001),
	ATTR_COMPRESSION_MASK   = __constant_cpu_to_le16(0x00ff),
					/* Compression method mask. Also,
					 * first illegal value. */
	ATTR_IS_ENCRYPTED       = __constant_cpu_to_le16(0x4000),
	ATTR_IS_SPARSE          = __constant_cpu_to_le16(0x8000),
} __attribute__ ((__packed__)) ATTR_FLAGS;
 
/*
 * The two zones from which to allocate clusters.
 */
typedef enum {
	MFT_ZONE,
	DATA_ZONE
} NTFS_CLUSTER_ALLOCATION_ZONES;
 
#endif
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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