CD exfat support for Tomato. https://github.com/dorimanx/exfat-nofuse.
[tomato.git] / release / src-rt / linux / linux-2.6 / fs / exfat / exfat_data.c
blob37e1932109b5117f1d82b6919b2687119a2a7928
1 /*
2 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 /************************************************************************/
20 /* */
21 /* PROJECT : exFAT & FAT12/16/32 File System */
22 /* FILE : exfat_data.c */
23 /* PURPOSE : exFAT Configuable Data Definitions */
24 /* */
25 /*----------------------------------------------------------------------*/
26 /* NOTES */
27 /* */
28 /*----------------------------------------------------------------------*/
29 /* REVISION HISTORY (Ver 0.9) */
30 /* */
31 /* - 2010.11.15 [Joosun Hahn] : first writing */
32 /* */
33 /************************************************************************/
35 #include "exfat_config.h"
36 #include "exfat_global.h"
37 #include "exfat_data.h"
38 #include "exfat_oal.h"
40 #include "exfat_blkdev.h"
41 #include "exfat_cache.h"
42 #include "exfat_nls.h"
43 #include "exfat_super.h"
44 #include "exfat.h"
46 /*======================================================================*/
47 /* */
48 /* GLOBAL VARIABLE DEFINITIONS */
49 /* */
50 /*======================================================================*/
52 /*----------------------------------------------------------------------*/
53 /* File Manager */
54 /*----------------------------------------------------------------------*/
56 /* file system volume table */
57 FS_STRUCT_T fs_struct[MAX_DRIVE];
59 #if 0
60 /*----------------------------------------------------------------------*/
61 /* Buffer Manager */
62 /*----------------------------------------------------------------------*/
64 /* FAT cache */
65 DECLARE_MUTEX(f_sem);
66 BUF_CACHE_T FAT_cache_array[FAT_CACHE_SIZE];
67 BUF_CACHE_T FAT_cache_lru_list;
68 BUF_CACHE_T FAT_cache_hash_list[FAT_CACHE_HASH_SIZE];
70 /* buf cache */
71 DECLARE_MUTEX(b_sem);
72 BUF_CACHE_T buf_cache_array[BUF_CACHE_SIZE];
73 BUF_CACHE_T buf_cache_lru_list;
74 BUF_CACHE_T buf_cache_hash_list[BUF_CACHE_HASH_SIZE];
75 #endif
77 /* end of exfat_data.c */