/openbmc/linux/fs/ntfs/ |
H A D | ntfs.h | 95 const ntfschar *s2, size_t s2_len, 97 const ntfschar *upcase, const u32 upcase_size); 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, 106 const ntfschar *upcase, const u32 upcase_len); 108 const ntfschar *upcase, const u32 upcase_len); 112 const ntfschar *upcase, const u32 upcase_len); 114 const int ins_len, ntfschar **outs); [all …]
|
H A D | unistr.c | 56 const ntfschar *upcase, const u32 upcase_size) in ntfs_are_names_equal() 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() 192 void ntfs_upcase_name(ntfschar *name, u32 name_len, const ntfschar *upcase, in ntfs_upcase_name() 204 const ntfschar *upcase, const u32 upcase_len) in ntfs_file_upcase_value() 213 const ntfschar *upcase, const u32 upcase_len) in ntfs_file_compare_values() 217 (ntfschar*)&file_name_attr2->file_name, in ntfs_file_compare_values() 246 const int ins_len, ntfschar **outs) in ntfs_nlstoucs() [all …]
|
H A D | upcase.c | 13 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()
|
H A D | dir.h | 25 ntfschar name[0]; 29 extern ntfschar I30[5]; 32 const ntfschar *uname, const int uname_len, ntfs_name **res);
|
H A D | dir.c | 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() 476 name_size += len * sizeof(ntfschar); in ntfs_lookup_inode_by_name() 487 len * sizeof(ntfschar)); in ntfs_lookup_inode_by_name() [all …]
|
H A D | inode.h | 53 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,
|
H A D | namei.c | 94 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()
|
H A D | attrib.c | 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() 984 ntfs_are_names_equal((ntfschar*)((u8*) in ntfs_external_attr_find() 1071 if (!ntfs_are_names_equal((ntfschar*)((u8*)a + in ntfs_external_attr_find() 1692 a->name_length * sizeof(ntfschar)); in ntfs_attr_make_non_resident() [all …]
|
H A D | types.h | 22 typedef le16 ntfschar; typedef
|
H A D | logfile.h | 279 /* 32*/ ntfschar client_name[64];/* Name of the client in Unicode. Should
|
H A D | usnjrnl.h | 181 /*0x3c*/ntfschar file_name[0]; /* Use when creating only. When reading use
|
H A D | volume.h | 62 ntfschar *upcase; /* The upcase table. */
|
H A D | attrib.h | 59 int ntfs_attr_lookup(const ATTR_TYPE type, const ntfschar *name,
|
H A D | super.c | 39 static ntfschar *default_upcase; 1362 static const ntfschar Quota[7] = { cpu_to_le16('$'), in load_and_init_quota() 1366 static ntfschar Q[3] = { cpu_to_le16('$'), in load_and_init_quota() 1441 static const ntfschar UsnJrnl[9] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1446 static ntfschar Max[5] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1449 static ntfschar J[3] = { cpu_to_le16('$'), in load_and_init_usnjrnl() 1674 if (!i_size || i_size & (sizeof(ntfschar) - 1) || in load_and_init_upcase() 1675 i_size > 64ULL * 1024 * sizeof(ntfschar)) in load_and_init_upcase() 1677 vol->upcase = (ntfschar*)ntfs_malloc_nofs(i_size); in load_and_init_upcase() 1700 i_size, 64 * 1024 * sizeof(ntfschar)); in load_and_init_upcase() [all …]
|
H A D | layout.h | 576 /* 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. */
|
H A D | inode.c | 66 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()
|