Lines Matching refs:uni
21 const struct cpu_str *uni) in fill_name_de() argument
31 if (uni) { in fill_name_de()
33 int ulen = uni->len; in fill_name_de()
35 const u16 *name_cpu = uni->name; in fill_name_de()
40 memcpy(fname->name, uni->name, uni->len * sizeof(u16)); in fill_name_de()
42 fname->name_len = uni->len; in fill_name_de()
71 struct cpu_str *uni = __getname(); in ntfs_lookup() local
75 if (!uni) in ntfs_lookup()
79 dentry->d_name.len, uni, NTFS_NAME_LEN, in ntfs_lookup()
85 inode = dir_search_u(dir, uni, NULL); in ntfs_lookup()
88 __putname(uni); in ntfs_lookup()
355 struct cpu_str *uni = __getname(); in ntfs_atomic_open() local
358 if (!uni) in ntfs_atomic_open()
362 dentry->d_name.len, uni, NTFS_NAME_LEN, in ntfs_atomic_open()
393 d = d_splice_alias(dir_search_u(dir, uni, fnd), dentry); in ntfs_atomic_open()
424 inode = ntfs_create_inode(&nop_mnt_idmap, dir, dentry, uni, mode, 0, in ntfs_atomic_open()
436 __putname(uni); in ntfs_atomic_open()
471 struct cpu_str *uni; in ntfs_d_hash() local
494 uni = __getname(); in ntfs_d_hash()
495 if (!uni) in ntfs_d_hash()
500 err = ntfs_nls_to_utf16(sbi, name->name, name->len, uni, NTFS_NAME_LEN, in ntfs_d_hash()
510 hash = ntfs_names_hash(uni->name, uni->len, sbi->upcase, in ntfs_d_hash()
516 __putname(uni); in ntfs_d_hash()