Lines Matching refs:long_dentry
1201 struct fat32_LongDirectory_t *long_dentry = NULL; in fat32_readdir() local
1220 long_dentry = (struct fat32_LongDirectory_t *)(dentry - 1); in fat32_readdir()
1223 if (long_dentry->LDIR_Attr == ATTR_LONG_NAME && long_dentry->LDIR_Ord != 0xe5 && in fat32_readdir()
1224 long_dentry->LDIR_Ord != 0x00 && long_dentry->LDIR_Ord != 0x05) in fat32_readdir()
1228 while (long_dentry->LDIR_Attr == ATTR_LONG_NAME && long_dentry->LDIR_Ord != 0xe5 && in fat32_readdir()
1229 long_dentry->LDIR_Ord != 0x00 && long_dentry->LDIR_Ord != 0x05) in fat32_readdir()
1232 if (long_dentry->LDIR_Ord & 0x40) // 最后一个长目录项 in fat32_readdir()
1234 --long_dentry; in fat32_readdir()
1241 long_dentry = (struct fat32_LongDirectory_t *)(dentry - 1); in fat32_readdir()
1244 for (int j = 0; j < count_long_dentry; ++j, --long_dentry) in fat32_readdir()
1249 … if (long_dentry->LDIR_Name1[k] != 0xffff && long_dentry->LDIR_Name1[k] != 0x0000) in fat32_readdir()
1250 dir_name[name_len++] = (char)long_dentry->LDIR_Name1[k]; in fat32_readdir()
1256 … if (long_dentry->LDIR_Name2[k] != 0xffff && long_dentry->LDIR_Name2[k] != 0x0000) in fat32_readdir()
1257 dir_name[name_len++] = (char)long_dentry->LDIR_Name2[k]; in fat32_readdir()
1263 … if (long_dentry->LDIR_Name3[k] != 0xffff && long_dentry->LDIR_Name3[k] != 0x0000) in fat32_readdir()
1264 dir_name[name_len++] = (char)long_dentry->LDIR_Name3[k]; in fat32_readdir()