/linux-6.6.21/fs/ntfs3/ |
D | upcase.c | 13 static inline u16 upcase_unicode_char(const u16 *upcase, u16 chr) in upcase_unicode_char() argument 21 return upcase[chr]; in upcase_unicode_char() 37 const u16 *upcase, bool bothcase) in ntfs_cmp_names() argument 43 if (!bothcase && upcase) in ntfs_cmp_names() 49 if (bothcase && upcase) in ntfs_cmp_names() 59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names() 60 upcase_unicode_char(upcase, le16_to_cpu(*s2)); in ntfs_cmp_names() 70 const u16 *upcase, bool bothcase) in ntfs_cmp_names_cpu() argument 80 if (!bothcase && upcase) in ntfs_cmp_names_cpu() 86 if (bothcase && upcase) in ntfs_cmp_names_cpu() [all …]
|
D | record.c | 16 const u16 *upcase) in compare_attr() argument 26 upcase, true); in compare_attr() 471 const u16 *upcase = sbi->upcase; in mi_insert_attr() local 483 int diff = compare_attr(attr, type, name, name_len, upcase); in mi_insert_attr()
|
D | Makefile | 29 upcase.o \
|
D | attrlist.c | 213 name_len, ni->mi.sbi->upcase, in al_find_ex() 265 name_len, ni->mi.sbi->upcase, in al_find_le_to_insert() 411 ni->mi.sbi->upcase, true)) in al_delete_le()
|
D | super.c | 627 kvfree(ntfs_put_shared(sbi->upcase)); in ntfs3_free_sbi() 1494 u16 *dst = Add2Ptr(sbi->upcase, idx << PAGE_SHIFT); in ntfs_fill_super() 1514 shared = ntfs_set_shared(sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super() 1515 if (shared && sbi->upcase != shared) { in ntfs_fill_super() 1516 kvfree(sbi->upcase); in ntfs_fill_super() 1517 sbi->upcase = shared; in ntfs_fill_super() 1755 sbi->upcase = kvmalloc(0x10000 * sizeof(short), GFP_KERNEL); in ntfs_init_fs_context() 1756 if (!sbi->upcase) in ntfs_init_fs_context()
|
D | fsntfs.c | 2611 const u16 *upcase = sbi->upcase; in is_reserved_name() local 2616 if (!ntfs_cmp_names(name, 3, CON_NAME, 3, upcase, false) || in is_reserved_name() 2617 !ntfs_cmp_names(name, 3, NUL_NAME, 3, upcase, false) || in is_reserved_name() 2618 !ntfs_cmp_names(name, 3, AUX_NAME, 3, upcase, false) || in is_reserved_name() 2619 !ntfs_cmp_names(name, 3, PRN_NAME, 3, upcase, false)) in is_reserved_name() 2627 if (!ntfs_cmp_names(name, 3, COM_NAME, 3, upcase, in is_reserved_name() 2629 !ntfs_cmp_names(name, 3, LPT_NAME, 3, upcase, in is_reserved_name()
|
D | namei.c | 520 hash = ntfs_names_hash(uni->name, uni->len, sbi->upcase, in ntfs_d_hash() 592 ret = !ntfs_cmp_names_cpu(uni1, uni2, sbi->upcase, false) ? 0 : 1; in ntfs_d_compare()
|
D | ntfs_fs.h | 251 u16 *upcase; member 857 const u16 *upcase, bool bothcase); 859 const u16 *upcase, bool bothcase); 860 unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
|
D | index.c | 58 return ntfs_cmp_names_cpu(key1, s2, sbi->upcase, both_case); in cmp_fnames() 63 sbi->upcase, both_case); in cmp_fnames()
|
/linux-6.6.21/fs/ntfs/ |
D | unistr.c | 56 const ntfschar *upcase, const u32 upcase_size) in ntfs_are_names_equal() argument 62 return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); in ntfs_are_names_equal() 86 const ntfschar *upcase, const u32 upcase_len) in ntfs_collate_names() argument 99 c1 = le16_to_cpu(upcase[c1]); in ntfs_collate_names() 101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 172 const ntfschar *upcase, const u32 upcase_size) in ntfs_ucsncasecmp() argument 179 c1 = le16_to_cpu(upcase[c1]); in ntfs_ucsncasecmp() 181 c2 = le16_to_cpu(upcase[c2]); in ntfs_ucsncasecmp() 192 void ntfs_upcase_name(ntfschar *name, u32 name_len, const ntfschar *upcase, in ntfs_upcase_name() argument 200 name[i] = upcase[u]; in ntfs_upcase_name() [all …]
|
D | ntfs.h | 97 const ntfschar *upcase, const u32 upcase_size); 101 const ntfschar *upcase, const u32 upcase_len); 104 const ntfschar *upcase, const u32 upcase_size); 106 const ntfschar *upcase, const u32 upcase_len); 108 const ntfschar *upcase, const u32 upcase_len); 112 const ntfschar *upcase, const u32 upcase_len);
|
D | dir.c | 146 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 196 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 237 IGNORE_CASE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 256 CASE_SENSITIVE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 406 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 456 IGNORE_CASE, vol->upcase, vol->upcase_len)) { in ntfs_lookup_inode_by_name() 499 IGNORE_CASE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 518 CASE_SENSITIVE, vol->upcase, vol->upcase_len); in ntfs_lookup_inode_by_name() 708 vol->upcase, vol->upcase_len)) { 722 IGNORE_CASE, vol->upcase, vol->upcase_len); [all …]
|
D | super.c | 1677 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase() 1678 if (!vol->upcase) in load_and_init_upcase() 1689 memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT), in load_and_init_upcase() 1713 if (vol->upcase[i] != default_upcase[i]) in load_and_init_upcase() 1716 ntfs_free(vol->upcase); in load_and_init_upcase() 1717 vol->upcase = default_upcase; in load_and_init_upcase() 1731 ntfs_free(vol->upcase); in load_and_init_upcase() 1732 vol->upcase = NULL; in load_and_init_upcase() 1736 vol->upcase = default_upcase; in load_and_init_upcase() 2230 if (vol->upcase == default_upcase) { in load_system_files() [all …]
|
D | Makefile | 8 unistr.o upcase.o
|
D | attrib.c | 581 ntfschar *upcase = vol->upcase; in ntfs_attr_find() local 640 a->name_length, ic, upcase, upcase_len)) { in ntfs_attr_find() 647 upcase, upcase_len); in ntfs_attr_find() 661 upcase, upcase_len); in ntfs_attr_find() 939 name_len, ic, vol->upcase, vol->upcase_len)) { in ntfs_external_attr_find() 944 vol->upcase, vol->upcase_len); in ntfs_external_attr_find() 964 vol->upcase, vol->upcase_len); in ntfs_external_attr_find() 989 vol->upcase, vol->upcase_len)) in ntfs_external_attr_find() 1074 vol->upcase, vol->upcase_len)) in ntfs_external_attr_find()
|
D | volume.h | 62 ntfschar *upcase; /* The upcase table. */ member
|
/linux-6.6.21/fs/hpfs/ |
D | name.c | 23 static inline unsigned char upcase(unsigned char *dir, unsigned char a) in upcase() function 32 return upcase(dir, a); in hpfs_upcase() 83 unsigned char c1 = upcase(hpfs_sb(s)->sb_cp_table,n1[i]); in hpfs_compare_names() 84 unsigned char c2 = upcase(hpfs_sb(s)->sb_cp_table,n2[i]); in hpfs_compare_names()
|
/linux-6.6.21/fs/exfat/ |
D | nls.c | 779 tbl_clu = le32_to_cpu(ep->dentry.upcase.start_clu); in exfat_create_upcase_table() 780 tbl_size = le64_to_cpu(ep->dentry.upcase.size); in exfat_create_upcase_table() 785 le32_to_cpu(ep->dentry.upcase.checksum)); in exfat_create_upcase_table()
|
D | exfat_raw.h | 160 } __packed upcase; /* up-case table directory entry */ member
|
/linux-6.6.21/Documentation/filesystems/ |
D | ntfs.rst | 160 system file containing the Unicode upcase table.
|