Lines Matching refs:new_dir_dentries
1033 struct fat32_Directory_t *new_dir_dentries = (struct fat32_Directory_t *)buf; in fat32_mkdir() local
1034 memset((void *)new_dir_dentries, 0, fsbi->bytes_per_clus); in fat32_mkdir()
1037 new_dir_dentries->DIR_Attr = ATTR_DIRECTORY; in fat32_mkdir()
1038 new_dir_dentries->DIR_FileSize = 0; in fat32_mkdir()
1039 new_dir_dentries->DIR_Name[0] = '.'; in fat32_mkdir()
1041 new_dir_dentries->DIR_Name[i] = 0x20; in fat32_mkdir()
1043 new_dir_dentries->DIR_FstClusHI = empty_fat32_dentry->DIR_FstClusHI; in fat32_mkdir()
1044 new_dir_dentries->DIR_FstClusLO = empty_fat32_dentry->DIR_FstClusLO; in fat32_mkdir()
1047 ++new_dir_dentries; in fat32_mkdir()
1048 new_dir_dentries->DIR_Attr = ATTR_DIRECTORY; in fat32_mkdir()
1049 new_dir_dentries->DIR_FileSize = 0; in fat32_mkdir()
1050 new_dir_dentries->DIR_Name[0] = '.'; in fat32_mkdir()
1051 new_dir_dentries->DIR_Name[1] = '.'; in fat32_mkdir()
1053 new_dir_dentries->DIR_Name[i] = 0x20; in fat32_mkdir()
1054 … new_dir_dentries->DIR_FstClusHI = (unsigned short)(parent_inode_info->first_clus >> 16) & 0x0fff; in fat32_mkdir()
1055 new_dir_dentries->DIR_FstClusLO = (unsigned short)(parent_inode_info->first_clus) & 0xffff; in fat32_mkdir()