ntfs.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) ntfs.h (09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a)
1/*
2 * ntfs.h - Defines for NTFS Linux kernel driver.
3 *
4 * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
5 * Copyright (C) 2002 Richard Russon
6 *
7 * This program/include file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as published

--- 29 unchanged lines hidden (view full) ---

38
39typedef enum {
40 NTFS_BLOCK_SIZE = 512,
41 NTFS_BLOCK_SIZE_BITS = 9,
42 NTFS_SB_MAGIC = 0x5346544e, /* 'NTFS' */
43 NTFS_MAX_NAME_LEN = 255,
44 NTFS_MAX_ATTR_NAME_LEN = 255,
45 NTFS_MAX_CLUSTER_SIZE = 64 * 1024, /* 64kiB */
1/*
2 * ntfs.h - Defines for NTFS Linux kernel driver.
3 *
4 * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
5 * Copyright (C) 2002 Richard Russon
6 *
7 * This program/include file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as published

--- 29 unchanged lines hidden (view full) ---

38
39typedef enum {
40 NTFS_BLOCK_SIZE = 512,
41 NTFS_BLOCK_SIZE_BITS = 9,
42 NTFS_SB_MAGIC = 0x5346544e, /* 'NTFS' */
43 NTFS_MAX_NAME_LEN = 255,
44 NTFS_MAX_ATTR_NAME_LEN = 255,
45 NTFS_MAX_CLUSTER_SIZE = 64 * 1024, /* 64kiB */
46 NTFS_MAX_PAGES_PER_CLUSTER = NTFS_MAX_CLUSTER_SIZE / PAGE_CACHE_SIZE,
46 NTFS_MAX_PAGES_PER_CLUSTER = NTFS_MAX_CLUSTER_SIZE / PAGE_SIZE,
47} NTFS_CONSTANTS;
48
49/* Global variables. */
50
51/* Slab caches (from super.c). */
52extern struct kmem_cache *ntfs_name_cache;
53extern struct kmem_cache *ntfs_inode_cache;
54extern struct kmem_cache *ntfs_big_inode_cache;

--- 110 unchanged lines hidden ---
47} NTFS_CONSTANTS;
48
49/* Global variables. */
50
51/* Slab caches (from super.c). */
52extern struct kmem_cache *ntfs_name_cache;
53extern struct kmem_cache *ntfs_inode_cache;
54extern struct kmem_cache *ntfs_big_inode_cache;

--- 110 unchanged lines hidden ---