/linux-5.19.10/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() 434 const u16 *upcase = sbi->upcase; in mi_insert_attr() local 447 diff = compare_attr(attr, type, name, name_len, upcase); in mi_insert_attr()
|
D | Makefile | 29 upcase.o \
|
D | attrlist.c | 197 name_len, ni->mi.sbi->upcase, in al_find_ex() 249 name_len, ni->mi.sbi->upcase, in al_find_le_to_insert() 396 ni->mi.sbi->upcase, true)) in al_delete_le()
|
D | super.c | 443 kvfree(ntfs_put_shared(sbi->upcase)); in put_ntfs() 1202 u16 *dst = Add2Ptr(sbi->upcase, idx << PAGE_SHIFT); in ntfs_fill_super() 1221 shared = ntfs_set_shared(sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super() 1222 if (shared && sbi->upcase != shared) { in ntfs_fill_super() 1223 kvfree(sbi->upcase); in ntfs_fill_super() 1224 sbi->upcase = shared; in ntfs_fill_super() 1407 sbi->upcase = kvmalloc(0x10000 * sizeof(short), GFP_KERNEL); in ntfs_init_fs_context() 1408 if (!sbi->upcase) in ntfs_init_fs_context()
|
D | ntfs_fs.h | 240 u16 *upcase; member 837 const u16 *upcase, bool bothcase); 839 const u16 *upcase, bool bothcase);
|
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-5.19.10/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 | 1669 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase() 1670 if (!vol->upcase) in load_and_init_upcase() 1681 memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT), in load_and_init_upcase() 1705 if (vol->upcase[i] != default_upcase[i]) in load_and_init_upcase() 1708 ntfs_free(vol->upcase); in load_and_init_upcase() 1709 vol->upcase = default_upcase; in load_and_init_upcase() 1723 ntfs_free(vol->upcase); in load_and_init_upcase() 1724 vol->upcase = NULL; in load_and_init_upcase() 1728 vol->upcase = default_upcase; in load_and_init_upcase() 2221 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 620 a->name_length, ic, upcase, upcase_len)) { in ntfs_attr_find() 627 upcase, upcase_len); in ntfs_attr_find() 641 upcase, upcase_len); in ntfs_attr_find() 919 name_len, ic, vol->upcase, vol->upcase_len)) { in ntfs_external_attr_find() 924 vol->upcase, vol->upcase_len); in ntfs_external_attr_find() 944 vol->upcase, vol->upcase_len); in ntfs_external_attr_find() 969 vol->upcase, vol->upcase_len)) in ntfs_external_attr_find() 1054 vol->upcase, vol->upcase_len)) in ntfs_external_attr_find()
|
D | volume.h | 62 ntfschar *upcase; /* The upcase table. */ member
|
/linux-5.19.10/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-5.19.10/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 | 157 } __packed upcase; /* up-case table directory entry */ member
|
/linux-5.19.10/Documentation/filesystems/ |
D | ntfs.rst | 160 system file containing the Unicode upcase table.
|