/linux-6.12.1/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() 470 const u16 *upcase = sbi->upcase; in mi_insert_attr() local 482 int diff = compare_attr(attr, type, name, name_len, upcase); in mi_insert_attr()
|
D | Makefile | 29 upcase.o \
|
D | super.c | 633 kvfree(ntfs_put_shared(sbi->upcase)); in ntfs3_free_sbi() 1491 err = inode_read_data(inode, sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super() 1499 u16 *dst = sbi->upcase; in ntfs_fill_super() 1506 shared = ntfs_set_shared(sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super() 1507 if (shared && sbi->upcase != shared) { in ntfs_fill_super() 1508 kvfree(sbi->upcase); in ntfs_fill_super() 1509 sbi->upcase = shared; in ntfs_fill_super() 1749 sbi->upcase = kvmalloc(0x10000 * sizeof(short), GFP_KERNEL); in __ntfs_init_fs_context() 1750 if (!sbi->upcase) in __ntfs_init_fs_context()
|
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()
|
D | namei.c | 414 hash = ntfs_names_hash(uni->name, uni->len, sbi->upcase, in ntfs_d_hash() 486 ret = !ntfs_cmp_names_cpu(uni1, uni2, sbi->upcase, false) ? 0 : 1; in ntfs_d_compare()
|
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 | ntfs_fs.h | 251 u16 *upcase; member 863 const u16 *upcase, bool bothcase); 865 const u16 *upcase, bool bothcase); 866 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.12.1/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.12.1/fs/exfat/ |
D | nls.c | 773 tbl_clu = le32_to_cpu(ep->dentry.upcase.start_clu); in exfat_create_upcase_table() 774 tbl_size = le64_to_cpu(ep->dentry.upcase.size); in exfat_create_upcase_table() 779 le32_to_cpu(ep->dentry.upcase.checksum)); in exfat_create_upcase_table()
|
D | exfat_raw.h | 161 } __packed upcase; /* up-case table directory entry */ member
|