Searched refs:MSDOS_NAME (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/fs/fat/ |
D | namei_msdos.c | 82 while (len > 0 && walk - res < MSDOS_NAME) { in msdos_format_name() 110 while (walk - res < MSDOS_NAME) in msdos_format_name() 121 unsigned char msdos_name[MSDOS_NAME]; in msdos_find() 152 unsigned char msdos_name[MSDOS_NAME]; in msdos_hash() 157 qstr->hash = full_name_hash(msdos_name, MSDOS_NAME); in msdos_hash() 169 unsigned char a_msdos_name[MSDOS_NAME], b_msdos_name[MSDOS_NAME]; in msdos_cmp() 178 error = memcmp(a_msdos_name, b_msdos_name, MSDOS_NAME); in msdos_cmp() 234 memcpy(de.name, name, MSDOS_NAME); in msdos_add_entry() 269 unsigned char msdos_name[MSDOS_NAME]; in msdos_create() 349 unsigned char msdos_name[MSDOS_NAME]; in msdos_mkdir() [all …]
|
D | dir.c | 26 #define FAT_MAX_SHORT_SIZE ((MSDOS_NAME + 1) * NLS_MAX_CHARSET_SIZE + 1) 360 unsigned char c, work[MSDOS_NAME]; in fat_parse_short() 413 for (k = 8; k < MSDOS_NAME;) { in fat_parse_short() 417 chl = fat_shortname2uni(nls_disk, &work[k], MSDOS_NAME - k, in fat_parse_short() 432 int offset = min(chl, MSDOS_NAME-k); in fat_parse_short() 436 for (chi = 0; chi < chl && k < MSDOS_NAME; in fat_parse_short() 661 if (!memcmp(de->name, MSDOS_DOT, MSDOS_NAME)) { in __fat_readdir() 664 } else if (!memcmp(de->name, MSDOS_DOTDOT, MSDOS_NAME)) { in __fat_readdir() 900 if (!strncmp((*de)->name, MSDOS_DOTDOT, MSDOS_NAME)) in fat_get_dotdot_entry() 918 if (strncmp(de->name, MSDOS_DOT , MSDOS_NAME) && in fat_dir_empty() [all …]
|
D | namei_vfat.c | 429 memset(name_res, ' ', MSDOS_NAME); in vfat_create_shortname() 588 unsigned char msdos_name[MSDOS_NAME]; in vfat_build_slots() 641 memcpy(de->name, msdos_name, MSDOS_NAME); in vfat_build_slots()
|
/linux-4.4.14/include/uapi/linux/ |
D | msdos_fs.h | 53 #define MSDOS_NAME 11 /* maximum name length */ macro 175 __u8 name[MSDOS_NAME];/* name and extension */
|