Searched refs:MSDOS_NAME (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/fat/ |
D | namei_msdos.c | 83 while (len > 0 && walk - res < MSDOS_NAME) { in msdos_format_name() 111 while (walk - res < MSDOS_NAME) in msdos_format_name() 122 unsigned char msdos_name[MSDOS_NAME]; in msdos_find() 153 unsigned char msdos_name[MSDOS_NAME]; in msdos_hash() 158 qstr->hash = full_name_hash(dentry, msdos_name, MSDOS_NAME); in msdos_hash() 170 unsigned char a_msdos_name[MSDOS_NAME], b_msdos_name[MSDOS_NAME]; in msdos_cmp() 179 error = memcmp(a_msdos_name, b_msdos_name, MSDOS_NAME); in msdos_cmp() 235 memcpy(de.name, name, MSDOS_NAME); in msdos_add_entry() 270 unsigned char msdos_name[MSDOS_NAME]; in msdos_create() 346 unsigned char msdos_name[MSDOS_NAME]; in msdos_mkdir() [all …]
|
D | dir.c | 27 #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 | 442 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.19.296/include/uapi/linux/ |
D | msdos_fs.h | 56 #define MSDOS_NAME 11 /* maximum name length */ macro 178 __u8 name[MSDOS_NAME];/* name and extension */
|