Loading fs/exfat/exfat_fs.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -492,8 +492,6 @@ int exfat_nls_to_utf16(struct super_block *sb, struct exfat_uni_name *uniname, int *p_lossy); struct exfat_uni_name *uniname, int *p_lossy); int exfat_create_upcase_table(struct super_block *sb); int exfat_create_upcase_table(struct super_block *sb); void exfat_free_upcase_table(struct exfat_sb_info *sbi); void exfat_free_upcase_table(struct exfat_sb_info *sbi); unsigned short exfat_high_surrogate(unicode_t u); unsigned short exfat_low_surrogate(unicode_t u); /* exfat/misc.c */ /* exfat/misc.c */ void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) Loading fs/exfat/nls.c +0 −13 Original line number Original line Diff line number Diff line Loading @@ -535,22 +535,9 @@ static int exfat_utf8_to_utf16(struct super_block *sb, return unilen; return unilen; } } #define PLANE_SIZE 0x00010000 #define SURROGATE_MASK 0xfffff800 #define SURROGATE_MASK 0xfffff800 #define SURROGATE_PAIR 0x0000d800 #define SURROGATE_PAIR 0x0000d800 #define SURROGATE_LOW 0x00000400 #define SURROGATE_LOW 0x00000400 #define SURROGATE_BITS 0x000003ff unsigned short exfat_high_surrogate(unicode_t u) { return ((u - PLANE_SIZE) >> 10) + SURROGATE_PAIR; } unsigned short exfat_low_surrogate(unicode_t u) { return ((u - PLANE_SIZE) & SURROGATE_BITS) | SURROGATE_PAIR | SURROGATE_LOW; } static int __exfat_utf16_to_nls(struct super_block *sb, static int __exfat_utf16_to_nls(struct super_block *sb, struct exfat_uni_name *p_uniname, unsigned char *p_cstring, struct exfat_uni_name *p_uniname, unsigned char *p_cstring, Loading Loading
fs/exfat/exfat_fs.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -492,8 +492,6 @@ int exfat_nls_to_utf16(struct super_block *sb, struct exfat_uni_name *uniname, int *p_lossy); struct exfat_uni_name *uniname, int *p_lossy); int exfat_create_upcase_table(struct super_block *sb); int exfat_create_upcase_table(struct super_block *sb); void exfat_free_upcase_table(struct exfat_sb_info *sbi); void exfat_free_upcase_table(struct exfat_sb_info *sbi); unsigned short exfat_high_surrogate(unicode_t u); unsigned short exfat_low_surrogate(unicode_t u); /* exfat/misc.c */ /* exfat/misc.c */ void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) Loading
fs/exfat/nls.c +0 −13 Original line number Original line Diff line number Diff line Loading @@ -535,22 +535,9 @@ static int exfat_utf8_to_utf16(struct super_block *sb, return unilen; return unilen; } } #define PLANE_SIZE 0x00010000 #define SURROGATE_MASK 0xfffff800 #define SURROGATE_MASK 0xfffff800 #define SURROGATE_PAIR 0x0000d800 #define SURROGATE_PAIR 0x0000d800 #define SURROGATE_LOW 0x00000400 #define SURROGATE_LOW 0x00000400 #define SURROGATE_BITS 0x000003ff unsigned short exfat_high_surrogate(unicode_t u) { return ((u - PLANE_SIZE) >> 10) + SURROGATE_PAIR; } unsigned short exfat_low_surrogate(unicode_t u) { return ((u - PLANE_SIZE) & SURROGATE_BITS) | SURROGATE_PAIR | SURROGATE_LOW; } static int __exfat_utf16_to_nls(struct super_block *sb, static int __exfat_utf16_to_nls(struct super_block *sb, struct exfat_uni_name *p_uniname, unsigned char *p_cstring, struct exfat_uni_name *p_uniname, unsigned char *p_cstring, Loading