Home
last modified time | relevance | path

Searched refs:upcase (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ntfs3/
H A Dupcase.c13 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 …]
H A Drecord.c16 const u16 *upcase) in compare_attr() argument
26 upcase, true); in compare_attr()
513 const u16 *upcase = sbi->upcase; in mi_insert_attr() local
525 int diff = compare_attr(attr, type, name, name_len, upcase); in mi_insert_attr()
H A Dsuper.c712 kvfree(ntfs_put_shared(sbi->upcase)); in ntfs3_free_sbi()
1658 err = inode_read_data(inode, sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super()
1666 u16 *dst = sbi->upcase; in ntfs_fill_super()
1673 shared = ntfs_set_shared(sbi->upcase, 0x10000 * sizeof(short)); in ntfs_fill_super()
1674 if (shared && sbi->upcase != shared) { in ntfs_fill_super()
1675 kvfree(sbi->upcase); in ntfs_fill_super()
1676 sbi->upcase = shared; in ntfs_fill_super()
1910 sbi->upcase = kvmalloc(0x10000 * sizeof(short), GFP_KERNEL); in ntfs_init_fs_context()
1911 if (!sbi->upcase) in ntfs_init_fs_context()
H A Dattrlist.c226 name_len, ni->mi.sbi->upcase, in al_find_ex()
279 name_len, ni->mi.sbi->upcase, in al_find_le_to_insert()
H A Dnamei.c449 hash = ntfs_names_hash(uni->name, uni->len, sbi->upcase, in ntfs_d_hash()
521 ret = !ntfs_cmp_names_cpu(uni1, uni2, sbi->upcase, false) ? 0 : 1; in ntfs_d_compare()
H A Dfsntfs.c2621 const u16 *upcase = sbi->upcase; in is_reserved_name() local
2626 if (!ntfs_cmp_names(name, 3, CON_NAME, 3, upcase, false) || in is_reserved_name()
2627 !ntfs_cmp_names(name, 3, NUL_NAME, 3, upcase, false) || in is_reserved_name()
2628 !ntfs_cmp_names(name, 3, AUX_NAME, 3, upcase, false) || in is_reserved_name()
2629 !ntfs_cmp_names(name, 3, PRN_NAME, 3, upcase, false)) in is_reserved_name()
2637 if (!ntfs_cmp_names(name, 3, COM_NAME, 3, upcase, in is_reserved_name()
2639 !ntfs_cmp_names(name, 3, LPT_NAME, 3, upcase, in is_reserved_name()
H A Dntfs_fs.h254 u16 *upcase; member
958 const u16 *upcase, bool bothcase);
960 const u16 *upcase, bool bothcase);
961 unsigned long ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase,
H A Dindex.c58 return ntfs_cmp_names_cpu(key1, s2, sbi->upcase, both_case); in cmp_fnames()
63 sbi->upcase, both_case); in cmp_fnames()
/linux/fs/hpfs/
H A Dname.c23 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()