Home
last modified time | relevance | path

Searched refs:ntfschar (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/fs/ntfs/
Dntfs.h94 extern bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len,
95 const ntfschar *s2, size_t s2_len,
97 const ntfschar *upcase, const u32 upcase_size);
98 extern int ntfs_collate_names(const ntfschar *name1, const u32 name1_len,
99 const ntfschar *name2, const u32 name2_len,
101 const ntfschar *upcase, const u32 upcase_len);
102 extern int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n);
103 extern int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n,
104 const ntfschar *upcase, const u32 upcase_size);
105 extern void ntfs_upcase_name(ntfschar *name, u32 name_len,
[all …]
Dunistr.c54 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, in ntfs_are_names_equal()
55 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, in ntfs_are_names_equal()
56 const ntfschar *upcase, const u32 upcase_size) in ntfs_are_names_equal()
83 int ntfs_collate_names(const ntfschar *name1, const u32 name1_len, in ntfs_collate_names()
84 const ntfschar *name2, const u32 name2_len, in ntfs_collate_names()
86 const ntfschar *upcase, const u32 upcase_len) in ntfs_collate_names()
135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp()
171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp()
172 const ntfschar *upcase, const u32 upcase_size) in ntfs_ucsncasecmp()
192 void ntfs_upcase_name(ntfschar *name, u32 name_len, const ntfschar *upcase, in ntfs_upcase_name()
[all …]
Dupcase.c13 ntfschar *generate_default_upcase(void) in generate_default_upcase()
55 ntfschar *uc; in generate_default_upcase()
57 uc = ntfs_malloc_nofs(default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()
60 memset(uc, 0, default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()
Ddir.h25 ntfschar name[0];
29 extern ntfschar I30[5];
32 const ntfschar *uname, const int uname_len, ntfs_name **res);
Ddir.c23 ntfschar I30[5] = { cpu_to_le16('$'), cpu_to_le16('I'),
67 MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname, in ntfs_lookup_inode_by_name()
144 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
194 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
214 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name()
225 len * sizeof(ntfschar)); in ntfs_lookup_inode_by_name()
235 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
254 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
404 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
454 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
[all …]
Dinode.h53 ntfschar *name; /* Attribute name of this fake inode. */
251 ntfschar *name;
260 ntfschar *name, u32 name_len);
261 extern struct inode *ntfs_index_iget(struct inode *base_vi, ntfschar *name,
Dnamei.c94 ntfschar *uname; in ntfs_lookup()
174 (ntfschar*)&name->name, name->len, in ntfs_lookup()
221 if ((u32)(fn->file_name_length * sizeof(ntfschar) + in ntfs_lookup()
228 (ntfschar*)&fn->file_name, fn->file_name_length, in ntfs_lookup()
Dattrib.c575 static int ntfs_attr_find(const ATTR_TYPE type, const ntfschar *name, in ntfs_attr_find()
581 ntfschar *upcase = vol->upcase; in ntfs_attr_find()
610 a->name_length * sizeof(ntfschar); in ntfs_attr_find()
639 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in ntfs_attr_find()
644 (ntfschar*)((u8*)a + in ntfs_attr_find()
658 (ntfschar*)((u8*)a + in ntfs_attr_find()
868 const ntfschar *name, const u32 name_len, in ntfs_external_attr_find()
877 ntfschar *al_name; in ntfs_external_attr_find()
934 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset); in ntfs_external_attr_find()
984 ntfs_are_names_equal((ntfschar*)((u8*) in ntfs_external_attr_find()
[all …]
Dtypes.h22 typedef le16 ntfschar; typedef
Dlogfile.h279 /* 32*/ ntfschar client_name[64];/* Name of the client in Unicode. Should
Dusnjrnl.h181 /*0x3c*/ntfschar file_name[0]; /* Use when creating only. When reading use
Dsuper.c39 static ntfschar *default_upcase;
1260 static const ntfschar hiberfil[13] = { cpu_to_le16('h'), in check_windows_hibernation_status()
1354 static const ntfschar Quota[7] = { cpu_to_le16('$'), in load_and_init_quota()
1358 static ntfschar Q[3] = { cpu_to_le16('$'), in load_and_init_quota()
1433 static const ntfschar UsnJrnl[9] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1438 static ntfschar Max[5] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1441 static ntfschar J[3] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1666 if (!i_size || i_size & (sizeof(ntfschar) - 1) || in load_and_init_upcase()
1667 i_size > 64ULL * 1024 * sizeof(ntfschar)) in load_and_init_upcase()
1669 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase()
[all …]
Dattrib.h59 int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name,
Dvolume.h62 ntfschar *upcase; /* The upcase table. */
Dlayout.h576 /* 0*/ ntfschar name[0x40]; /* Unicode name of the attribute. Zero
984 /* 26*/ ntfschar name[0]; /* Use when creating only. When reading use
1086 /* 42*/ ntfschar file_name[0]; /* File name in Unicode. */
1881 ntfschar name[0]; /* The name of the volume in Unicode. */
Dinode.c66 na->name_len * sizeof(ntfschar))) in ntfs_test_inode()
126 i = na->name_len * sizeof(ntfschar); in ntfs_init_locked_inode()
127 ni->name = kmalloc(i + sizeof(ntfschar), GFP_ATOMIC); in ntfs_init_locked_inode()
215 ntfschar *name, u32 name_len) in ntfs_attr_iget()
272 struct inode *ntfs_index_iget(struct inode *base_vi, ntfschar *name, in ntfs_index_iget()