Searched refs:MSDOS_NAME (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/fat/ |
H A D | namei_msdos.c | 84 while (len > 0 && walk - res < MSDOS_NAME) { in msdos_format_name() 112 while (walk - res < MSDOS_NAME) in msdos_format_name() 123 unsigned char msdos_name[MSDOS_NAME]; in msdos_find() 154 unsigned char msdos_name[MSDOS_NAME]; in msdos_hash() 159 qstr->hash = full_name_hash(dentry, msdos_name, MSDOS_NAME); in msdos_hash() 171 unsigned char a_msdos_name[MSDOS_NAME], b_msdos_name[MSDOS_NAME]; in msdos_cmp() 180 error = memcmp(a_msdos_name, b_msdos_name, MSDOS_NAME); in msdos_cmp() 236 memcpy(de.name, name, MSDOS_NAME); in msdos_add_entry() 271 unsigned char msdos_name[MSDOS_NAME]; in msdos_create() 348 unsigned char msdos_name[MSDOS_NAME]; in msdos_mkdir() [all …]
|
H A D | dir.c | 28 #define FAT_MAX_SHORT_SIZE ((MSDOS_NAME + 1) * NLS_MAX_CHARSET_SIZE + 1) 359 unsigned char c, work[MSDOS_NAME]; in fat_parse_short() 414 for (k = 8; k < MSDOS_NAME;) { in fat_parse_short() 418 chl = fat_shortname2uni(nls_disk, &work[k], MSDOS_NAME - k, in fat_parse_short() 433 int offset = min(chl, MSDOS_NAME-k); in fat_parse_short() 437 for (chi = 0; chi < chl && k < MSDOS_NAME; in fat_parse_short() 662 if (!memcmp(de->name, MSDOS_DOT, MSDOS_NAME)) { in __fat_readdir() 665 } else if (!memcmp(de->name, MSDOS_DOTDOT, MSDOS_NAME)) { in __fat_readdir() 897 if (!strncmp((*de)->name, MSDOS_DOTDOT, MSDOS_NAME)) in fat_get_dotdot_entry() 915 if (strncmp(de->name, MSDOS_DOT , MSDOS_NAME) && in fat_dir_empty() [all …]
|
H A D | namei_vfat.c | 443 memset(name_res, ' ', MSDOS_NAME); in vfat_create_shortname() 589 unsigned char msdos_name[MSDOS_NAME]; in vfat_build_slots() 642 memcpy(de->name, msdos_name, MSDOS_NAME); in vfat_build_slots()
|
/openbmc/linux/include/uapi/linux/ |
H A D | msdos_fs.h | 56 #define MSDOS_NAME 11 /* maximum name length */ macro 133 __u8 vol_label[MSDOS_NAME]; /* volume label */ 156 __u8 vol_label[MSDOS_NAME]; /* volume label */ 173 __u8 name[MSDOS_NAME];/* name and extension */
|