staging: exfat: remove staging version of exfat filesystem
Now that there is a "real" solution for exfat in the vfs tree queued up to be merged in 5.7-rc1 the "old" exfat code in staging can be removed. Many thanks to Valdis for doing the work to get this into the tree in the first place, it was greatly appreciated. Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Cc: Pali Rohár <pali@kernel.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Namjae Jeon <namjae.jeon@samsung.com> Cc: Sungjong Seo <sj1557.seo@samsung.com> Cc: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20200310105421.GA2810679@kroah.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9a5e71a68d
commit
590a95e418
@ -6301,12 +6301,6 @@ F: include/trace/events/mdio.h
|
||||
F: include/uapi/linux/mdio.h
|
||||
F: include/uapi/linux/mii.h
|
||||
|
||||
EXFAT FILE SYSTEM
|
||||
M: Valdis Kletnieks <valdis.kletnieks@vt.edu>
|
||||
L: linux-fsdevel@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/staging/exfat/
|
||||
|
||||
EXT2 FILE SYSTEM
|
||||
M: Jan Kara <jack@suse.com>
|
||||
L: linux-ext4@vger.kernel.org
|
||||
|
@ -116,8 +116,6 @@ source "drivers/staging/fieldbus/Kconfig"
|
||||
|
||||
source "drivers/staging/kpc2000/Kconfig"
|
||||
|
||||
source "drivers/staging/exfat/Kconfig"
|
||||
|
||||
source "drivers/staging/qlge/Kconfig"
|
||||
|
||||
source "drivers/staging/hp/Kconfig"
|
||||
|
@ -48,7 +48,6 @@ obj-$(CONFIG_STAGING_GASKET_FRAMEWORK) += gasket/
|
||||
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
|
||||
obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
|
||||
obj-$(CONFIG_KPC2000) += kpc2000/
|
||||
obj-$(CONFIG_STAGING_EXFAT_FS) += exfat/
|
||||
obj-$(CONFIG_QLGE) += qlge/
|
||||
obj-$(CONFIG_NET_VENDOR_HP) += hp/
|
||||
obj-$(CONFIG_WFX) += wfx/
|
||||
|
@ -1,41 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
config STAGING_EXFAT_FS
|
||||
tristate "exFAT fs support"
|
||||
depends on BLOCK
|
||||
select NLS
|
||||
help
|
||||
This adds support for the exFAT file system.
|
||||
|
||||
config STAGING_EXFAT_DISCARD
|
||||
bool "enable discard support"
|
||||
depends on STAGING_EXFAT_FS
|
||||
default y
|
||||
|
||||
config STAGING_EXFAT_DELAYED_SYNC
|
||||
bool "enable delayed sync"
|
||||
depends on STAGING_EXFAT_FS
|
||||
default n
|
||||
|
||||
config STAGING_EXFAT_KERNEL_DEBUG
|
||||
bool "enable kernel debug features via ioctl"
|
||||
depends on STAGING_EXFAT_FS
|
||||
default n
|
||||
|
||||
config STAGING_EXFAT_DEBUG_MSG
|
||||
bool "print debug messages"
|
||||
depends on STAGING_EXFAT_FS
|
||||
default n
|
||||
|
||||
config STAGING_EXFAT_DEFAULT_CODEPAGE
|
||||
int "Default codepage for exFAT"
|
||||
default 437
|
||||
depends on STAGING_EXFAT_FS
|
||||
help
|
||||
This option should be set to the codepage of your exFAT filesystems.
|
||||
|
||||
config STAGING_EXFAT_DEFAULT_IOCHARSET
|
||||
string "Default iocharset for exFAT"
|
||||
default "utf8"
|
||||
depends on STAGING_EXFAT_FS
|
||||
help
|
||||
Set this to the default input/output character set you'd like exFAT to use.
|
@ -1,10 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
obj-$(CONFIG_STAGING_EXFAT_FS) += exfat.o
|
||||
|
||||
exfat-y := exfat_core.o \
|
||||
exfat_super.o \
|
||||
exfat_blkdev.o \
|
||||
exfat_cache.o \
|
||||
exfat_nls.o \
|
||||
exfat_upcase.o
|
@ -1,69 +0,0 @@
|
||||
A laundry list of things that need looking at, most of which will
|
||||
require more work than the average checkpatch cleanup...
|
||||
|
||||
Note that some of these entries may not be bugs - they're things
|
||||
that need to be looked at, and *possibly* fixed.
|
||||
|
||||
Clean up the ffsCamelCase function names.
|
||||
|
||||
Fix (thing)->flags to not use magic numbers - multiple offenders
|
||||
|
||||
Sort out all the s32/u32/u8 nonsense - most of these should be plain int.
|
||||
|
||||
exfat_core.c - ffsReadFile - the goto err_out seem to leak a brelse().
|
||||
same for ffsWriteFile.
|
||||
|
||||
All the calls to fs_sync() need to be looked at, particularly in the
|
||||
context of EXFAT_DELAYED_SYNC. Currently, if that's defined, we only
|
||||
flush to disk when sync() gets called. We should be doing at least
|
||||
metadata flushes at appropriate times.
|
||||
|
||||
ffsTruncateFile - if (old_size <= new_size) {
|
||||
That doesn't look right. How did it ever work? Are they relying on lazy
|
||||
block allocation when actual writes happen? If nothing else, it never
|
||||
does the 'fid->size = new_size' and do the inode update....
|
||||
|
||||
ffsSetAttr() is just dangling in the breeze, not wired up at all...
|
||||
|
||||
Convert global mutexes to a per-superblock mutex.
|
||||
|
||||
Right now, we load exactly one UTF-8 table. Check to see
|
||||
if that plays nice with different codepage and iocharset values
|
||||
for simultanous mounts of different devices
|
||||
|
||||
exfat_rmdir() checks for -EBUSY but ffsRemoveDir() doesn't return it.
|
||||
In fact, there's a complete lack of -EBUSY testing anywhere.
|
||||
|
||||
There's probably a few missing checks for -EEXIST
|
||||
|
||||
check return codes of sync_dirty_buffer()
|
||||
|
||||
Why is remove_file doing a num_entries++??
|
||||
|
||||
Double check a lot of can't-happen parameter checks (for null pointers for
|
||||
things that have only one call site and can't pass a null, etc).
|
||||
|
||||
All the DEBUG stuff can probably be tossed, including the ioctl(). Either
|
||||
that, or convert to a proper fault-injection system.
|
||||
|
||||
exfat_remount does exactly one thing. Fix to actually deal with remount
|
||||
options, particularly handling R/O correctly. For that matter, allow
|
||||
R/O mounts in the first place.
|
||||
|
||||
Figure out why the VFAT code used multi_sector_(read|write) but the
|
||||
exfat code doesn't use it. The difference matters on SSDs with wear leveling.
|
||||
|
||||
exfat_fat_sync(), exfat_buf_sync(), and sync_alloc_bitmap()
|
||||
aren't called anyplace....
|
||||
|
||||
Create helper function for exfat_set_entry_time() and exfat_set_entry_type()
|
||||
because it's sort of ugly to be calling the same functionn directly and
|
||||
other code calling through the fs_func struc ponters...
|
||||
|
||||
clean up the remaining vol_type checks, which are of two types:
|
||||
some are ?: operators with magic numbers, and the rest are places
|
||||
where we're doing stuff with '.' and '..'.
|
||||
|
||||
Patches to:
|
||||
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Valdis Kletnieks <valdis.kletnieks@vt.edu>
|
@ -1,760 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#ifndef _EXFAT_H
|
||||
#define _EXFAT_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/buffer_head.h>
|
||||
|
||||
#ifdef CONFIG_STAGING_EXFAT_KERNEL_DEBUG
|
||||
/* For Debugging Purpose */
|
||||
/* IOCTL code 'f' used by
|
||||
* - file systems typically #0~0x1F
|
||||
* - embedded terminal devices #128~
|
||||
* - exts for debugging purpose #99
|
||||
* number 100 and 101 is available now but has possible conflicts
|
||||
*/
|
||||
#define EXFAT_IOC_GET_DEBUGFLAGS _IOR('f', 100, long)
|
||||
#define EXFAT_IOC_SET_DEBUGFLAGS _IOW('f', 101, long)
|
||||
|
||||
#define EXFAT_DEBUGFLAGS_INVALID_UMOUNT 0x01
|
||||
#define EXFAT_DEBUGFLAGS_ERROR_RW 0x02
|
||||
#endif /* CONFIG_STAGING_EXFAT_KERNEL_DEBUG */
|
||||
|
||||
#ifdef CONFIG_STAGING_EXFAT_DEBUG_MSG
|
||||
#define DEBUG 1
|
||||
#else
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
#define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
|
||||
|
||||
#define DENTRY_SIZE 32 /* dir entry size */
|
||||
#define DENTRY_SIZE_BITS 5
|
||||
|
||||
/* PBR entries */
|
||||
#define PBR_SIGNATURE 0xAA55
|
||||
#define EXT_SIGNATURE 0xAA550000
|
||||
#define VOL_LABEL "NO NAME " /* size should be 11 */
|
||||
#define OEM_NAME "MSWIN4.1" /* size should be 8 */
|
||||
#define STR_FAT12 "FAT12 " /* size should be 8 */
|
||||
#define STR_FAT16 "FAT16 " /* size should be 8 */
|
||||
#define STR_FAT32 "FAT32 " /* size should be 8 */
|
||||
#define STR_EXFAT "EXFAT " /* size should be 8 */
|
||||
#define VOL_CLEAN 0x0000
|
||||
#define VOL_DIRTY 0x0002
|
||||
|
||||
/* max number of clusters */
|
||||
#define FAT12_THRESHOLD 4087 /* 2^12 - 1 + 2 (clu 0 & 1) */
|
||||
#define FAT16_THRESHOLD 65527 /* 2^16 - 1 + 2 */
|
||||
#define FAT32_THRESHOLD 268435457 /* 2^28 - 1 + 2 */
|
||||
#define EXFAT_THRESHOLD 268435457 /* 2^28 - 1 + 2 */
|
||||
|
||||
/* file types */
|
||||
#define TYPE_UNUSED 0x0000
|
||||
#define TYPE_DELETED 0x0001
|
||||
#define TYPE_INVALID 0x0002
|
||||
#define TYPE_CRITICAL_PRI 0x0100
|
||||
#define TYPE_BITMAP 0x0101
|
||||
#define TYPE_UPCASE 0x0102
|
||||
#define TYPE_VOLUME 0x0103
|
||||
#define TYPE_DIR 0x0104
|
||||
#define TYPE_FILE 0x011F
|
||||
#define TYPE_CRITICAL_SEC 0x0200
|
||||
#define TYPE_STREAM 0x0201
|
||||
#define TYPE_EXTEND 0x0202
|
||||
#define TYPE_ACL 0x0203
|
||||
#define TYPE_BENIGN_PRI 0x0400
|
||||
#define TYPE_GUID 0x0401
|
||||
#define TYPE_PADDING 0x0402
|
||||
#define TYPE_ACLTAB 0x0403
|
||||
#define TYPE_BENIGN_SEC 0x0800
|
||||
#define TYPE_ALL 0x0FFF
|
||||
|
||||
/* time modes */
|
||||
#define TM_CREATE 0
|
||||
#define TM_MODIFY 1
|
||||
#define TM_ACCESS 2
|
||||
|
||||
/* checksum types */
|
||||
#define CS_DIR_ENTRY 0
|
||||
#define CS_PBR_SECTOR 1
|
||||
#define CS_DEFAULT 2
|
||||
|
||||
#define CLUSTER_16(x) ((u16)(x))
|
||||
#define CLUSTER_32(x) ((u32)(x))
|
||||
|
||||
#define START_SECTOR(x) \
|
||||
((((sector_t)((x) - 2)) << p_fs->sectors_per_clu_bits) + \
|
||||
p_fs->data_start_sector)
|
||||
|
||||
#define IS_LAST_SECTOR_IN_CLUSTER(sec) \
|
||||
((((sec) - p_fs->data_start_sector + 1) & \
|
||||
((1 << p_fs->sectors_per_clu_bits) - 1)) == 0)
|
||||
|
||||
#define GET_CLUSTER_FROM_SECTOR(sec) \
|
||||
((u32)((((sec) - p_fs->data_start_sector) >> \
|
||||
p_fs->sectors_per_clu_bits) + 2))
|
||||
|
||||
#define GET16(p_src) \
|
||||
(((u16)(p_src)[0]) | (((u16)(p_src)[1]) << 8))
|
||||
#define GET32(p_src) \
|
||||
(((u32)(p_src)[0]) | (((u32)(p_src)[1]) << 8) | \
|
||||
(((u32)(p_src)[2]) << 16) | (((u32)(p_src)[3]) << 24))
|
||||
#define GET64(p_src) \
|
||||
(((u64)(p_src)[0]) | (((u64)(p_src)[1]) << 8) | \
|
||||
(((u64)(p_src)[2]) << 16) | (((u64)(p_src)[3]) << 24) | \
|
||||
(((u64)(p_src)[4]) << 32) | (((u64)(p_src)[5]) << 40) | \
|
||||
(((u64)(p_src)[6]) << 48) | (((u64)(p_src)[7]) << 56))
|
||||
|
||||
#define SET16(p_dst, src) \
|
||||
do { \
|
||||
(p_dst)[0] = (u8)(src); \
|
||||
(p_dst)[1] = (u8)(((u16)(src)) >> 8); \
|
||||
} while (0)
|
||||
#define SET32(p_dst, src) \
|
||||
do { \
|
||||
(p_dst)[0] = (u8)(src); \
|
||||
(p_dst)[1] = (u8)(((u32)(src)) >> 8); \
|
||||
(p_dst)[2] = (u8)(((u32)(src)) >> 16); \
|
||||
(p_dst)[3] = (u8)(((u32)(src)) >> 24); \
|
||||
} while (0)
|
||||
#define SET64(p_dst, src) \
|
||||
do { \
|
||||
(p_dst)[0] = (u8)(src); \
|
||||
(p_dst)[1] = (u8)(((u64)(src)) >> 8); \
|
||||
(p_dst)[2] = (u8)(((u64)(src)) >> 16); \
|
||||
(p_dst)[3] = (u8)(((u64)(src)) >> 24); \
|
||||
(p_dst)[4] = (u8)(((u64)(src)) >> 32); \
|
||||
(p_dst)[5] = (u8)(((u64)(src)) >> 40); \
|
||||
(p_dst)[6] = (u8)(((u64)(src)) >> 48); \
|
||||
(p_dst)[7] = (u8)(((u64)(src)) >> 56); \
|
||||
} while (0)
|
||||
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
#define GET16_A(p_src) (*((u16 *)(p_src)))
|
||||
#define GET32_A(p_src) (*((u32 *)(p_src)))
|
||||
#define GET64_A(p_src) (*((u64 *)(p_src)))
|
||||
#define SET16_A(p_dst, src) (*((u16 *)(p_dst)) = (u16)(src))
|
||||
#define SET32_A(p_dst, src) (*((u32 *)(p_dst)) = (u32)(src))
|
||||
#define SET64_A(p_dst, src) (*((u64 *)(p_dst)) = (u64)(src))
|
||||
#else /* BIG_ENDIAN */
|
||||
#define GET16_A(p_src) GET16(p_src)
|
||||
#define GET32_A(p_src) GET32(p_src)
|
||||
#define GET64_A(p_src) GET64(p_src)
|
||||
#define SET16_A(p_dst, src) SET16(p_dst, src)
|
||||
#define SET32_A(p_dst, src) SET32(p_dst, src)
|
||||
#define SET64_A(p_dst, src) SET64(p_dst, src)
|
||||
#endif
|
||||
|
||||
/* cache size (in number of sectors) */
|
||||
/* (should be an exponential value of 2) */
|
||||
#define FAT_CACHE_SIZE 128
|
||||
#define FAT_CACHE_HASH_SIZE 64
|
||||
#define BUF_CACHE_SIZE 256
|
||||
#define BUF_CACHE_HASH_SIZE 64
|
||||
|
||||
/* Upcase table macro */
|
||||
#define HIGH_INDEX_BIT (8)
|
||||
#define HIGH_INDEX_MASK (0xFF00)
|
||||
#define LOW_INDEX_BIT (16 - HIGH_INDEX_BIT)
|
||||
#define UTBL_ROW_COUNT BIT(LOW_INDEX_BIT)
|
||||
#define UTBL_COL_COUNT BIT(HIGH_INDEX_BIT)
|
||||
|
||||
static inline u16 get_col_index(u16 i)
|
||||
{
|
||||
return i >> LOW_INDEX_BIT;
|
||||
}
|
||||
|
||||
static inline u16 get_row_index(u16 i)
|
||||
{
|
||||
return i & ~HIGH_INDEX_MASK;
|
||||
}
|
||||
|
||||
#define EXFAT_SUPER_MAGIC (0x2011BAB0L)
|
||||
#define EXFAT_ROOT_INO 1
|
||||
|
||||
/* FAT types */
|
||||
#define FAT12 0x01 /* FAT12 */
|
||||
#define FAT16 0x0E /* Win95 FAT16 (LBA) */
|
||||
#define FAT32 0x0C /* Win95 FAT32 (LBA) */
|
||||
#define EXFAT 0x07 /* exFAT */
|
||||
|
||||
/* file name lengths */
|
||||
#define MAX_CHARSET_SIZE 3 /* max size of multi-byte character */
|
||||
#define MAX_PATH_DEPTH 15 /* max depth of path name */
|
||||
#define MAX_NAME_LENGTH 256 /* max len of filename including NULL */
|
||||
#define MAX_PATH_LENGTH 260 /* max len of pathname including NULL */
|
||||
|
||||
/* file attributes */
|
||||
#define ATTR_NORMAL 0x0000
|
||||
#define ATTR_READONLY 0x0001
|
||||
#define ATTR_HIDDEN 0x0002
|
||||
#define ATTR_SYSTEM 0x0004
|
||||
#define ATTR_VOLUME 0x0008
|
||||
#define ATTR_SUBDIR 0x0010
|
||||
#define ATTR_ARCHIVE 0x0020
|
||||
#define ATTR_EXTEND 0x000F
|
||||
#define ATTR_RWMASK 0x007E
|
||||
|
||||
#define NUM_UPCASE 2918
|
||||
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
#define UNI_CUR_DIR_NAME ".\0"
|
||||
#define UNI_PAR_DIR_NAME ".\0.\0"
|
||||
#else
|
||||
#define UNI_CUR_DIR_NAME "\0."
|
||||
#define UNI_PAR_DIR_NAME "\0.\0."
|
||||
#endif
|
||||
|
||||
struct date_time_t {
|
||||
u16 year;
|
||||
u16 month;
|
||||
u16 day;
|
||||
u16 hour;
|
||||
u16 minute;
|
||||
u16 second;
|
||||
u16 millisecond;
|
||||
};
|
||||
|
||||
struct vol_info_t {
|
||||
u32 FatType;
|
||||
u32 ClusterSize;
|
||||
u32 NumClusters;
|
||||
u32 FreeClusters;
|
||||
u32 UsedClusters;
|
||||
};
|
||||
|
||||
/* directory structure */
|
||||
struct chain_t {
|
||||
u32 dir;
|
||||
s32 size;
|
||||
u8 flags;
|
||||
};
|
||||
|
||||
struct file_id_t {
|
||||
struct chain_t dir;
|
||||
s32 entry;
|
||||
u32 type;
|
||||
u32 attr;
|
||||
u32 start_clu;
|
||||
u64 size;
|
||||
u8 flags;
|
||||
s64 rwoffset;
|
||||
s32 hint_last_off;
|
||||
u32 hint_last_clu;
|
||||
};
|
||||
|
||||
struct dir_entry_t {
|
||||
char name[MAX_NAME_LENGTH * MAX_CHARSET_SIZE];
|
||||
u32 attr;
|
||||
u64 Size;
|
||||
u32 num_subdirs;
|
||||
struct date_time_t create_timestamp;
|
||||
struct date_time_t modify_timestamp;
|
||||
struct date_time_t access_timestamp;
|
||||
};
|
||||
|
||||
struct timestamp_t {
|
||||
u16 sec; /* 0 ~ 59 */
|
||||
u16 min; /* 0 ~ 59 */
|
||||
u16 hour; /* 0 ~ 23 */
|
||||
u16 day; /* 1 ~ 31 */
|
||||
u16 mon; /* 1 ~ 12 */
|
||||
u16 year; /* 0 ~ 127 (since 1980) */
|
||||
};
|
||||
|
||||
/* MS_DOS FAT partition boot record (512 bytes) */
|
||||
struct pbr_sector_t {
|
||||
u8 jmp_boot[3];
|
||||
u8 oem_name[8];
|
||||
u8 bpb[109];
|
||||
u8 boot_code[390];
|
||||
u8 signature[2];
|
||||
};
|
||||
|
||||
/* MS-DOS FAT12/16 BIOS parameter block (51 bytes) */
|
||||
struct bpb16_t {
|
||||
u8 sector_size[2];
|
||||
u8 sectors_per_clu;
|
||||
u8 num_reserved[2];
|
||||
u8 num_fats;
|
||||
u8 num_root_entries[2];
|
||||
u8 num_sectors[2];
|
||||
u8 media_type;
|
||||
u8 num_fat_sectors[2];
|
||||
u8 sectors_in_track[2];
|
||||
u8 num_heads[2];
|
||||
u8 num_hid_sectors[4];
|
||||
u8 num_huge_sectors[4];
|
||||
|
||||
u8 phy_drv_no;
|
||||
u8 reserved;
|
||||
u8 ext_signature;
|
||||
u8 vol_serial[4];
|
||||
u8 vol_label[11];
|
||||
u8 vol_type[8];
|
||||
};
|
||||
|
||||
/* MS-DOS FAT32 BIOS parameter block (79 bytes) */
|
||||
struct bpb32_t {
|
||||
u8 sector_size[2];
|
||||
u8 sectors_per_clu;
|
||||
u8 num_reserved[2];
|
||||
u8 num_fats;
|
||||
u8 num_root_entries[2];
|
||||
u8 num_sectors[2];
|
||||
u8 media_type;
|
||||
u8 num_fat_sectors[2];
|
||||
u8 sectors_in_track[2];
|
||||
u8 num_heads[2];
|
||||
u8 num_hid_sectors[4];
|
||||
u8 num_huge_sectors[4];
|
||||
u8 num_fat32_sectors[4];
|
||||
u8 ext_flags[2];
|
||||
u8 fs_version[2];
|
||||
u8 root_cluster[4];
|
||||
u8 fsinfo_sector[2];
|
||||
u8 backup_sector[2];
|
||||
u8 reserved[12];
|
||||
|
||||
u8 phy_drv_no;
|
||||
u8 ext_reserved;
|
||||
u8 ext_signature;
|
||||
u8 vol_serial[4];
|
||||
u8 vol_label[11];
|
||||
u8 vol_type[8];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT BIOS parameter block (109 bytes) */
|
||||
struct bpbex_t {
|
||||
u8 reserved1[53];
|
||||
u8 vol_offset[8];
|
||||
u8 vol_length[8];
|
||||
u8 fat_offset[4];
|
||||
u8 fat_length[4];
|
||||
u8 clu_offset[4];
|
||||
u8 clu_count[4];
|
||||
u8 root_cluster[4];
|
||||
u8 vol_serial[4];
|
||||
u8 fs_version[2];
|
||||
u8 vol_flags[2];
|
||||
u8 sector_size_bits;
|
||||
u8 sectors_per_clu_bits;
|
||||
u8 num_fats;
|
||||
u8 phy_drv_no;
|
||||
u8 perc_in_use;
|
||||
u8 reserved2[7];
|
||||
};
|
||||
|
||||
/* MS-DOS FAT file system information sector (512 bytes) */
|
||||
struct fsi_sector_t {
|
||||
u8 signature1[4];
|
||||
u8 reserved1[480];
|
||||
u8 signature2[4];
|
||||
u8 free_cluster[4];
|
||||
u8 next_cluster[4];
|
||||
u8 reserved2[14];
|
||||
u8 signature3[2];
|
||||
};
|
||||
|
||||
/* MS-DOS FAT directory entry (32 bytes) */
|
||||
struct dentry_t {
|
||||
u8 dummy[32];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT file directory entry (32 bytes) */
|
||||
struct file_dentry_t {
|
||||
u8 type;
|
||||
u8 num_ext;
|
||||
u8 checksum[2];
|
||||
u8 attr[2];
|
||||
u8 reserved1[2];
|
||||
u8 create_time[2];
|
||||
u8 create_date[2];
|
||||
u8 modify_time[2];
|
||||
u8 modify_date[2];
|
||||
u8 access_time[2];
|
||||
u8 access_date[2];
|
||||
u8 create_time_ms;
|
||||
u8 modify_time_ms;
|
||||
u8 access_time_ms;
|
||||
u8 reserved2[9];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT stream extension directory entry (32 bytes) */
|
||||
struct strm_dentry_t {
|
||||
u8 type;
|
||||
u8 flags;
|
||||
u8 reserved1;
|
||||
u8 name_len;
|
||||
u8 name_hash[2];
|
||||
u8 reserved2[2];
|
||||
u8 valid_size[8];
|
||||
u8 reserved3[4];
|
||||
u8 start_clu[4];
|
||||
u8 size[8];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT file name directory entry (32 bytes) */
|
||||
struct name_dentry_t {
|
||||
u8 type;
|
||||
u8 flags;
|
||||
u8 unicode_0_14[30];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT allocation bitmap directory entry (32 bytes) */
|
||||
struct bmap_dentry_t {
|
||||
u8 type;
|
||||
u8 flags;
|
||||
u8 reserved[18];
|
||||
u8 start_clu[4];
|
||||
u8 size[8];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT up-case table directory entry (32 bytes) */
|
||||
struct case_dentry_t {
|
||||
u8 type;
|
||||
u8 reserved1[3];
|
||||
u8 checksum[4];
|
||||
u8 reserved2[12];
|
||||
u8 start_clu[4];
|
||||
u8 size[8];
|
||||
};
|
||||
|
||||
/* MS-DOS EXFAT volume label directory entry (32 bytes) */
|
||||
struct volm_dentry_t {
|
||||
u8 type;
|
||||
u8 label_len;
|
||||
u8 unicode_0_10[22];
|
||||
u8 reserved[8];
|
||||
};
|
||||
|
||||
/* unused entry hint information */
|
||||
struct uentry_t {
|
||||
u32 dir;
|
||||
s32 entry;
|
||||
struct chain_t clu;
|
||||
};
|
||||
|
||||
/* unicode name structure */
|
||||
struct uni_name_t {
|
||||
u16 name[MAX_NAME_LENGTH];
|
||||
u16 name_hash;
|
||||
u8 name_len;
|
||||
};
|
||||
|
||||
struct buf_cache_t {
|
||||
struct buf_cache_t *next;
|
||||
struct buf_cache_t *prev;
|
||||
struct buf_cache_t *hash_next;
|
||||
struct buf_cache_t *hash_prev;
|
||||
s32 drv;
|
||||
sector_t sec;
|
||||
bool locked;
|
||||
struct buffer_head *buf_bh;
|
||||
};
|
||||
|
||||
struct fs_info_t {
|
||||
u32 drv; /* drive ID */
|
||||
u32 vol_id; /* volume serial number */
|
||||
|
||||
u64 num_sectors; /* num of sectors in volume */
|
||||
u32 num_clusters; /* num of clusters in volume */
|
||||
u32 cluster_size; /* cluster size in bytes */
|
||||
u32 cluster_size_bits;
|
||||
u32 sectors_per_clu; /* cluster size in sectors */
|
||||
u32 sectors_per_clu_bits;
|
||||
|
||||
u32 PBR_sector; /* PBR sector */
|
||||
u32 FAT1_start_sector; /* FAT1 start sector */
|
||||
u32 FAT2_start_sector; /* FAT2 start sector */
|
||||
u32 root_start_sector; /* root dir start sector */
|
||||
u32 data_start_sector; /* data area start sector */
|
||||
u32 num_FAT_sectors; /* num of FAT sectors */
|
||||
|
||||
u32 root_dir; /* root dir cluster */
|
||||
u32 dentries_in_root; /* num of dentries in root dir */
|
||||
u32 dentries_per_clu; /* num of dentries per cluster */
|
||||
|
||||
u32 vol_flag; /* volume dirty flag */
|
||||
struct buffer_head *pbr_bh; /* PBR sector */
|
||||
|
||||
u32 map_clu; /* allocation bitmap start cluster */
|
||||
u32 map_sectors; /* num of allocation bitmap sectors */
|
||||
struct buffer_head **vol_amap; /* allocation bitmap */
|
||||
|
||||
u16 **vol_utbl; /* upcase table */
|
||||
|
||||
u32 clu_srch_ptr; /* cluster search pointer */
|
||||
u32 used_clusters; /* number of used clusters */
|
||||
struct uentry_t hint_uentry; /* unused entry hint information */
|
||||
|
||||
u32 dev_ejected; /* block device operation error flag */
|
||||
|
||||
struct mutex v_mutex;
|
||||
|
||||
/* FAT cache */
|
||||
struct buf_cache_t FAT_cache_array[FAT_CACHE_SIZE];
|
||||
struct buf_cache_t FAT_cache_lru_list;
|
||||
struct buf_cache_t FAT_cache_hash_list[FAT_CACHE_HASH_SIZE];
|
||||
|
||||
/* buf cache */
|
||||
struct buf_cache_t buf_cache_array[BUF_CACHE_SIZE];
|
||||
struct buf_cache_t buf_cache_lru_list;
|
||||
struct buf_cache_t buf_cache_hash_list[BUF_CACHE_HASH_SIZE];
|
||||
};
|
||||
|
||||
#define ES_2_ENTRIES 2
|
||||
#define ES_3_ENTRIES 3
|
||||
#define ES_ALL_ENTRIES 0
|
||||
|
||||
struct entry_set_cache_t {
|
||||
/* sector number that contains file_entry */
|
||||
sector_t sector;
|
||||
|
||||
/* byte offset in the sector */
|
||||
s32 offset;
|
||||
|
||||
/*
|
||||
* flag in stream entry.
|
||||
* 01 for cluster chain,
|
||||
* 03 for contig. clusteres.
|
||||
*/
|
||||
s32 alloc_flag;
|
||||
|
||||
u32 num_entries;
|
||||
|
||||
/* __buf should be the last member */
|
||||
void *__buf;
|
||||
};
|
||||
|
||||
#define EXFAT_ERRORS_CONT 1 /* ignore error and continue */
|
||||
#define EXFAT_ERRORS_PANIC 2 /* panic on error */
|
||||
#define EXFAT_ERRORS_RO 3 /* remount r/o on error */
|
||||
|
||||
/* ioctl command */
|
||||
#define EXFAT_IOCTL_GET_VOLUME_ID _IOR('r', 0x12, __u32)
|
||||
|
||||
struct exfat_mount_options {
|
||||
kuid_t fs_uid;
|
||||
kgid_t fs_gid;
|
||||
unsigned short fs_fmask;
|
||||
unsigned short fs_dmask;
|
||||
|
||||
/* permission for setting the [am]time */
|
||||
unsigned short allow_utime;
|
||||
|
||||
/* codepage for shortname conversions */
|
||||
unsigned short codepage;
|
||||
|
||||
/* charset for filename input/display */
|
||||
char *iocharset;
|
||||
|
||||
unsigned char casesensitive;
|
||||
|
||||
/* on error: continue, panic, remount-ro */
|
||||
unsigned char errors;
|
||||
#ifdef CONFIG_STAGING_EXFAT_DISCARD
|
||||
/* flag on if -o dicard specified and device support discard() */
|
||||
unsigned char discard;
|
||||
#endif /* CONFIG_STAGING_EXFAT_DISCARD */
|
||||
};
|
||||
|
||||
#define EXFAT_HASH_BITS 8
|
||||
#define EXFAT_HASH_SIZE BIT(EXFAT_HASH_BITS)
|
||||
|
||||
/*
|
||||
* EXFAT file system in-core superblock data
|
||||
*/
|
||||
struct bd_info_t {
|
||||
s32 sector_size; /* in bytes */
|
||||
s32 sector_size_bits;
|
||||
s32 sector_size_mask;
|
||||
|
||||
/* total number of sectors in this block device */
|
||||
s32 num_sectors;
|
||||
|
||||
/* opened or not */
|
||||
bool opened;
|
||||
};
|
||||
|
||||
struct exfat_sb_info {
|
||||
struct fs_info_t fs_info;
|
||||
struct bd_info_t bd_info;
|
||||
|
||||
struct exfat_mount_options options;
|
||||
|
||||
int s_dirt;
|
||||
struct mutex s_lock;
|
||||
struct nls_table *nls_disk; /* Codepage used on disk */
|
||||
struct nls_table *nls_io; /* Charset used for input and display */
|
||||
|
||||
struct inode *fat_inode;
|
||||
|
||||
spinlock_t inode_hash_lock;
|
||||
struct hlist_head inode_hashtable[EXFAT_HASH_SIZE];
|
||||
#ifdef CONFIG_STAGING_EXFAT_KERNEL_DEBUG
|
||||
long debug_flags;
|
||||
#endif /* CONFIG_STAGING_EXFAT_KERNEL_DEBUG */
|
||||
};
|
||||
|
||||
/*
|
||||
* EXFAT file system inode data in memory
|
||||
*/
|
||||
struct exfat_inode_info {
|
||||
struct file_id_t fid;
|
||||
char *target;
|
||||
/* NOTE: mmu_private is 64bits, so must hold ->i_mutex to access */
|
||||
loff_t mmu_private; /* physically allocated size */
|
||||
loff_t i_pos; /* on-disk position of directory entry or 0 */
|
||||
struct hlist_node i_hash_fat; /* hash by i_location */
|
||||
struct rw_semaphore truncate_lock;
|
||||
struct inode vfs_inode;
|
||||
struct rw_semaphore i_alloc_sem; /* protect bmap against truncate */
|
||||
};
|
||||
|
||||
#define EXFAT_SB(sb) ((struct exfat_sb_info *)((sb)->s_fs_info))
|
||||
|
||||
static inline struct exfat_inode_info *EXFAT_I(struct inode *inode)
|
||||
{
|
||||
return container_of(inode, struct exfat_inode_info, vfs_inode);
|
||||
}
|
||||
|
||||
/* NLS management function */
|
||||
u16 nls_upper(struct super_block *sb, u16 a);
|
||||
int nls_uniname_cmp(struct super_block *sb, u16 *a, u16 *b);
|
||||
void nls_uniname_to_cstring(struct super_block *sb, u8 *p_cstring,
|
||||
struct uni_name_t *p_uniname);
|
||||
void nls_cstring_to_uniname(struct super_block *sb,
|
||||
struct uni_name_t *p_uniname, u8 *p_cstring,
|
||||
bool *p_lossy);
|
||||
|
||||
/* buffer cache management */
|
||||
void exfat_buf_init(struct super_block *sb);
|
||||
void exfat_buf_shutdown(struct super_block *sb);
|
||||
int exfat_fat_read(struct super_block *sb, u32 loc, u32 *content);
|
||||
s32 exfat_fat_write(struct super_block *sb, u32 loc, u32 content);
|
||||
u8 *exfat_fat_getblk(struct super_block *sb, sector_t sec);
|
||||
void exfat_fat_modify(struct super_block *sb, sector_t sec);
|
||||
void exfat_fat_release_all(struct super_block *sb);
|
||||
u8 *exfat_buf_getblk(struct super_block *sb, sector_t sec);
|
||||
void exfat_buf_modify(struct super_block *sb, sector_t sec);
|
||||
void exfat_buf_lock(struct super_block *sb, sector_t sec);
|
||||
void exfat_buf_unlock(struct super_block *sb, sector_t sec);
|
||||
void exfat_buf_release(struct super_block *sb, sector_t sec);
|
||||
void exfat_buf_release_all(struct super_block *sb);
|
||||
|
||||
/* fs management functions */
|
||||
void fs_set_vol_flags(struct super_block *sb, u32 new_flag);
|
||||
void fs_error(struct super_block *sb);
|
||||
|
||||
/* cluster management functions */
|
||||
s32 count_num_clusters(struct super_block *sb, struct chain_t *dir);
|
||||
void exfat_chain_cont_cluster(struct super_block *sb, u32 chain, s32 len);
|
||||
|
||||
/* allocation bitmap management functions */
|
||||
s32 load_alloc_bitmap(struct super_block *sb);
|
||||
void free_alloc_bitmap(struct super_block *sb);
|
||||
|
||||
/* upcase table management functions */
|
||||
s32 load_upcase_table(struct super_block *sb);
|
||||
void free_upcase_table(struct super_block *sb);
|
||||
|
||||
/* dir entry management functions */
|
||||
struct timestamp_t *tm_current(struct timestamp_t *tm);
|
||||
|
||||
struct dentry_t *get_entry_in_dir(struct super_block *sb, struct chain_t *p_dir,
|
||||
s32 entry, sector_t *sector);
|
||||
struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb,
|
||||
struct chain_t *p_dir, s32 entry,
|
||||
u32 type,
|
||||
struct dentry_t **file_ep);
|
||||
void release_entry_set(struct entry_set_cache_t *es);
|
||||
s32 count_dir_entries(struct super_block *sb, struct chain_t *p_dir);
|
||||
void update_dir_checksum(struct super_block *sb, struct chain_t *p_dir,
|
||||
s32 entry);
|
||||
void update_dir_checksum_with_entry_set(struct super_block *sb,
|
||||
struct entry_set_cache_t *es);
|
||||
bool is_dir_empty(struct super_block *sb, struct chain_t *p_dir);
|
||||
|
||||
/* name conversion functions */
|
||||
s32 get_num_entries(struct super_block *sb, struct chain_t *p_dir,
|
||||
struct uni_name_t *p_uniname, s32 *entries);
|
||||
u16 calc_checksum_2byte(void *data, s32 len, u16 chksum, s32 type);
|
||||
|
||||
/* name resolution functions */
|
||||
s32 resolve_path(struct inode *inode, char *path, struct chain_t *p_dir,
|
||||
struct uni_name_t *p_uniname);
|
||||
|
||||
/* file operation functions */
|
||||
s32 exfat_mount(struct super_block *sb, struct pbr_sector_t *p_pbr);
|
||||
s32 create_dir(struct inode *inode, struct chain_t *p_dir,
|
||||
struct uni_name_t *p_uniname, struct file_id_t *fid);
|
||||
s32 create_file(struct inode *inode, struct chain_t *p_dir,
|
||||
struct uni_name_t *p_uniname, struct file_id_t *fid);
|
||||
void remove_file(struct inode *inode, struct chain_t *p_dir, s32 entry);
|
||||
s32 exfat_rename_file(struct inode *inode, struct chain_t *p_dir, s32 old_entry,
|
||||
struct uni_name_t *p_uniname, struct file_id_t *fid);
|
||||
s32 move_file(struct inode *inode, struct chain_t *p_olddir, s32 oldentry,
|
||||
struct chain_t *p_newdir, struct uni_name_t *p_uniname,
|
||||
struct file_id_t *fid);
|
||||
|
||||
/* sector read/write functions */
|
||||
int sector_read(struct super_block *sb, sector_t sec,
|
||||
struct buffer_head **bh, bool read);
|
||||
int sector_write(struct super_block *sb, sector_t sec,
|
||||
struct buffer_head *bh, bool sync);
|
||||
int multi_sector_read(struct super_block *sb, sector_t sec,
|
||||
struct buffer_head **bh, s32 num_secs, bool read);
|
||||
int multi_sector_write(struct super_block *sb, sector_t sec,
|
||||
struct buffer_head *bh, s32 num_secs, bool sync);
|
||||
|
||||
void exfat_bdev_open(struct super_block *sb);
|
||||
void exfat_bdev_close(struct super_block *sb);
|
||||
int exfat_bdev_read(struct super_block *sb, sector_t secno,
|
||||
struct buffer_head **bh, u32 num_secs, bool read);
|
||||
int exfat_bdev_write(struct super_block *sb, sector_t secno,
|
||||
struct buffer_head *bh, u32 num_secs, bool sync);
|
||||
int exfat_bdev_sync(struct super_block *sb);
|
||||
|
||||
/* cluster operation functions */
|
||||
s32 exfat_alloc_cluster(struct super_block *sb, s32 num_alloc,
|
||||
struct chain_t *p_chain);
|
||||
void exfat_free_cluster(struct super_block *sb, struct chain_t *p_chain,
|
||||
s32 do_relse);
|
||||
s32 exfat_count_used_clusters(struct super_block *sb);
|
||||
|
||||
/* dir operation functions */
|
||||
s32 exfat_find_dir_entry(struct super_block *sb, struct chain_t *p_dir,
|
||||
struct uni_name_t *p_uniname, s32 num_entries,
|
||||
u32 type);
|
||||
void exfat_delete_dir_entry(struct super_block *sb, struct chain_t *p_dir,
|
||||
s32 entry, s32 order, s32 num_entries);
|
||||
void exfat_get_uni_name_from_ext_entry(struct super_block *sb,
|
||||
struct chain_t *p_dir, s32 entry,
|
||||
u16 *uniname);
|
||||
s32 exfat_count_ext_entries(struct super_block *sb, struct chain_t *p_dir,
|
||||
s32 entry, struct dentry_t *p_entry);
|
||||
s32 exfat_calc_num_entries(struct uni_name_t *p_uniname);
|
||||
|
||||
/* dir entry getter/setter */
|
||||
u32 exfat_get_entry_type(struct dentry_t *p_entry);
|
||||
u32 exfat_get_entry_attr(struct dentry_t *p_entry);
|
||||
void exfat_set_entry_attr(struct dentry_t *p_entry, u32 attr);
|
||||
u8 exfat_get_entry_flag(struct dentry_t *p_entry);
|
||||
void exfat_set_entry_flag(struct dentry_t *p_entry, u8 flags);
|
||||
u32 exfat_get_entry_clu0(struct dentry_t *p_entry);
|
||||
void exfat_set_entry_clu0(struct dentry_t *p_entry, u32 start_clu);
|
||||
u64 exfat_get_entry_size(struct dentry_t *p_entry);
|
||||
void exfat_set_entry_size(struct dentry_t *p_entry, u64 size);
|
||||
void exfat_get_entry_time(struct dentry_t *p_entry, struct timestamp_t *tp,
|
||||
u8 mode);
|
||||
void exfat_set_entry_time(struct dentry_t *p_entry, struct timestamp_t *tp,
|
||||
u8 mode);
|
||||
|
||||
extern const u8 uni_upcase[];
|
||||
#endif /* _EXFAT_H */
|
@ -1,138 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/buffer_head.h>
|
||||
#include <linux/fs.h>
|
||||
#include "exfat.h"
|
||||
|
||||
void exfat_bdev_open(struct super_block *sb)
|
||||
{
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
|
||||
if (p_bd->opened)
|
||||
return;
|
||||
|
||||
p_bd->sector_size = bdev_logical_block_size(sb->s_bdev);
|
||||
p_bd->sector_size_bits = ilog2(p_bd->sector_size);
|
||||
p_bd->sector_size_mask = p_bd->sector_size - 1;
|
||||
p_bd->num_sectors = i_size_read(sb->s_bdev->bd_inode) >>
|
||||
p_bd->sector_size_bits;
|
||||
p_bd->opened = true;
|
||||
}
|
||||
|
||||
void exfat_bdev_close(struct super_block *sb)
|
||||
{
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
|
||||
p_bd->opened = false;
|
||||
}
|
||||
|
||||
int exfat_bdev_read(struct super_block *sb, sector_t secno,
|
||||
struct buffer_head **bh, u32 num_secs,
|
||||
bool read)
|
||||
{
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
#ifdef CONFIG_STAGING_EXFAT_KERNEL_DEBUG
|
||||
struct exfat_sb_info *sbi = EXFAT_SB(sb);
|
||||
long flags = sbi->debug_flags;
|
||||
|
||||
if (flags & EXFAT_DEBUGFLAGS_ERROR_RW)
|
||||
return -EIO;
|
||||
#endif /* CONFIG_STAGING_EXFAT_KERNEL_DEBUG */
|
||||
|
||||
if (!p_bd->opened)
|
||||
return -ENODEV;
|
||||
|
||||
if (*bh)
|
||||
__brelse(*bh);
|
||||
|
||||
if (read)
|
||||
*bh = __bread(sb->s_bdev, secno,
|
||||
num_secs << p_bd->sector_size_bits);
|
||||
else
|
||||
*bh = __getblk(sb->s_bdev, secno,
|
||||
num_secs << p_bd->sector_size_bits);
|
||||
|
||||
if (*bh)
|
||||
return 0;
|
||||
|
||||
WARN(!p_fs->dev_ejected,
|
||||
"[EXFAT] No bh, device seems wrong or to be ejected.\n");
|
||||
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
int exfat_bdev_write(struct super_block *sb, sector_t secno,
|
||||
struct buffer_head *bh,
|
||||
u32 num_secs, bool sync)
|
||||
{
|
||||
s32 count;
|
||||
struct buffer_head *bh2;
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
#ifdef CONFIG_STAGING_EXFAT_KERNEL_DEBUG
|
||||
struct exfat_sb_info *sbi = EXFAT_SB(sb);
|
||||
long flags = sbi->debug_flags;
|
||||
|
||||
if (flags & EXFAT_DEBUGFLAGS_ERROR_RW)
|
||||
return -EIO;
|
||||
#endif /* CONFIG_STAGING_EXFAT_KERNEL_DEBUG */
|
||||
|
||||
if (!p_bd->opened)
|
||||
return -ENODEV;
|
||||
|
||||
if (secno == bh->b_blocknr) {
|
||||
lock_buffer(bh);
|
||||
set_buffer_uptodate(bh);
|
||||
mark_buffer_dirty(bh);
|
||||
unlock_buffer(bh);
|
||||
if (sync && (sync_dirty_buffer(bh) != 0))
|
||||
return -EIO;
|
||||
} else {
|
||||
count = num_secs << p_bd->sector_size_bits;
|
||||
|
||||
bh2 = __getblk(sb->s_bdev, secno, count);
|
||||
if (!bh2)
|
||||
goto no_bh;
|
||||
|
||||
lock_buffer(bh2);
|
||||
memcpy(bh2->b_data, bh->b_data, count);
|
||||
set_buffer_uptodate(bh2);
|
||||
mark_buffer_dirty(bh2);
|
||||
unlock_buffer(bh2);
|
||||
if (sync && (sync_dirty_buffer(bh2) != 0)) {
|
||||
__brelse(bh2);
|
||||
goto no_bh;
|
||||
}
|
||||
__brelse(bh2);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
no_bh:
|
||||
WARN(!p_fs->dev_ejected,
|
||||
"[EXFAT] No bh, device seems wrong or to be ejected.\n");
|
||||
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
int exfat_bdev_sync(struct super_block *sb)
|
||||
{
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
#ifdef CONFIG_STAGING_EXFAT_KERNEL_DEBUG
|
||||
struct exfat_sb_info *sbi = EXFAT_SB(sb);
|
||||
long flags = sbi->debug_flags;
|
||||
|
||||
if (flags & EXFAT_DEBUGFLAGS_ERROR_RW)
|
||||
return -EIO;
|
||||
#endif /* CONFIG_STAGING_EXFAT_KERNEL_DEBUG */
|
||||
|
||||
if (!p_bd->opened)
|
||||
return -ENODEV;
|
||||
|
||||
return sync_blockdev(sb->s_bdev);
|
||||
}
|
@ -1,514 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include <linux/buffer_head.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/mutex.h>
|
||||
#include "exfat.h"
|
||||
|
||||
/* Local variables */
|
||||
static DEFINE_MUTEX(f_mutex);
|
||||
static DEFINE_MUTEX(b_mutex);
|
||||
|
||||
static struct buf_cache_t *FAT_cache_find(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
s32 off;
|
||||
struct buf_cache_t *bp, *hp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
off = (sec +
|
||||
(sec >> p_fs->sectors_per_clu_bits)) & (FAT_CACHE_HASH_SIZE - 1);
|
||||
|
||||
hp = &p_fs->FAT_cache_hash_list[off];
|
||||
for (bp = hp->hash_next; bp != hp; bp = bp->hash_next) {
|
||||
if ((bp->drv == p_fs->drv) && (bp->sec == sec)) {
|
||||
WARN(!bp->buf_bh,
|
||||
"[EXFAT] FAT_cache has no bh. It will make system panic.\n");
|
||||
|
||||
touch_buffer(bp->buf_bh);
|
||||
return bp;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void push_to_mru(struct buf_cache_t *bp, struct buf_cache_t *list)
|
||||
{
|
||||
bp->next = list->next;
|
||||
bp->prev = list;
|
||||
list->next->prev = bp;
|
||||
list->next = bp;
|
||||
}
|
||||
|
||||
static void push_to_lru(struct buf_cache_t *bp, struct buf_cache_t *list)
|
||||
{
|
||||
bp->prev = list->prev;
|
||||
bp->next = list;
|
||||
list->prev->next = bp;
|
||||
list->prev = bp;
|
||||
}
|
||||
|
||||
static void move_to_mru(struct buf_cache_t *bp, struct buf_cache_t *list)
|
||||
{
|
||||
bp->prev->next = bp->next;
|
||||
bp->next->prev = bp->prev;
|
||||
push_to_mru(bp, list);
|
||||
}
|
||||
|
||||
static void move_to_lru(struct buf_cache_t *bp, struct buf_cache_t *list)
|
||||
{
|
||||
bp->prev->next = bp->next;
|
||||
bp->next->prev = bp->prev;
|
||||
push_to_lru(bp, list);
|
||||
}
|
||||
|
||||
static struct buf_cache_t *FAT_cache_get(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
bp = p_fs->FAT_cache_lru_list.prev;
|
||||
|
||||
move_to_mru(bp, &p_fs->FAT_cache_lru_list);
|
||||
return bp;
|
||||
}
|
||||
|
||||
static void FAT_cache_insert_hash(struct super_block *sb,
|
||||
struct buf_cache_t *bp)
|
||||
{
|
||||
s32 off;
|
||||
struct buf_cache_t *hp;
|
||||
struct fs_info_t *p_fs;
|
||||
|
||||
p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
off = (bp->sec +
|
||||
(bp->sec >> p_fs->sectors_per_clu_bits)) &
|
||||
(FAT_CACHE_HASH_SIZE - 1);
|
||||
|
||||
hp = &p_fs->FAT_cache_hash_list[off];
|
||||
bp->hash_next = hp->hash_next;
|
||||
bp->hash_prev = hp;
|
||||
hp->hash_next->hash_prev = bp;
|
||||
hp->hash_next = bp;
|
||||
}
|
||||
|
||||
static void FAT_cache_remove_hash(struct buf_cache_t *bp)
|
||||
{
|
||||
(bp->hash_prev)->hash_next = bp->hash_next;
|
||||
(bp->hash_next)->hash_prev = bp->hash_prev;
|
||||
}
|
||||
|
||||
static void buf_cache_insert_hash(struct super_block *sb,
|
||||
struct buf_cache_t *bp)
|
||||
{
|
||||
s32 off;
|
||||
struct buf_cache_t *hp;
|
||||
struct fs_info_t *p_fs;
|
||||
|
||||
p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
off = (bp->sec +
|
||||
(bp->sec >> p_fs->sectors_per_clu_bits)) &
|
||||
(BUF_CACHE_HASH_SIZE - 1);
|
||||
|
||||
hp = &p_fs->buf_cache_hash_list[off];
|
||||
bp->hash_next = hp->hash_next;
|
||||
bp->hash_prev = hp;
|
||||
hp->hash_next->hash_prev = bp;
|
||||
hp->hash_next = bp;
|
||||
}
|
||||
|
||||
static void buf_cache_remove_hash(struct buf_cache_t *bp)
|
||||
{
|
||||
(bp->hash_prev)->hash_next = bp->hash_next;
|
||||
(bp->hash_next)->hash_prev = bp->hash_prev;
|
||||
}
|
||||
|
||||
void exfat_buf_init(struct super_block *sb)
|
||||
{
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
int i;
|
||||
|
||||
/* LRU list */
|
||||
p_fs->FAT_cache_lru_list.next = &p_fs->FAT_cache_lru_list;
|
||||
p_fs->FAT_cache_lru_list.prev = &p_fs->FAT_cache_lru_list;
|
||||
|
||||
for (i = 0; i < FAT_CACHE_SIZE; i++) {
|
||||
p_fs->FAT_cache_array[i].drv = -1;
|
||||
p_fs->FAT_cache_array[i].sec = ~0;
|
||||
p_fs->FAT_cache_array[i].locked = false;
|
||||
p_fs->FAT_cache_array[i].buf_bh = NULL;
|
||||
p_fs->FAT_cache_array[i].prev = NULL;
|
||||
p_fs->FAT_cache_array[i].next = NULL;
|
||||
push_to_mru(&p_fs->FAT_cache_array[i],
|
||||
&p_fs->FAT_cache_lru_list);
|
||||
}
|
||||
|
||||
p_fs->buf_cache_lru_list.next = &p_fs->buf_cache_lru_list;
|
||||
p_fs->buf_cache_lru_list.prev = &p_fs->buf_cache_lru_list;
|
||||
|
||||
for (i = 0; i < BUF_CACHE_SIZE; i++) {
|
||||
p_fs->buf_cache_array[i].drv = -1;
|
||||
p_fs->buf_cache_array[i].sec = ~0;
|
||||
p_fs->buf_cache_array[i].locked = false;
|
||||
p_fs->buf_cache_array[i].buf_bh = NULL;
|
||||
p_fs->buf_cache_array[i].prev = NULL;
|
||||
p_fs->buf_cache_array[i].next = NULL;
|
||||
push_to_mru(&p_fs->buf_cache_array[i],
|
||||
&p_fs->buf_cache_lru_list);
|
||||
}
|
||||
|
||||
/* HASH list */
|
||||
for (i = 0; i < FAT_CACHE_HASH_SIZE; i++) {
|
||||
p_fs->FAT_cache_hash_list[i].drv = -1;
|
||||
p_fs->FAT_cache_hash_list[i].sec = ~0;
|
||||
p_fs->FAT_cache_hash_list[i].hash_next =
|
||||
&p_fs->FAT_cache_hash_list[i];
|
||||
p_fs->FAT_cache_hash_list[i].hash_prev =
|
||||
&p_fs->FAT_cache_hash_list[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < FAT_CACHE_SIZE; i++)
|
||||
FAT_cache_insert_hash(sb, &p_fs->FAT_cache_array[i]);
|
||||
|
||||
for (i = 0; i < BUF_CACHE_HASH_SIZE; i++) {
|
||||
p_fs->buf_cache_hash_list[i].drv = -1;
|
||||
p_fs->buf_cache_hash_list[i].sec = ~0;
|
||||
p_fs->buf_cache_hash_list[i].hash_next =
|
||||
&p_fs->buf_cache_hash_list[i];
|
||||
p_fs->buf_cache_hash_list[i].hash_prev =
|
||||
&p_fs->buf_cache_hash_list[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < BUF_CACHE_SIZE; i++)
|
||||
buf_cache_insert_hash(sb, &p_fs->buf_cache_array[i]);
|
||||
}
|
||||
|
||||
void exfat_buf_shutdown(struct super_block *sb)
|
||||
{
|
||||
}
|
||||
|
||||
static int __exfat_fat_read(struct super_block *sb, u32 loc, u32 *content)
|
||||
{
|
||||
s32 off;
|
||||
u32 _content;
|
||||
sector_t sec;
|
||||
u8 *fat_sector, *fat_entry;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
|
||||
sec = p_fs->FAT1_start_sector +
|
||||
(loc >> (p_bd->sector_size_bits - 2));
|
||||
off = (loc << 2) & p_bd->sector_size_mask;
|
||||
|
||||
fat_sector = exfat_fat_getblk(sb, sec);
|
||||
if (!fat_sector)
|
||||
return -1;
|
||||
|
||||
fat_entry = &fat_sector[off];
|
||||
_content = GET32_A(fat_entry);
|
||||
|
||||
if (_content >= CLUSTER_32(0xFFFFFFF8)) {
|
||||
*content = CLUSTER_32(~0);
|
||||
return 0;
|
||||
}
|
||||
*content = CLUSTER_32(_content);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* in : sb, loc
|
||||
* out: content
|
||||
* returns 0 on success
|
||||
* -1 on error
|
||||
*/
|
||||
int exfat_fat_read(struct super_block *sb, u32 loc, u32 *content)
|
||||
{
|
||||
s32 ret;
|
||||
|
||||
mutex_lock(&f_mutex);
|
||||
ret = __exfat_fat_read(sb, loc, content);
|
||||
mutex_unlock(&f_mutex);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static s32 __exfat_fat_write(struct super_block *sb, u32 loc, u32 content)
|
||||
{
|
||||
s32 off;
|
||||
sector_t sec;
|
||||
u8 *fat_sector, *fat_entry;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
struct bd_info_t *p_bd = &(EXFAT_SB(sb)->bd_info);
|
||||
|
||||
sec = p_fs->FAT1_start_sector + (loc >>
|
||||
(p_bd->sector_size_bits - 2));
|
||||
off = (loc << 2) & p_bd->sector_size_mask;
|
||||
|
||||
fat_sector = exfat_fat_getblk(sb, sec);
|
||||
if (!fat_sector)
|
||||
return -1;
|
||||
|
||||
fat_entry = &fat_sector[off];
|
||||
|
||||
SET32_A(fat_entry, content);
|
||||
|
||||
exfat_fat_modify(sb, sec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int exfat_fat_write(struct super_block *sb, u32 loc, u32 content)
|
||||
{
|
||||
s32 ret;
|
||||
|
||||
mutex_lock(&f_mutex);
|
||||
ret = __exfat_fat_write(sb, loc, content);
|
||||
mutex_unlock(&f_mutex);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
u8 *exfat_fat_getblk(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
bp = FAT_cache_find(sb, sec);
|
||||
if (bp) {
|
||||
move_to_mru(bp, &p_fs->FAT_cache_lru_list);
|
||||
return bp->buf_bh->b_data;
|
||||
}
|
||||
|
||||
bp = FAT_cache_get(sb, sec);
|
||||
|
||||
FAT_cache_remove_hash(bp);
|
||||
|
||||
bp->drv = p_fs->drv;
|
||||
bp->sec = sec;
|
||||
bp->locked = false;
|
||||
|
||||
FAT_cache_insert_hash(sb, bp);
|
||||
|
||||
if (sector_read(sb, sec, &bp->buf_bh, 1) != 0) {
|
||||
FAT_cache_remove_hash(bp);
|
||||
bp->drv = -1;
|
||||
bp->sec = ~0;
|
||||
bp->locked = false;
|
||||
bp->buf_bh = NULL;
|
||||
|
||||
move_to_lru(bp, &p_fs->FAT_cache_lru_list);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return bp->buf_bh->b_data;
|
||||
}
|
||||
|
||||
void exfat_fat_modify(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
|
||||
bp = FAT_cache_find(sb, sec);
|
||||
if (bp)
|
||||
sector_write(sb, sec, bp->buf_bh, 0);
|
||||
}
|
||||
|
||||
void exfat_fat_release_all(struct super_block *sb)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
mutex_lock(&f_mutex);
|
||||
|
||||
bp = p_fs->FAT_cache_lru_list.next;
|
||||
while (bp != &p_fs->FAT_cache_lru_list) {
|
||||
if (bp->drv == p_fs->drv) {
|
||||
bp->drv = -1;
|
||||
bp->sec = ~0;
|
||||
bp->locked = false;
|
||||
|
||||
if (bp->buf_bh) {
|
||||
__brelse(bp->buf_bh);
|
||||
bp->buf_bh = NULL;
|
||||
}
|
||||
}
|
||||
bp = bp->next;
|
||||
}
|
||||
|
||||
mutex_unlock(&f_mutex);
|
||||
}
|
||||
|
||||
static struct buf_cache_t *buf_cache_find(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
s32 off;
|
||||
struct buf_cache_t *bp, *hp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
off = (sec + (sec >> p_fs->sectors_per_clu_bits)) &
|
||||
(BUF_CACHE_HASH_SIZE - 1);
|
||||
|
||||
hp = &p_fs->buf_cache_hash_list[off];
|
||||
for (bp = hp->hash_next; bp != hp; bp = bp->hash_next) {
|
||||
if ((bp->drv == p_fs->drv) && (bp->sec == sec)) {
|
||||
touch_buffer(bp->buf_bh);
|
||||
return bp;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static struct buf_cache_t *buf_cache_get(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
bp = p_fs->buf_cache_lru_list.prev;
|
||||
while (bp->locked)
|
||||
bp = bp->prev;
|
||||
|
||||
move_to_mru(bp, &p_fs->buf_cache_lru_list);
|
||||
return bp;
|
||||
}
|
||||
|
||||
static u8 *__exfat_buf_getblk(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
bp = buf_cache_find(sb, sec);
|
||||
if (bp) {
|
||||
move_to_mru(bp, &p_fs->buf_cache_lru_list);
|
||||
return bp->buf_bh->b_data;
|
||||
}
|
||||
|
||||
bp = buf_cache_get(sb, sec);
|
||||
|
||||
buf_cache_remove_hash(bp);
|
||||
|
||||
bp->drv = p_fs->drv;
|
||||
bp->sec = sec;
|
||||
bp->locked = false;
|
||||
|
||||
buf_cache_insert_hash(sb, bp);
|
||||
|
||||
if (sector_read(sb, sec, &bp->buf_bh, 1) != 0) {
|
||||
buf_cache_remove_hash(bp);
|
||||
bp->drv = -1;
|
||||
bp->sec = ~0;
|
||||
bp->locked = false;
|
||||
bp->buf_bh = NULL;
|
||||
|
||||
move_to_lru(bp, &p_fs->buf_cache_lru_list);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return bp->buf_bh->b_data;
|
||||
}
|
||||
|
||||
u8 *exfat_buf_getblk(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
u8 *buf;
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
buf = __exfat_buf_getblk(sb, sec);
|
||||
mutex_unlock(&b_mutex);
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
||||
void exfat_buf_modify(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
|
||||
bp = buf_cache_find(sb, sec);
|
||||
if (likely(bp))
|
||||
sector_write(sb, sec, bp->buf_bh, 0);
|
||||
|
||||
WARN(!bp, "[EXFAT] failed to find buffer_cache(sector:%llu).\n",
|
||||
(unsigned long long)sec);
|
||||
|
||||
mutex_unlock(&b_mutex);
|
||||
}
|
||||
|
||||
void exfat_buf_lock(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
|
||||
bp = buf_cache_find(sb, sec);
|
||||
if (likely(bp))
|
||||
bp->locked = true;
|
||||
|
||||
WARN(!bp, "[EXFAT] failed to find buffer_cache(sector:%llu).\n",
|
||||
(unsigned long long)sec);
|
||||
|
||||
mutex_unlock(&b_mutex);
|
||||
}
|
||||
|
||||
void exfat_buf_unlock(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
|
||||
bp = buf_cache_find(sb, sec);
|
||||
if (likely(bp))
|
||||
bp->locked = false;
|
||||
|
||||
WARN(!bp, "[EXFAT] failed to find buffer_cache(sector:%llu).\n",
|
||||
(unsigned long long)sec);
|
||||
|
||||
mutex_unlock(&b_mutex);
|
||||
}
|
||||
|
||||
void exfat_buf_release(struct super_block *sb, sector_t sec)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
|
||||
bp = buf_cache_find(sb, sec);
|
||||
if (likely(bp)) {
|
||||
bp->drv = -1;
|
||||
bp->sec = ~0;
|
||||
bp->locked = false;
|
||||
|
||||
if (bp->buf_bh) {
|
||||
__brelse(bp->buf_bh);
|
||||
bp->buf_bh = NULL;
|
||||
}
|
||||
|
||||
move_to_lru(bp, &p_fs->buf_cache_lru_list);
|
||||
}
|
||||
|
||||
mutex_unlock(&b_mutex);
|
||||
}
|
||||
|
||||
void exfat_buf_release_all(struct super_block *sb)
|
||||
{
|
||||
struct buf_cache_t *bp;
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
mutex_lock(&b_mutex);
|
||||
|
||||
bp = p_fs->buf_cache_lru_list.next;
|
||||
while (bp != &p_fs->buf_cache_lru_list) {
|
||||
if (bp->drv == p_fs->drv) {
|
||||
bp->drv = -1;
|
||||
bp->sec = ~0;
|
||||
bp->locked = false;
|
||||
|
||||
if (bp->buf_bh) {
|
||||
__brelse(bp->buf_bh);
|
||||
bp->buf_bh = NULL;
|
||||
}
|
||||
}
|
||||
bp = bp->next;
|
||||
}
|
||||
|
||||
mutex_unlock(&b_mutex);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,212 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include <linux/string.h>
|
||||
#include <linux/nls.h>
|
||||
#include "exfat.h"
|
||||
|
||||
static u16 bad_uni_chars[] = {
|
||||
/* " * / : < > ? \ | */
|
||||
0x0022, 0x002A, 0x002F, 0x003A,
|
||||
0x003C, 0x003E, 0x003F, 0x005C, 0x007C,
|
||||
0
|
||||
};
|
||||
|
||||
static int convert_ch_to_uni(struct nls_table *nls, u16 *uni, u8 *ch,
|
||||
bool *lossy)
|
||||
{
|
||||
int len;
|
||||
|
||||
*uni = 0x0;
|
||||
|
||||
if (ch[0] < 0x80) {
|
||||
*uni = (u16)ch[0];
|
||||
return 1;
|
||||
}
|
||||
|
||||
len = nls->char2uni(ch, NLS_MAX_CHARSET_SIZE, uni);
|
||||
if (len < 0) {
|
||||
/* conversion failed */
|
||||
pr_info("%s: fail to use nls\n", __func__);
|
||||
if (lossy)
|
||||
*lossy = true;
|
||||
*uni = (u16)'_';
|
||||
if (!strcmp(nls->charset, "utf8"))
|
||||
return 1;
|
||||
else
|
||||
return 2;
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
static int convert_uni_to_ch(struct nls_table *nls, u8 *ch, u16 uni,
|
||||
bool *lossy)
|
||||
{
|
||||
int len;
|
||||
|
||||
ch[0] = 0x0;
|
||||
|
||||
if (uni < 0x0080) {
|
||||
ch[0] = (u8)uni;
|
||||
return 1;
|
||||
}
|
||||
|
||||
len = nls->uni2char(uni, ch, NLS_MAX_CHARSET_SIZE);
|
||||
if (len < 0) {
|
||||
/* conversion failed */
|
||||
pr_info("%s: fail to use nls\n", __func__);
|
||||
if (lossy)
|
||||
*lossy = true;
|
||||
ch[0] = '_';
|
||||
return 1;
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
u16 nls_upper(struct super_block *sb, u16 a)
|
||||
{
|
||||
struct fs_info_t *p_fs = &(EXFAT_SB(sb)->fs_info);
|
||||
|
||||
if (EXFAT_SB(sb)->options.casesensitive)
|
||||
return a;
|
||||
if (p_fs->vol_utbl && p_fs->vol_utbl[get_col_index(a)])
|
||||
return p_fs->vol_utbl[get_col_index(a)][get_row_index(a)];
|
||||
else
|
||||
return a;
|
||||
}
|
||||
|
||||
static u16 *nls_wstrchr(u16 *str, u16 wchar)
|
||||
{
|
||||
while (*str) {
|
||||
if (*(str++) == wchar)
|
||||
return str;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int nls_uniname_cmp(struct super_block *sb, u16 *a, u16 *b)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < MAX_NAME_LENGTH; i++, a++, b++) {
|
||||
if (nls_upper(sb, *a) != nls_upper(sb, *b))
|
||||
return 1;
|
||||
if (*a == 0x0)
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void nls_uniname_to_cstring(struct super_block *sb, u8 *p_cstring,
|
||||
struct uni_name_t *p_uniname)
|
||||
{
|
||||
int i, j, len;
|
||||
u8 buf[MAX_CHARSET_SIZE];
|
||||
u16 *uniname = p_uniname->name;
|
||||
struct nls_table *nls = EXFAT_SB(sb)->nls_io;
|
||||
|
||||
if (!nls) {
|
||||
len = utf16s_to_utf8s(uniname, MAX_NAME_LENGTH,
|
||||
UTF16_HOST_ENDIAN, p_cstring,
|
||||
MAX_NAME_LENGTH);
|
||||
p_cstring[len] = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
i = 0;
|
||||
while (i < (MAX_NAME_LENGTH - 1)) {
|
||||
if (*uniname == (u16)'\0')
|
||||
break;
|
||||
|
||||
len = convert_uni_to_ch(nls, buf, *uniname, NULL);
|
||||
|
||||
if (len > 1) {
|
||||
for (j = 0; j < len; j++)
|
||||
*p_cstring++ = (char)*(buf + j);
|
||||
} else { /* len == 1 */
|
||||
*p_cstring++ = (char)*buf;
|
||||
}
|
||||
|
||||
uniname++;
|
||||
i++;
|
||||
}
|
||||
|
||||
*p_cstring = '\0';
|
||||
}
|
||||
|
||||
void nls_cstring_to_uniname(struct super_block *sb,
|
||||
struct uni_name_t *p_uniname, u8 *p_cstring,
|
||||
bool *p_lossy)
|
||||
{
|
||||
int i, j;
|
||||
bool lossy = false;
|
||||
u8 *end_of_name;
|
||||
u8 upname[MAX_NAME_LENGTH * 2];
|
||||
u16 *uniname = p_uniname->name;
|
||||
struct nls_table *nls = EXFAT_SB(sb)->nls_io;
|
||||
|
||||
/* strip all trailing spaces */
|
||||
end_of_name = p_cstring + strlen(p_cstring);
|
||||
|
||||
while (*(--end_of_name) == ' ') {
|
||||
if (end_of_name < p_cstring)
|
||||
break;
|
||||
}
|
||||
*(++end_of_name) = '\0';
|
||||
|
||||
if (strcmp(p_cstring, ".") && strcmp(p_cstring, "..")) {
|
||||
/* strip all trailing periods */
|
||||
while (*(--end_of_name) == '.') {
|
||||
if (end_of_name < p_cstring)
|
||||
break;
|
||||
}
|
||||
*(++end_of_name) = '\0';
|
||||
}
|
||||
|
||||
if (*p_cstring == '\0')
|
||||
lossy = true;
|
||||
|
||||
if (!nls) {
|
||||
i = utf8s_to_utf16s(p_cstring, MAX_NAME_LENGTH,
|
||||
UTF16_HOST_ENDIAN, uniname,
|
||||
MAX_NAME_LENGTH);
|
||||
for (j = 0; j < i; j++)
|
||||
SET16_A(upname + j * 2, nls_upper(sb, uniname[j]));
|
||||
uniname[i] = '\0';
|
||||
} else {
|
||||
i = 0;
|
||||
j = 0;
|
||||
while (j < (MAX_NAME_LENGTH - 1)) {
|
||||
if (*(p_cstring + i) == '\0')
|
||||
break;
|
||||
|
||||
i += convert_ch_to_uni(nls, uniname,
|
||||
(u8 *)(p_cstring + i), &lossy);
|
||||
|
||||
if ((*uniname < 0x0020) ||
|
||||
nls_wstrchr(bad_uni_chars, *uniname))
|
||||
lossy = true;
|
||||
|
||||
SET16_A(upname + j * 2, nls_upper(sb, *uniname));
|
||||
|
||||
uniname++;
|
||||
j++;
|
||||
}
|
||||
|
||||
if (*(p_cstring + i) != '\0')
|
||||
lossy = true;
|
||||
*uniname = (u16)'\0';
|
||||
}
|
||||
|
||||
p_uniname->name_len = j;
|
||||
p_uniname->name_hash = calc_checksum_2byte(upname, j << 1, 0,
|
||||
CS_DEFAULT);
|
||||
|
||||
if (p_lossy)
|
||||
*p_lossy = lossy;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,740 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2012-2013 Samsung Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#include <linux/types.h>
|
||||
#include "exfat.h"
|
||||
|
||||
const u8 uni_upcase[NUM_UPCASE << 1] = {
|
||||
0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00,
|
||||
0x04, 0x00, 0x05, 0x00, 0x06, 0x00, 0x07, 0x00,
|
||||
0x08, 0x00, 0x09, 0x00, 0x0A, 0x00, 0x0B, 0x00,
|
||||
0x0C, 0x00, 0x0D, 0x00, 0x0E, 0x00, 0x0F, 0x00,
|
||||
0x10, 0x00, 0x11, 0x00, 0x12, 0x00, 0x13, 0x00,
|
||||
0x14, 0x00, 0x15, 0x00, 0x16, 0x00, 0x17, 0x00,
|
||||
0x18, 0x00, 0x19, 0x00, 0x1A, 0x00, 0x1B, 0x00,
|
||||
0x1C, 0x00, 0x1D, 0x00, 0x1E, 0x00, 0x1F, 0x00,
|
||||
0x20, 0x00, 0x21, 0x00, 0x22, 0x00, 0x23, 0x00,
|
||||
0x24, 0x00, 0x25, 0x00, 0x26, 0x00, 0x27, 0x00,
|
||||
0x28, 0x00, 0x29, 0x00, 0x2A, 0x00, 0x2B, 0x00,
|
||||
0x2C, 0x00, 0x2D, 0x00, 0x2E, 0x00, 0x2F, 0x00,
|
||||
0x30, 0x00, 0x31, 0x00, 0x32, 0x00, 0x33, 0x00,
|
||||
0x34, 0x00, 0x35, 0x00, 0x36, 0x00, 0x37, 0x00,
|
||||
0x38, 0x00, 0x39, 0x00, 0x3A, 0x00, 0x3B, 0x00,
|
||||
0x3C, 0x00, 0x3D, 0x00, 0x3E, 0x00, 0x3F, 0x00,
|
||||
0x40, 0x00, 0x41, 0x00, 0x42, 0x00, 0x43, 0x00,
|
||||
0x44, 0x00, 0x45, 0x00, 0x46, 0x00, 0x47, 0x00,
|
||||
0x48, 0x00, 0x49, 0x00, 0x4A, 0x00, 0x4B, 0x00,
|
||||
0x4C, 0x00, 0x4D, 0x00, 0x4E, 0x00, 0x4F, 0x00,
|
||||
0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00,
|
||||
0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00,
|
||||
0x58, 0x00, 0x59, 0x00, 0x5A, 0x00, 0x5B, 0x00,
|
||||
0x5C, 0x00, 0x5D, 0x00, 0x5E, 0x00, 0x5F, 0x00,
|
||||
0x60, 0x00, 0x41, 0x00, 0x42, 0x00, 0x43, 0x00,
|
||||
0x44, 0x00, 0x45, 0x00, 0x46, 0x00, 0x47, 0x00,
|
||||
0x48, 0x00, 0x49, 0x00, 0x4A, 0x00, 0x4B, 0x00,
|
||||
0x4C, 0x00, 0x4D, 0x00, 0x4E, 0x00, 0x4F, 0x00,
|
||||
0x50, 0x00, 0x51, 0x00, 0x52, 0x00, 0x53, 0x00,
|
||||
0x54, 0x00, 0x55, 0x00, 0x56, 0x00, 0x57, 0x00,
|
||||
0x58, 0x00, 0x59, 0x00, 0x5A, 0x00, 0x7B, 0x00,
|
||||
0x7C, 0x00, 0x7D, 0x00, 0x7E, 0x00, 0x7F, 0x00,
|
||||
0x80, 0x00, 0x81, 0x00, 0x82, 0x00, 0x83, 0x00,
|
||||
0x84, 0x00, 0x85, 0x00, 0x86, 0x00, 0x87, 0x00,
|
||||
0x88, 0x00, 0x89, 0x00, 0x8A, 0x00, 0x8B, 0x00,
|
||||
0x8C, 0x00, 0x8D, 0x00, 0x8E, 0x00, 0x8F, 0x00,
|
||||
0x90, 0x00, 0x91, 0x00, 0x92, 0x00, 0x93, 0x00,
|
||||
0x94, 0x00, 0x95, 0x00, 0x96, 0x00, 0x97, 0x00,
|
||||
0x98, 0x00, 0x99, 0x00, 0x9A, 0x00, 0x9B, 0x00,
|
||||
0x9C, 0x00, 0x9D, 0x00, 0x9E, 0x00, 0x9F, 0x00,
|
||||
0xA0, 0x00, 0xA1, 0x00, 0xA2, 0x00, 0xA3, 0x00,
|
||||
0xA4, 0x00, 0xA5, 0x00, 0xA6, 0x00, 0xA7, 0x00,
|
||||
0xA8, 0x00, 0xA9, 0x00, 0xAA, 0x00, 0xAB, 0x00,
|
||||
0xAC, 0x00, 0xAD, 0x00, 0xAE, 0x00, 0xAF, 0x00,
|
||||
0xB0, 0x00, 0xB1, 0x00, 0xB2, 0x00, 0xB3, 0x00,
|
||||
0xB4, 0x00, 0xB5, 0x00, 0xB6, 0x00, 0xB7, 0x00,
|
||||
0xB8, 0x00, 0xB9, 0x00, 0xBA, 0x00, 0xBB, 0x00,
|
||||
0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x00, 0xBF, 0x00,
|
||||
0xC0, 0x00, 0xC1, 0x00, 0xC2, 0x00, 0xC3, 0x00,
|
||||
0xC4, 0x00, 0xC5, 0x00, 0xC6, 0x00, 0xC7, 0x00,
|
||||
0xC8, 0x00, 0xC9, 0x00, 0xCA, 0x00, 0xCB, 0x00,
|
||||
0xCC, 0x00, 0xCD, 0x00, 0xCE, 0x00, 0xCF, 0x00,
|
||||
0xD0, 0x00, 0xD1, 0x00, 0xD2, 0x00, 0xD3, 0x00,
|
||||
0xD4, 0x00, 0xD5, 0x00, 0xD6, 0x00, 0xD7, 0x00,
|
||||
0xD8, 0x00, 0xD9, 0x00, 0xDA, 0x00, 0xDB, 0x00,
|
||||
0xDC, 0x00, 0xDD, 0x00, 0xDE, 0x00, 0xDF, 0x00,
|
||||
0xC0, 0x00, 0xC1, 0x00, 0xC2, 0x00, 0xC3, 0x00,
|
||||
0xC4, 0x00, 0xC5, 0x00, 0xC6, 0x00, 0xC7, 0x00,
|
||||
0xC8, 0x00, 0xC9, 0x00, 0xCA, 0x00, 0xCB, 0x00,
|
||||
0xCC, 0x00, 0xCD, 0x00, 0xCE, 0x00, 0xCF, 0x00,
|
||||
0xD0, 0x00, 0xD1, 0x00, 0xD2, 0x00, 0xD3, 0x00,
|
||||
0xD4, 0x00, 0xD5, 0x00, 0xD6, 0x00, 0xF7, 0x00,
|
||||
0xD8, 0x00, 0xD9, 0x00, 0xDA, 0x00, 0xDB, 0x00,
|
||||
0xDC, 0x00, 0xDD, 0x00, 0xDE, 0x00, 0x78, 0x01,
|
||||
0x00, 0x01, 0x00, 0x01, 0x02, 0x01, 0x02, 0x01,
|
||||
0x04, 0x01, 0x04, 0x01, 0x06, 0x01, 0x06, 0x01,
|
||||
0x08, 0x01, 0x08, 0x01, 0x0A, 0x01, 0x0A, 0x01,
|
||||
0x0C, 0x01, 0x0C, 0x01, 0x0E, 0x01, 0x0E, 0x01,
|
||||
0x10, 0x01, 0x10, 0x01, 0x12, 0x01, 0x12, 0x01,
|
||||
0x14, 0x01, 0x14, 0x01, 0x16, 0x01, 0x16, 0x01,
|
||||
0x18, 0x01, 0x18, 0x01, 0x1A, 0x01, 0x1A, 0x01,
|
||||
0x1C, 0x01, 0x1C, 0x01, 0x1E, 0x01, 0x1E, 0x01,
|
||||
0x20, 0x01, 0x20, 0x01, 0x22, 0x01, 0x22, 0x01,
|
||||
0x24, 0x01, 0x24, 0x01, 0x26, 0x01, 0x26, 0x01,
|
||||
0x28, 0x01, 0x28, 0x01, 0x2A, 0x01, 0x2A, 0x01,
|
||||
0x2C, 0x01, 0x2C, 0x01, 0x2E, 0x01, 0x2E, 0x01,
|
||||
0x30, 0x01, 0x31, 0x01, 0x32, 0x01, 0x32, 0x01,
|
||||
0x34, 0x01, 0x34, 0x01, 0x36, 0x01, 0x36, 0x01,
|
||||
0x38, 0x01, 0x39, 0x01, 0x39, 0x01, 0x3B, 0x01,
|
||||
0x3B, 0x01, 0x3D, 0x01, 0x3D, 0x01, 0x3F, 0x01,
|
||||
0x3F, 0x01, 0x41, 0x01, 0x41, 0x01, 0x43, 0x01,
|
||||
0x43, 0x01, 0x45, 0x01, 0x45, 0x01, 0x47, 0x01,
|
||||
0x47, 0x01, 0x49, 0x01, 0x4A, 0x01, 0x4A, 0x01,
|
||||
0x4C, 0x01, 0x4C, 0x01, 0x4E, 0x01, 0x4E, 0x01,
|
||||
0x50, 0x01, 0x50, 0x01, 0x52, 0x01, 0x52, 0x01,
|
||||
0x54, 0x01, 0x54, 0x01, 0x56, 0x01, 0x56, 0x01,
|
||||
0x58, 0x01, 0x58, 0x01, 0x5A, 0x01, 0x5A, 0x01,
|
||||
0x5C, 0x01, 0x5C, 0x01, 0x5E, 0x01, 0x5E, 0x01,
|
||||
0x60, 0x01, 0x60, 0x01, 0x62, 0x01, 0x62, 0x01,
|
||||
0x64, 0x01, 0x64, 0x01, 0x66, 0x01, 0x66, 0x01,
|
||||
0x68, 0x01, 0x68, 0x01, 0x6A, 0x01, 0x6A, 0x01,
|
||||
0x6C, 0x01, 0x6C, 0x01, 0x6E, 0x01, 0x6E, 0x01,
|
||||
0x70, 0x01, 0x70, 0x01, 0x72, 0x01, 0x72, 0x01,
|
||||
0x74, 0x01, 0x74, 0x01, 0x76, 0x01, 0x76, 0x01,
|
||||
0x78, 0x01, 0x79, 0x01, 0x79, 0x01, 0x7B, 0x01,
|
||||
0x7B, 0x01, 0x7D, 0x01, 0x7D, 0x01, 0x7F, 0x01,
|
||||
0x43, 0x02, 0x81, 0x01, 0x82, 0x01, 0x82, 0x01,
|
||||
0x84, 0x01, 0x84, 0x01, 0x86, 0x01, 0x87, 0x01,
|
||||
0x87, 0x01, 0x89, 0x01, 0x8A, 0x01, 0x8B, 0x01,
|
||||
0x8B, 0x01, 0x8D, 0x01, 0x8E, 0x01, 0x8F, 0x01,
|
||||
0x90, 0x01, 0x91, 0x01, 0x91, 0x01, 0x93, 0x01,
|
||||
0x94, 0x01, 0xF6, 0x01, 0x96, 0x01, 0x97, 0x01,
|
||||
0x98, 0x01, 0x98, 0x01, 0x3D, 0x02, 0x9B, 0x01,
|
||||
0x9C, 0x01, 0x9D, 0x01, 0x20, 0x02, 0x9F, 0x01,
|
||||
0xA0, 0x01, 0xA0, 0x01, 0xA2, 0x01, 0xA2, 0x01,
|
||||
0xA4, 0x01, 0xA4, 0x01, 0xA6, 0x01, 0xA7, 0x01,
|
||||
0xA7, 0x01, 0xA9, 0x01, 0xAA, 0x01, 0xAB, 0x01,
|
||||
0xAC, 0x01, 0xAC, 0x01, 0xAE, 0x01, 0xAF, 0x01,
|
||||
0xAF, 0x01, 0xB1, 0x01, 0xB2, 0x01, 0xB3, 0x01,
|
||||
0xB3, 0x01, 0xB5, 0x01, 0xB5, 0x01, 0xB7, 0x01,
|
||||
0xB8, 0x01, 0xB8, 0x01, 0xBA, 0x01, 0xBB, 0x01,
|
||||
0xBC, 0x01, 0xBC, 0x01, 0xBE, 0x01, 0xF7, 0x01,
|
||||
0xC0, 0x01, 0xC1, 0x01, 0xC2, 0x01, 0xC3, 0x01,
|
||||
0xC4, 0x01, 0xC5, 0x01, 0xC4, 0x01, 0xC7, 0x01,
|
||||
0xC8, 0x01, 0xC7, 0x01, 0xCA, 0x01, 0xCB, 0x01,
|
||||
0xCA, 0x01, 0xCD, 0x01, 0xCD, 0x01, 0xCF, 0x01,
|
||||
0xCF, 0x01, 0xD1, 0x01, 0xD1, 0x01, 0xD3, 0x01,
|
||||
0xD3, 0x01, 0xD5, 0x01, 0xD5, 0x01, 0xD7, 0x01,
|
||||
0xD7, 0x01, 0xD9, 0x01, 0xD9, 0x01, 0xDB, 0x01,
|
||||
0xDB, 0x01, 0x8E, 0x01, 0xDE, 0x01, 0xDE, 0x01,
|
||||
0xE0, 0x01, 0xE0, 0x01, 0xE2, 0x01, 0xE2, 0x01,
|
||||
0xE4, 0x01, 0xE4, 0x01, 0xE6, 0x01, 0xE6, 0x01,
|
||||
0xE8, 0x01, 0xE8, 0x01, 0xEA, 0x01, 0xEA, 0x01,
|
||||
0xEC, 0x01, 0xEC, 0x01, 0xEE, 0x01, 0xEE, 0x01,
|
||||
0xF0, 0x01, 0xF1, 0x01, 0xF2, 0x01, 0xF1, 0x01,
|
||||
0xF4, 0x01, 0xF4, 0x01, 0xF6, 0x01, 0xF7, 0x01,
|
||||
0xF8, 0x01, 0xF8, 0x01, 0xFA, 0x01, 0xFA, 0x01,
|
||||
0xFC, 0x01, 0xFC, 0x01, 0xFE, 0x01, 0xFE, 0x01,
|
||||
0x00, 0x02, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02,
|
||||
0x04, 0x02, 0x04, 0x02, 0x06, 0x02, 0x06, 0x02,
|
||||
0x08, 0x02, 0x08, 0x02, 0x0A, 0x02, 0x0A, 0x02,
|
||||
0x0C, 0x02, 0x0C, 0x02, 0x0E, 0x02, 0x0E, 0x02,
|
||||
0x10, 0x02, 0x10, 0x02, 0x12, 0x02, 0x12, 0x02,
|
||||
0x14, 0x02, 0x14, 0x02, 0x16, 0x02, 0x16, 0x02,
|
||||
0x18, 0x02, 0x18, 0x02, 0x1A, 0x02, 0x1A, 0x02,
|
||||
0x1C, 0x02, 0x1C, 0x02, 0x1E, 0x02, 0x1E, 0x02,
|
||||
0x20, 0x02, 0x21, 0x02, 0x22, 0x02, 0x22, 0x02,
|
||||
0x24, 0x02, 0x24, 0x02, 0x26, 0x02, 0x26, 0x02,
|
||||
0x28, 0x02, 0x28, 0x02, 0x2A, 0x02, 0x2A, 0x02,
|
||||
0x2C, 0x02, 0x2C, 0x02, 0x2E, 0x02, 0x2E, 0x02,
|
||||
0x30, 0x02, 0x30, 0x02, 0x32, 0x02, 0x32, 0x02,
|
||||
0x34, 0x02, 0x35, 0x02, 0x36, 0x02, 0x37, 0x02,
|
||||
0x38, 0x02, 0x39, 0x02, 0x65, 0x2C, 0x3B, 0x02,
|
||||
0x3B, 0x02, 0x3D, 0x02, 0x66, 0x2C, 0x3F, 0x02,
|
||||
0x40, 0x02, 0x41, 0x02, 0x41, 0x02, 0x43, 0x02,
|
||||
0x44, 0x02, 0x45, 0x02, 0x46, 0x02, 0x46, 0x02,
|
||||
0x48, 0x02, 0x48, 0x02, 0x4A, 0x02, 0x4A, 0x02,
|
||||
0x4C, 0x02, 0x4C, 0x02, 0x4E, 0x02, 0x4E, 0x02,
|
||||
0x50, 0x02, 0x51, 0x02, 0x52, 0x02, 0x81, 0x01,
|
||||
0x86, 0x01, 0x55, 0x02, 0x89, 0x01, 0x8A, 0x01,
|
||||
0x58, 0x02, 0x8F, 0x01, 0x5A, 0x02, 0x90, 0x01,
|
||||
0x5C, 0x02, 0x5D, 0x02, 0x5E, 0x02, 0x5F, 0x02,
|
||||
0x93, 0x01, 0x61, 0x02, 0x62, 0x02, 0x94, 0x01,
|
||||
0x64, 0x02, 0x65, 0x02, 0x66, 0x02, 0x67, 0x02,
|
||||
0x97, 0x01, 0x96, 0x01, 0x6A, 0x02, 0x62, 0x2C,
|
||||
0x6C, 0x02, 0x6D, 0x02, 0x6E, 0x02, 0x9C, 0x01,
|
||||
0x70, 0x02, 0x71, 0x02, 0x9D, 0x01, 0x73, 0x02,
|
||||
0x74, 0x02, 0x9F, 0x01, 0x76, 0x02, 0x77, 0x02,
|
||||
0x78, 0x02, 0x79, 0x02, 0x7A, 0x02, 0x7B, 0x02,
|
||||
0x7C, 0x02, 0x64, 0x2C, 0x7E, 0x02, 0x7F, 0x02,
|
||||
0xA6, 0x01, 0x81, 0x02, 0x82, 0x02, 0xA9, 0x01,
|
||||
0x84, 0x02, 0x85, 0x02, 0x86, 0x02, 0x87, 0x02,
|
||||
0xAE, 0x01, 0x44, 0x02, 0xB1, 0x01, 0xB2, 0x01,
|
||||
0x45, 0x02, 0x8D, 0x02, 0x8E, 0x02, 0x8F, 0x02,
|
||||
0x90, 0x02, 0x91, 0x02, 0xB7, 0x01, 0x93, 0x02,
|
||||
0x94, 0x02, 0x95, 0x02, 0x96, 0x02, 0x97, 0x02,
|
||||
0x98, 0x02, 0x99, 0x02, 0x9A, 0x02, 0x9B, 0x02,
|
||||
0x9C, 0x02, 0x9D, 0x02, 0x9E, 0x02, 0x9F, 0x02,
|
||||
0xA0, 0x02, 0xA1, 0x02, 0xA2, 0x02, 0xA3, 0x02,
|
||||
0xA4, 0x02, 0xA5, 0x02, 0xA6, 0x02, 0xA7, 0x02,
|
||||
0xA8, 0x02, 0xA9, 0x02, 0xAA, 0x02, 0xAB, 0x02,
|
||||
0xAC, 0x02, 0xAD, 0x02, 0xAE, 0x02, 0xAF, 0x02,
|
||||
0xB0, 0x02, 0xB1, 0x02, 0xB2, 0x02, 0xB3, 0x02,
|
||||
0xB4, 0x02, 0xB5, 0x02, 0xB6, 0x02, 0xB7, 0x02,
|
||||
0xB8, 0x02, 0xB9, 0x02, 0xBA, 0x02, 0xBB, 0x02,
|
||||
0xBC, 0x02, 0xBD, 0x02, 0xBE, 0x02, 0xBF, 0x02,
|
||||
0xC0, 0x02, 0xC1, 0x02, 0xC2, 0x02, 0xC3, 0x02,
|
||||
0xC4, 0x02, 0xC5, 0x02, 0xC6, 0x02, 0xC7, 0x02,
|
||||
0xC8, 0x02, 0xC9, 0x02, 0xCA, 0x02, 0xCB, 0x02,
|
||||
0xCC, 0x02, 0xCD, 0x02, 0xCE, 0x02, 0xCF, 0x02,
|
||||
0xD0, 0x02, 0xD1, 0x02, 0xD2, 0x02, 0xD3, 0x02,
|
||||
0xD4, 0x02, 0xD5, 0x02, 0xD6, 0x02, 0xD7, 0x02,
|
||||
0xD8, 0x02, 0xD9, 0x02, 0xDA, 0x02, 0xDB, 0x02,
|
||||
0xDC, 0x02, 0xDD, 0x02, 0xDE, 0x02, 0xDF, 0x02,
|
||||
0xE0, 0x02, 0xE1, 0x02, 0xE2, 0x02, 0xE3, 0x02,
|
||||
0xE4, 0x02, 0xE5, 0x02, 0xE6, 0x02, 0xE7, 0x02,
|
||||
0xE8, 0x02, 0xE9, 0x02, 0xEA, 0x02, 0xEB, 0x02,
|
||||
0xEC, 0x02, 0xED, 0x02, 0xEE, 0x02, 0xEF, 0x02,
|
||||
0xF0, 0x02, 0xF1, 0x02, 0xF2, 0x02, 0xF3, 0x02,
|
||||
0xF4, 0x02, 0xF5, 0x02, 0xF6, 0x02, 0xF7, 0x02,
|
||||
0xF8, 0x02, 0xF9, 0x02, 0xFA, 0x02, 0xFB, 0x02,
|
||||
0xFC, 0x02, 0xFD, 0x02, 0xFE, 0x02, 0xFF, 0x02,
|
||||
0x00, 0x03, 0x01, 0x03, 0x02, 0x03, 0x03, 0x03,
|
||||
0x04, 0x03, 0x05, 0x03, 0x06, 0x03, 0x07, 0x03,
|
||||
0x08, 0x03, 0x09, 0x03, 0x0A, 0x03, 0x0B, 0x03,
|
||||
0x0C, 0x03, 0x0D, 0x03, 0x0E, 0x03, 0x0F, 0x03,
|
||||
0x10, 0x03, 0x11, 0x03, 0x12, 0x03, 0x13, 0x03,
|
||||
0x14, 0x03, 0x15, 0x03, 0x16, 0x03, 0x17, 0x03,
|
||||
0x18, 0x03, 0x19, 0x03, 0x1A, 0x03, 0x1B, 0x03,
|
||||
0x1C, 0x03, 0x1D, 0x03, 0x1E, 0x03, 0x1F, 0x03,
|
||||
0x20, 0x03, 0x21, 0x03, 0x22, 0x03, 0x23, 0x03,
|
||||
0x24, 0x03, 0x25, 0x03, 0x26, 0x03, 0x27, 0x03,
|
||||
0x28, 0x03, 0x29, 0x03, 0x2A, 0x03, 0x2B, 0x03,
|
||||
0x2C, 0x03, 0x2D, 0x03, 0x2E, 0x03, 0x2F, 0x03,
|
||||
0x30, 0x03, 0x31, 0x03, 0x32, 0x03, 0x33, 0x03,
|
||||
0x34, 0x03, 0x35, 0x03, 0x36, 0x03, 0x37, 0x03,
|
||||
0x38, 0x03, 0x39, 0x03, 0x3A, 0x03, 0x3B, 0x03,
|
||||
0x3C, 0x03, 0x3D, 0x03, 0x3E, 0x03, 0x3F, 0x03,
|
||||
0x40, 0x03, 0x41, 0x03, 0x42, 0x03, 0x43, 0x03,
|
||||
0x44, 0x03, 0x45, 0x03, 0x46, 0x03, 0x47, 0x03,
|
||||
0x48, 0x03, 0x49, 0x03, 0x4A, 0x03, 0x4B, 0x03,
|
||||
0x4C, 0x03, 0x4D, 0x03, 0x4E, 0x03, 0x4F, 0x03,
|
||||
0x50, 0x03, 0x51, 0x03, 0x52, 0x03, 0x53, 0x03,
|
||||
0x54, 0x03, 0x55, 0x03, 0x56, 0x03, 0x57, 0x03,
|
||||
0x58, 0x03, 0x59, 0x03, 0x5A, 0x03, 0x5B, 0x03,
|
||||
0x5C, 0x03, 0x5D, 0x03, 0x5E, 0x03, 0x5F, 0x03,
|
||||
0x60, 0x03, 0x61, 0x03, 0x62, 0x03, 0x63, 0x03,
|
||||
0x64, 0x03, 0x65, 0x03, 0x66, 0x03, 0x67, 0x03,
|
||||
0x68, 0x03, 0x69, 0x03, 0x6A, 0x03, 0x6B, 0x03,
|
||||
0x6C, 0x03, 0x6D, 0x03, 0x6E, 0x03, 0x6F, 0x03,
|
||||
0x70, 0x03, 0x71, 0x03, 0x72, 0x03, 0x73, 0x03,
|
||||
0x74, 0x03, 0x75, 0x03, 0x76, 0x03, 0x77, 0x03,
|
||||
0x78, 0x03, 0x79, 0x03, 0x7A, 0x03, 0xFD, 0x03,
|
||||
0xFE, 0x03, 0xFF, 0x03, 0x7E, 0x03, 0x7F, 0x03,
|
||||
0x80, 0x03, 0x81, 0x03, 0x82, 0x03, 0x83, 0x03,
|
||||
0x84, 0x03, 0x85, 0x03, 0x86, 0x03, 0x87, 0x03,
|
||||
0x88, 0x03, 0x89, 0x03, 0x8A, 0x03, 0x8B, 0x03,
|
||||
0x8C, 0x03, 0x8D, 0x03, 0x8E, 0x03, 0x8F, 0x03,
|
||||
0x90, 0x03, 0x91, 0x03, 0x92, 0x03, 0x93, 0x03,
|
||||
0x94, 0x03, 0x95, 0x03, 0x96, 0x03, 0x97, 0x03,
|
||||
0x98, 0x03, 0x99, 0x03, 0x9A, 0x03, 0x9B, 0x03,
|
||||
0x9C, 0x03, 0x9D, 0x03, 0x9E, 0x03, 0x9F, 0x03,
|
||||
0xA0, 0x03, 0xA1, 0x03, 0xA2, 0x03, 0xA3, 0x03,
|
||||
0xA4, 0x03, 0xA5, 0x03, 0xA6, 0x03, 0xA7, 0x03,
|
||||
0xA8, 0x03, 0xA9, 0x03, 0xAA, 0x03, 0xAB, 0x03,
|
||||
0x86, 0x03, 0x88, 0x03, 0x89, 0x03, 0x8A, 0x03,
|
||||
0xB0, 0x03, 0x91, 0x03, 0x92, 0x03, 0x93, 0x03,
|
||||
0x94, 0x03, 0x95, 0x03, 0x96, 0x03, 0x97, 0x03,
|
||||
0x98, 0x03, 0x99, 0x03, 0x9A, 0x03, 0x9B, 0x03,
|
||||
0x9C, 0x03, 0x9D, 0x03, 0x9E, 0x03, 0x9F, 0x03,
|
||||
0xA0, 0x03, 0xA1, 0x03, 0xA3, 0x03, 0xA3, 0x03,
|
||||
0xA4, 0x03, 0xA5, 0x03, 0xA6, 0x03, 0xA7, 0x03,
|
||||
0xA8, 0x03, 0xA9, 0x03, 0xAA, 0x03, 0xAB, 0x03,
|
||||
0x8C, 0x03, 0x8E, 0x03, 0x8F, 0x03, 0xCF, 0x03,
|
||||
0xD0, 0x03, 0xD1, 0x03, 0xD2, 0x03, 0xD3, 0x03,
|
||||
0xD4, 0x03, 0xD5, 0x03, 0xD6, 0x03, 0xD7, 0x03,
|
||||
0xD8, 0x03, 0xD8, 0x03, 0xDA, 0x03, 0xDA, 0x03,
|
||||
0xDC, 0x03, 0xDC, 0x03, 0xDE, 0x03, 0xDE, 0x03,
|
||||
0xE0, 0x03, 0xE0, 0x03, 0xE2, 0x03, 0xE2, 0x03,
|
||||
0xE4, 0x03, 0xE4, 0x03, 0xE6, 0x03, 0xE6, 0x03,
|
||||
0xE8, 0x03, 0xE8, 0x03, 0xEA, 0x03, 0xEA, 0x03,
|
||||
0xEC, 0x03, 0xEC, 0x03, 0xEE, 0x03, 0xEE, 0x03,
|
||||
0xF0, 0x03, 0xF1, 0x03, 0xF9, 0x03, 0xF3, 0x03,
|
||||
0xF4, 0x03, 0xF5, 0x03, 0xF6, 0x03, 0xF7, 0x03,
|
||||
0xF7, 0x03, 0xF9, 0x03, 0xFA, 0x03, 0xFA, 0x03,
|
||||
0xFC, 0x03, 0xFD, 0x03, 0xFE, 0x03, 0xFF, 0x03,
|
||||
0x00, 0x04, 0x01, 0x04, 0x02, 0x04, 0x03, 0x04,
|
||||
0x04, 0x04, 0x05, 0x04, 0x06, 0x04, 0x07, 0x04,
|
||||
0x08, 0x04, 0x09, 0x04, 0x0A, 0x04, 0x0B, 0x04,
|
||||
0x0C, 0x04, 0x0D, 0x04, 0x0E, 0x04, 0x0F, 0x04,
|
||||
0x10, 0x04, 0x11, 0x04, 0x12, 0x04, 0x13, 0x04,
|
||||
0x14, 0x04, 0x15, 0x04, 0x16, 0x04, 0x17, 0x04,
|
||||
0x18, 0x04, 0x19, 0x04, 0x1A, 0x04, 0x1B, 0x04,
|
||||
0x1C, 0x04, 0x1D, 0x04, 0x1E, 0x04, 0x1F, 0x04,
|
||||
0x20, 0x04, 0x21, 0x04, 0x22, 0x04, 0x23, 0x04,
|
||||
0x24, 0x04, 0x25, 0x04, 0x26, 0x04, 0x27, 0x04,
|
||||
0x28, 0x04, 0x29, 0x04, 0x2A, 0x04, 0x2B, 0x04,
|
||||
0x2C, 0x04, 0x2D, 0x04, 0x2E, 0x04, 0x2F, 0x04,
|
||||
0x10, 0x04, 0x11, 0x04, 0x12, 0x04, 0x13, 0x04,
|
||||
0x14, 0x04, 0x15, 0x04, 0x16, 0x04, 0x17, 0x04,
|
||||
0x18, 0x04, 0x19, 0x04, 0x1A, 0x04, 0x1B, 0x04,
|
||||
0x1C, 0x04, 0x1D, 0x04, 0x1E, 0x04, 0x1F, 0x04,
|
||||
0x20, 0x04, 0x21, 0x04, 0x22, 0x04, 0x23, 0x04,
|
||||
0x24, 0x04, 0x25, 0x04, 0x26, 0x04, 0x27, 0x04,
|
||||
0x28, 0x04, 0x29, 0x04, 0x2A, 0x04, 0x2B, 0x04,
|
||||
0x2C, 0x04, 0x2D, 0x04, 0x2E, 0x04, 0x2F, 0x04,
|
||||
0x00, 0x04, 0x01, 0x04, 0x02, 0x04, 0x03, 0x04,
|
||||
0x04, 0x04, 0x05, 0x04, 0x06, 0x04, 0x07, 0x04,
|
||||
0x08, 0x04, 0x09, 0x04, 0x0A, 0x04, 0x0B, 0x04,
|
||||
0x0C, 0x04, 0x0D, 0x04, 0x0E, 0x04, 0x0F, 0x04,
|
||||
0x60, 0x04, 0x60, 0x04, 0x62, 0x04, 0x62, 0x04,
|
||||
0x64, 0x04, 0x64, 0x04, 0x66, 0x04, 0x66, 0x04,
|
||||
0x68, 0x04, 0x68, 0x04, 0x6A, 0x04, 0x6A, 0x04,
|
||||
0x6C, 0x04, 0x6C, 0x04, 0x6E, 0x04, 0x6E, 0x04,
|
||||
0x70, 0x04, 0x70, 0x04, 0x72, 0x04, 0x72, 0x04,
|
||||
0x74, 0x04, 0x74, 0x04, 0x76, 0x04, 0x76, 0x04,
|
||||
0x78, 0x04, 0x78, 0x04, 0x7A, 0x04, 0x7A, 0x04,
|
||||
0x7C, 0x04, 0x7C, 0x04, 0x7E, 0x04, 0x7E, 0x04,
|
||||
0x80, 0x04, 0x80, 0x04, 0x82, 0x04, 0x83, 0x04,
|
||||
0x84, 0x04, 0x85, 0x04, 0x86, 0x04, 0x87, 0x04,
|
||||
0x88, 0x04, 0x89, 0x04, 0x8A, 0x04, 0x8A, 0x04,
|
||||
0x8C, 0x04, 0x8C, 0x04, 0x8E, 0x04, 0x8E, 0x04,
|
||||
0x90, 0x04, 0x90, 0x04, 0x92, 0x04, 0x92, 0x04,
|
||||
0x94, 0x04, 0x94, 0x04, 0x96, 0x04, 0x96, 0x04,
|
||||
0x98, 0x04, 0x98, 0x04, 0x9A, 0x04, 0x9A, 0x04,
|
||||
0x9C, 0x04, 0x9C, 0x04, 0x9E, 0x04, 0x9E, 0x04,
|
||||
0xA0, 0x04, 0xA0, 0x04, 0xA2, 0x04, 0xA2, 0x04,
|
||||
0xA4, 0x04, 0xA4, 0x04, 0xA6, 0x04, 0xA6, 0x04,
|
||||
0xA8, 0x04, 0xA8, 0x04, 0xAA, 0x04, 0xAA, 0x04,
|
||||
0xAC, 0x04, 0xAC, 0x04, 0xAE, 0x04, 0xAE, 0x04,
|
||||
0xB0, 0x04, 0xB0, 0x04, 0xB2, 0x04, 0xB2, 0x04,
|
||||
0xB4, 0x04, 0xB4, 0x04, 0xB6, 0x04, 0xB6, 0x04,
|
||||
0xB8, 0x04, 0xB8, 0x04, 0xBA, 0x04, 0xBA, 0x04,
|
||||
0xBC, 0x04, 0xBC, 0x04, 0xBE, 0x04, 0xBE, 0x04,
|
||||
0xC0, 0x04, 0xC1, 0x04, 0xC1, 0x04, 0xC3, 0x04,
|
||||
0xC3, 0x04, 0xC5, 0x04, 0xC5, 0x04, 0xC7, 0x04,
|
||||
0xC7, 0x04, 0xC9, 0x04, 0xC9, 0x04, 0xCB, 0x04,
|
||||
0xCB, 0x04, 0xCD, 0x04, 0xCD, 0x04, 0xC0, 0x04,
|
||||
0xD0, 0x04, 0xD0, 0x04, 0xD2, 0x04, 0xD2, 0x04,
|
||||
0xD4, 0x04, 0xD4, 0x04, 0xD6, 0x04, 0xD6, 0x04,
|
||||
0xD8, 0x04, 0xD8, 0x04, 0xDA, 0x04, 0xDA, 0x04,
|
||||
0xDC, 0x04, 0xDC, 0x04, 0xDE, 0x04, 0xDE, 0x04,
|
||||
0xE0, 0x04, 0xE0, 0x04, 0xE2, 0x04, 0xE2, 0x04,
|
||||
0xE4, 0x04, 0xE4, 0x04, 0xE6, 0x04, 0xE6, 0x04,
|
||||
0xE8, 0x04, 0xE8, 0x04, 0xEA, 0x04, 0xEA, 0x04,
|
||||
0xEC, 0x04, 0xEC, 0x04, 0xEE, 0x04, 0xEE, 0x04,
|
||||
0xF0, 0x04, 0xF0, 0x04, 0xF2, 0x04, 0xF2, 0x04,
|
||||
0xF4, 0x04, 0xF4, 0x04, 0xF6, 0x04, 0xF6, 0x04,
|
||||
0xF8, 0x04, 0xF8, 0x04, 0xFA, 0x04, 0xFA, 0x04,
|
||||
0xFC, 0x04, 0xFC, 0x04, 0xFE, 0x04, 0xFE, 0x04,
|
||||
0x00, 0x05, 0x00, 0x05, 0x02, 0x05, 0x02, 0x05,
|
||||
0x04, 0x05, 0x04, 0x05, 0x06, 0x05, 0x06, 0x05,
|
||||
0x08, 0x05, 0x08, 0x05, 0x0A, 0x05, 0x0A, 0x05,
|
||||
0x0C, 0x05, 0x0C, 0x05, 0x0E, 0x05, 0x0E, 0x05,
|
||||
0x10, 0x05, 0x10, 0x05, 0x12, 0x05, 0x12, 0x05,
|
||||
0x14, 0x05, 0x15, 0x05, 0x16, 0x05, 0x17, 0x05,
|
||||
0x18, 0x05, 0x19, 0x05, 0x1A, 0x05, 0x1B, 0x05,
|
||||
0x1C, 0x05, 0x1D, 0x05, 0x1E, 0x05, 0x1F, 0x05,
|
||||
0x20, 0x05, 0x21, 0x05, 0x22, 0x05, 0x23, 0x05,
|
||||
0x24, 0x05, 0x25, 0x05, 0x26, 0x05, 0x27, 0x05,
|
||||
0x28, 0x05, 0x29, 0x05, 0x2A, 0x05, 0x2B, 0x05,
|
||||
0x2C, 0x05, 0x2D, 0x05, 0x2E, 0x05, 0x2F, 0x05,
|
||||
0x30, 0x05, 0x31, 0x05, 0x32, 0x05, 0x33, 0x05,
|
||||
0x34, 0x05, 0x35, 0x05, 0x36, 0x05, 0x37, 0x05,
|
||||
0x38, 0x05, 0x39, 0x05, 0x3A, 0x05, 0x3B, 0x05,
|
||||
0x3C, 0x05, 0x3D, 0x05, 0x3E, 0x05, 0x3F, 0x05,
|
||||
0x40, 0x05, 0x41, 0x05, 0x42, 0x05, 0x43, 0x05,
|
||||
0x44, 0x05, 0x45, 0x05, 0x46, 0x05, 0x47, 0x05,
|
||||
0x48, 0x05, 0x49, 0x05, 0x4A, 0x05, 0x4B, 0x05,
|
||||
0x4C, 0x05, 0x4D, 0x05, 0x4E, 0x05, 0x4F, 0x05,
|
||||
0x50, 0x05, 0x51, 0x05, 0x52, 0x05, 0x53, 0x05,
|
||||
0x54, 0x05, 0x55, 0x05, 0x56, 0x05, 0x57, 0x05,
|
||||
0x58, 0x05, 0x59, 0x05, 0x5A, 0x05, 0x5B, 0x05,
|
||||
0x5C, 0x05, 0x5D, 0x05, 0x5E, 0x05, 0x5F, 0x05,
|
||||
0x60, 0x05, 0x31, 0x05, 0x32, 0x05, 0x33, 0x05,
|
||||
0x34, 0x05, 0x35, 0x05, 0x36, 0x05, 0x37, 0x05,
|
||||
0x38, 0x05, 0x39, 0x05, 0x3A, 0x05, 0x3B, 0x05,
|
||||
0x3C, 0x05, 0x3D, 0x05, 0x3E, 0x05, 0x3F, 0x05,
|
||||
0x40, 0x05, 0x41, 0x05, 0x42, 0x05, 0x43, 0x05,
|
||||
0x44, 0x05, 0x45, 0x05, 0x46, 0x05, 0x47, 0x05,
|
||||
0x48, 0x05, 0x49, 0x05, 0x4A, 0x05, 0x4B, 0x05,
|
||||
0x4C, 0x05, 0x4D, 0x05, 0x4E, 0x05, 0x4F, 0x05,
|
||||
0x50, 0x05, 0x51, 0x05, 0x52, 0x05, 0x53, 0x05,
|
||||
0x54, 0x05, 0x55, 0x05, 0x56, 0x05, 0xFF, 0xFF,
|
||||
0xF6, 0x17, 0x63, 0x2C, 0x7E, 0x1D, 0x7F, 0x1D,
|
||||
0x80, 0x1D, 0x81, 0x1D, 0x82, 0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 0xF9, 0x1F, 0xFA, 0x1F, 0xFB, 0x1F,
|
||||
0xF3, 0x1F, 0xFD, 0x1F, 0xFE, 0x1F, 0xFF, 0x1F,
|
||||
0x00, 0x20, 0x01, 0x20, 0x02, 0x20, 0x03, 0x20,
|
||||
0x04, 0x20, 0x05, 0x20, 0x06, 0x20, 0x07, 0x20,
|
||||
0x08, 0x20, 0x09, 0x20, 0x0A, 0x20, 0x0B, 0x20,
|
||||
0x0C, 0x20, 0x0D, 0x20, 0x0E, 0x20, 0x0F, 0x20,
|
||||
0x10, 0x20, 0x11, 0x20, 0x12, 0x20, 0x13, 0x20,
|
||||
0x14, 0x20, 0x15, 0x20, 0x16, 0x20, 0x17, 0x20,
|
||||
0x18, 0x20, 0x19, 0x20, 0x1A, 0x20, 0x1B, 0x20,
|
||||
0x1C, 0x20, 0x1D, 0x20, 0x1E, 0x20, 0x1F, 0x20,
|
||||
0x20, 0x20, 0x21, 0x20, 0x22, 0x20, 0x23, 0x20,
|
||||
0x24, 0x20, 0x25, 0x20, 0x26, 0x20, 0x27, 0x20,
|
||||
0x28, 0x20, 0x29, 0x20, 0x2A, 0x20, 0x2B, 0x20,
|
||||
0x2C, 0x20, 0x2D, 0x20, 0x2E, 0x20, 0x2F, 0x20,
|
||||
0x30, 0x20, 0x31, 0x20, 0x32, 0x20, 0x33, 0x20,
|
||||
0x34, 0x20, 0x35, 0x20, 0x36, 0x20, 0x37, 0x20,
|
||||
0x38, 0x20, 0x39, 0x20, 0x3A, 0x20, 0x3B, 0x20,
|
||||
0x3C, 0x20, 0x3D, 0x20, 0x3E, 0x20, 0x3F, 0x20,
|
||||
0x40, 0x20, 0x41, 0x20, 0x42, 0x20, 0x43, 0x20,
|
||||
0x44, 0x20, 0x45, 0x20, 0x46, 0x20, 0x47, 0x20,
|
||||
0x48, 0x20, 0x49, 0x20, 0x4A, 0x20, 0x4B, 0x20,
|
||||
0x4C, 0x20, 0x4D, 0x20, 0x4E, 0x20, 0x4F, 0x20,
|
||||
0x50, 0x20, 0x51, 0x20, 0x52, 0x20, 0x53, 0x20,
|
||||
0x54, 0x20, 0x55, 0x20, 0x56, 0x20, 0x57, 0x20,
|
||||
0x58, 0x20, 0x59, 0x20, 0x5A, 0x20, 0x5B, 0x20,
|
||||
0x5C, 0x20, 0x5D, 0x20, 0x5E, 0x20, 0x5F, 0x20,
|
||||
0x60, 0x20, 0x61, 0x20, 0x62, 0x20, 0x63, 0x20,
|
||||
0x64, 0x20, 0x65, 0x20, 0x66, 0x20, 0x67, 0x20,
|
||||
0x68, 0x20, 0x69, 0x20, 0x6A, 0x20, 0x6B, 0x20,
|
||||
0x6C, 0x20, 0x6D, 0x20, 0x6E, 0x20, 0x6F, 0x20,
|
||||
0x70, 0x20, 0x71, 0x20, 0x72, 0x20, 0x73, 0x20,
|
||||
0x74, 0x20, 0x75, 0x20, 0x76, 0x20, 0x77, 0x20,
|
||||
0x78, 0x20, 0x79, 0x20, 0x7A, 0x20, 0x7B, 0x20,
|
||||
0x7C, 0x20, 0x7D, 0x20, 0x7E, 0x20, 0x7F, 0x20,
|
||||
0x80, 0x20, 0x81, 0x20, 0x82, 0x20, 0x83, 0x20,
|
||||
0x84, 0x20, 0x85, 0x20, 0x86, 0x20, 0x87, 0x20,
|
||||
0x88, 0x20, 0x89, 0x20, 0x8A, 0x20, 0x8B, 0x20,
|
||||
0x8C, 0x20, 0x8D, 0x20, 0x8E, 0x20, 0x8F, 0x20,
|
||||
0x90, 0x20, 0x91, 0x20, 0x92, 0x20, 0x93, 0x20,
|
||||
0x94, 0x20, 0x95, 0x20, 0x96, 0x20, 0x97, 0x20,
|
||||
0x98, 0x20, 0x99, 0x20, 0x9A, 0x20, 0x9B, 0x20,
|
||||
0x9C, 0x20, 0x9D, 0x20, 0x9E, 0x20, 0x9F, 0x20,
|
||||
0xA0, 0x20, 0xA1, 0x20, 0xA2, 0x20, 0xA3, 0x20,
|
||||
0xA4, 0x20, 0xA5, 0x20, 0xA6, 0x20, 0xA7, 0x20,
|
||||
0xA8, 0x20, 0xA9, 0x20, 0xAA, 0x20, 0xAB, 0x20,
|
||||
0xAC, 0x20, 0xAD, 0x20, 0xAE, 0x20, 0xAF, 0x20,
|
||||
0xB0, 0x20, 0xB1, 0x20, 0xB2, 0x20, 0xB3, 0x20,
|
||||
0xB4, 0x20, 0xB5, 0x20, 0xB6, 0x20, 0xB7, 0x20,
|
||||
0xB8, 0x20, 0xB9, 0x20, 0xBA, 0x20, 0xBB, 0x20,
|
||||
0xBC, 0x20, 0xBD, 0x20, 0xBE, 0x20, 0xBF, 0x20,
|
||||
0xC0, 0x20, 0xC1, 0x20, 0xC2, 0x20, 0xC3, 0x20,
|
||||
0xC4, 0x20, 0xC5, 0x20, 0xC6, 0x20, 0xC7, 0x20,
|
||||
0xC8, 0x20, 0xC9, 0x20, 0xCA, 0x20, 0xCB, 0x20,
|
||||
0xCC, 0x20, 0xCD, 0x20, 0xCE, 0x20, 0xCF, 0x20,
|
||||
0xD0, 0x20, 0xD1, 0x20, 0xD2, 0x20, 0xD3, 0x20,
|
||||
0xD4, 0x20, 0xD5, 0x20, 0xD6, 0x20, 0xD7, 0x20,
|
||||
0xD8, 0x20, 0xD9, 0x20, 0xDA, 0x20, 0xDB, 0x20,
|
||||
0xDC, 0x20, 0xDD, 0x20, 0xDE, 0x20, 0xDF, 0x20,
|
||||
0xE0, 0x20, 0xE1, 0x20, 0xE2, 0x20, 0xE3, 0x20,
|
||||
0xE4, 0x20, 0xE5, 0x20, 0xE6, 0x20, 0xE7, 0x20,
|
||||
0xE8, 0x20, 0xE9, 0x20, 0xEA, 0x20, 0xEB, 0x20,
|
||||
0xEC, 0x20, 0xED, 0x20, 0xEE, 0x20, 0xEF, 0x20,
|
||||
0xF0, 0x20, 0xF1, 0x20, 0xF2, 0x20, 0xF3, 0x20,
|
||||
0xF4, 0x20, 0xF5, 0x20, 0xF6, 0x20, 0xF7, 0x20,
|
||||
0xF8, 0x20, 0xF9, 0x20, 0xFA, 0x20, 0xFB, 0x20,
|
||||
0xFC, 0x20, 0xFD, 0x20, 0xFE, 0x20, 0xFF, 0x20,
|
||||
0x00, 0x21, 0x01, 0x21, 0x02, 0x21, 0x03, 0x21,
|
||||
0x04, 0x21, 0x05, 0x21, 0x06, 0x21, 0x07, 0x21,
|
||||
0x08, 0x21, 0x09, 0x21, 0x0A, 0x21, 0x0B, 0x21,
|
||||
0x0C, 0x21, 0x0D, 0x21, 0x0E, 0x21, 0x0F, 0x21,
|
||||
0x10, 0x21, 0x11, 0x21, 0x12, 0x21, 0x13, 0x21,
|
||||
0x14, 0x21, 0x15, 0x21, 0x16, 0x21, 0x17, 0x21,
|
||||
0x18, 0x21, 0x19, 0x21, 0x1A, 0x21, 0x1B, 0x21,
|
||||
0x1C, 0x21, 0x1D, 0x21, 0x1E, 0x21, 0x1F, 0x21,
|
||||
0x20, 0x21, 0x21, 0x21, 0x22, 0x21, 0x23, 0x21,
|
||||
0x24, 0x21, 0x25, 0x21, 0x26, 0x21, 0x27, 0x21,
|
||||
0x28, 0x21, 0x29, 0x21, 0x2A, 0x21, 0x2B, 0x21,
|
||||
0x2C, 0x21, 0x2D, 0x21, 0x2E, 0x21, 0x2F, 0x21,
|
||||
0x30, 0x21, 0x31, 0x21, 0x32, 0x21, 0x33, 0x21,
|
||||
0x34, 0x21, 0x35, 0x21, 0x36, 0x21, 0x37, 0x21,
|
||||
0x38, 0x21, 0x39, 0x21, 0x3A, 0x21, 0x3B, 0x21,
|
||||
0x3C, 0x21, 0x3D, 0x21, 0x3E, 0x21, 0x3F, 0x21,
|
||||
0x40, 0x21, 0x41, 0x21, 0x42, 0x21, 0x43, 0x21,
|
||||
0x44, 0x21, 0x45, 0x21, 0x46, 0x21, 0x47, 0x21,
|
||||
0x48, 0x21, 0x49, 0x21, 0x4A, 0x21, 0x4B, 0x21,
|
||||
0x4C, 0x21, 0x4D, 0x21, 0x32, 0x21, 0x4F, 0x21,
|
||||
0x50, 0x21, 0x51, 0x21, 0x52, 0x21, 0x53, 0x21,
|
||||
0x54, 0x21, 0x55, 0x21, 0x56, 0x21, 0x57, 0x21,
|
||||
0x58, 0x21, 0x59, 0x21, 0x5A, 0x21, 0x5B, 0x21,
|
||||
0x5C, 0x21, 0x5D, 0x21, 0x5E, 0x21, 0x5F, 0x21,
|
||||
0x60, 0x21, 0x61, 0x21, 0x62, 0x21, 0x63, 0x21,
|
||||
0x64, 0x21, 0x65, 0x21, 0x66, 0x21, 0x67, 0x21,
|
||||
0x68, 0x21, 0x69, 0x21, 0x6A, 0x21, 0x6B, 0x21,
|
||||
0x6C, 0x21, 0x6D, 0x21, 0x6E, 0x21, 0x6F, 0x21,
|
||||
0x60, 0x21, 0x61, 0x21, 0x62, 0x21, 0x63, 0x21,
|
||||
0x64, 0x21, 0x65, 0x21, 0x66, 0x21, 0x67, 0x21,
|
||||
0x68, 0x21, 0x69, 0x21, 0x6A, 0x21, 0x6B, 0x21,
|
||||
0x6C, 0x21, 0x6D, 0x21, 0x6E, 0x21, 0x6F, 0x21,
|
||||
0x80, 0x21, 0x81, 0x21, 0x82, 0x21, 0x83, 0x21,
|
||||
0x83, 0x21, 0xFF, 0xFF, 0x4B, 0x03, 0xB6, 0x24,
|
||||
0xB7, 0x24, 0xB8, 0x24, 0xB9, 0x24, 0xBA, 0x24,
|
||||
0xBB, 0x24, 0xBC, 0x24, 0xBD, 0x24, 0xBE, 0x24,
|
||||
0xBF, 0x24, 0xC0, 0x24, 0xC1, 0x24, 0xC2, 0x24,
|
||||
0xC3, 0x24, 0xC4, 0x24, 0xC5, 0x24, 0xC6, 0x24,
|
||||
0xC7, 0x24, 0xC8, 0x24, 0xC9, 0x24, 0xCA, 0x24,
|
||||
0xCB, 0x24, 0xCC, 0x24, 0xCD, 0x24, 0xCE, 0x24,
|
||||
0xCF, 0x24, 0xFF, 0xFF, 0x46, 0x07, 0x00, 0x2C,
|
||||
0x01, 0x2C, 0x02, 0x2C, 0x03, 0x2C, 0x04, 0x2C,
|
||||
0x05, 0x2C, 0x06, 0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