/fs/ntfs/ |
D | ntfs.h | 108 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 …]
|
D | unistr.c | 68 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 …]
|
D | upcase.c | 27 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()
|
D | dir.h | 39 ntfschar name[0]; 43 extern ntfschar I30[5]; 46 const ntfschar *uname, const int uname_len, ntfs_name **res);
|
D | dir.c | 36 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 …]
|
D | inode.h | 67 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,
|
D | namei.c | 108 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()
|
D | attrib.c | 589 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() 629 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in ntfs_attr_find() 634 (ntfschar*)((u8*)a + in ntfs_attr_find() 648 (ntfschar*)((u8*)a + in ntfs_attr_find() 858 const ntfschar *name, const u32 name_len, in ntfs_external_attr_find() 867 ntfschar *al_name; in ntfs_external_attr_find() 924 al_name = (ntfschar*)((u8*)al_entry + al_entry->name_offset); in ntfs_external_attr_find() 974 ntfs_are_names_equal((ntfschar*)((u8*) in ntfs_external_attr_find() 1061 if (!ntfs_are_names_equal((ntfschar*)((u8*)a + in ntfs_external_attr_find() [all …]
|
D | types.h | 36 typedef le16 ntfschar; typedef
|
D | super.c | 52 static ntfschar *default_upcase = NULL; 1246 static const ntfschar hiberfil[13] = { cpu_to_le16('h'), in check_windows_hibernation_status() 1340 static const ntfschar Quota[7] = { cpu_to_le16('$'), in load_and_init_quota() 1344 static ntfschar Q[3] = { cpu_to_le16('$'), in load_and_init_quota() 1419 static const ntfschar UsnJrnl[9] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1424 static ntfschar Max[5] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1427 static ntfschar J[3] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1652 if (!i_size || i_size & (sizeof(ntfschar) - 1) || in load_and_init_upcase() 1653 i_size > 64ULL * 1024 * sizeof(ntfschar)) in load_and_init_upcase() 1655 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase() [all …]
|
D | usnjrnl.h | 195 /*0x3c*/ntfschar file_name[0]; /* Use when creating only. When reading use
|
D | logfile.h | 293 /* 32*/ ntfschar client_name[64];/* Name of the client in Unicode. Should
|
D | layout.h | 590 /* 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. */
|
D | attrib.h | 73 int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name,
|
D | volume.h | 75 ntfschar *upcase; /* The upcase table. */
|
D | inode.c | 79 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()
|