Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ntfs/
Dntfs.h108 extern bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len,
109 const ntfschar *s2, size_t s2_len,
111 const ntfschar *upcase, const u32 upcase_size);
112 extern int ntfs_collate_names(const ntfschar *name1, const u32 name1_len,
113 const ntfschar *name2, const u32 name2_len,
115 const ntfschar *upcase, const u32 upcase_len);
116 extern int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n);
117 extern int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n,
118 const ntfschar *upcase, const u32 upcase_size);
119 extern void ntfs_upcase_name(ntfschar *name, u32 name_len,
[all …]
Dunistr.c68 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, in ntfs_are_names_equal()
69 const ntfschar *s2, size_t s2_len, const IGNORE_CASE_BOOL ic, in ntfs_are_names_equal()
70 const ntfschar *upcase, const u32 upcase_size) in ntfs_are_names_equal()
97 int ntfs_collate_names(const ntfschar *name1, const u32 name1_len, in ntfs_collate_names()
98 const ntfschar *name2, const u32 name2_len, in ntfs_collate_names()
100 const ntfschar *upcase, const u32 upcase_len) in ntfs_collate_names()
149 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp()
185 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp()
186 const ntfschar *upcase, const u32 upcase_size) in ntfs_ucsncasecmp()
206 void ntfs_upcase_name(ntfschar *name, u32 name_len, const ntfschar *upcase, in ntfs_upcase_name()
[all …]
Dupcase.c27 ntfschar *generate_default_upcase(void) in generate_default_upcase()
69 ntfschar *uc; in generate_default_upcase()
71 uc = ntfs_malloc_nofs(default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()
74 memset(uc, 0, default_upcase_len * sizeof(ntfschar)); in generate_default_upcase()
Ddir.h39 ntfschar name[0];
43 extern ntfschar I30[5];
46 const ntfschar *uname, const int uname_len, ntfs_name **res);
Ddir.c36 ntfschar I30[5] = { cpu_to_le16('$'), cpu_to_le16('I'),
80 MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname, in ntfs_lookup_inode_by_name()
157 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
207 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
227 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name()
238 len * sizeof(ntfschar)); in ntfs_lookup_inode_by_name()
248 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
267 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
417 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
467 (ntfschar*)&ie->key.file_name.file_name, in ntfs_lookup_inode_by_name()
[all …]
Dinode.h67 ntfschar *name; /* Attribute name of this fake inode. */
265 ntfschar *name;
276 ntfschar *name, u32 name_len);
277 extern struct inode *ntfs_index_iget(struct inode *base_vi, ntfschar *name,
Dnamei.c108 ntfschar *uname; in ntfs_lookup()
188 (ntfschar*)&name->name, name->len, in ntfs_lookup()
235 if ((u32)(fn->file_name_length * sizeof(ntfschar) + in ntfs_lookup()
242 (ntfschar*)&fn->file_name, fn->file_name_length, in ntfs_lookup()
Dtypes.h36 typedef le16 ntfschar; typedef
Dattrib.c589 static int ntfs_attr_find(const ATTR_TYPE type, const ntfschar *name, in ntfs_attr_find()
595 ntfschar *upcase = vol->upcase; in ntfs_attr_find()
624 a->name_length * sizeof(ntfschar); in ntfs_attr_find()
653 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in ntfs_attr_find()
658 (ntfschar*)((u8*)a + in ntfs_attr_find()
672 (ntfschar*)((u8*)a + in ntfs_attr_find()
882 const ntfschar *name, const u32 name_len, in ntfs_external_attr_find()
891 ntfschar *al_name; in ntfs_external_attr_find()
948 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset); in ntfs_external_attr_find()
998 ntfs_are_names_equal((ntfschar*)((u8*) in ntfs_external_attr_find()
[all …]
Dusnjrnl.h195 /*0x3c*/ntfschar file_name[0]; /* Use when creating only. When reading use
Dlogfile.h293 /* 32*/ ntfschar client_name[64];/* Name of the client in Unicode. Should
Dvolume.h76 ntfschar *upcase; /* The upcase table. */
Dattrib.h73 int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name,
Dsuper.c53 static ntfschar *default_upcase;
1274 static const ntfschar hiberfil[13] = { cpu_to_le16('h'), in check_windows_hibernation_status()
1368 static const ntfschar Quota[7] = { cpu_to_le16('$'), in load_and_init_quota()
1372 static ntfschar Q[3] = { cpu_to_le16('$'), in load_and_init_quota()
1447 static const ntfschar UsnJrnl[9] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1452 static ntfschar Max[5] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1455 static ntfschar J[3] = { cpu_to_le16('$'), in load_and_init_usnjrnl()
1680 if (!i_size || i_size & (sizeof(ntfschar) - 1) || in load_and_init_upcase()
1681 i_size > 64ULL * 1024 * sizeof(ntfschar)) in load_and_init_upcase()
1683 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase()
[all …]
Dlayout.h590 /* 0*/ ntfschar name[0x40]; /* Unicode name of the attribute. Zero
998 /* 26*/ ntfschar name[0]; /* Use when creating only. When reading use
1100 /* 42*/ ntfschar file_name[0]; /* File name in Unicode. */
1895 ntfschar name[0]; /* The name of the volume in Unicode. */
Dinode.c79 na->name_len * sizeof(ntfschar))) in ntfs_test_inode()
138 i = na->name_len * sizeof(ntfschar); in ntfs_init_locked_inode()
139 ni->name = kmalloc(i + sizeof(ntfschar), GFP_ATOMIC); in ntfs_init_locked_inode()
228 ntfschar *name, u32 name_len) in ntfs_attr_iget()
285 struct inode *ntfs_index_iget(struct inode *base_vi, ntfschar *name, in ntfs_index_iget()