Lines Matching refs:LabelDirEnt
787 FAT_DIRENT LabelDirEnt; in FatFirstFitInsertDirEnt() local
791 Status = FatSeekVolumeId (OFile, &LabelDirEnt); in FatFirstFitInsertDirEnt()
796 if (!LabelDirEnt.Invalid) { in FatFirstFitInsertDirEnt()
797 LabelPos = LabelDirEnt.EntryPos; in FatFirstFitInsertDirEnt()
916 FAT_DIRENT LabelDirEnt; in FatGetVolumeEntry() local
919 Status = FatSeekVolumeId (Volume->Root, &LabelDirEnt); in FatGetVolumeEntry()
921 if (!LabelDirEnt.Invalid) { in FatGetVolumeEntry()
922 FatNameToStr (LabelDirEnt.Entry.FileName, FAT_NAME_LEN, FALSE, Name); in FatGetVolumeEntry()
948 FAT_DIRENT LabelDirEnt; in FatSetVolumeEntry() local
952 Status = FatSeekVolumeId (Volume->Root, &LabelDirEnt); in FatSetVolumeEntry()
957 if (LabelDirEnt.Invalid) { in FatSetVolumeEntry()
961 ZeroMem (&LabelDirEnt, sizeof (FAT_DIRENT)); in FatSetVolumeEntry()
962 LabelDirEnt.EntryCount = 1; in FatSetVolumeEntry()
963 Status = FatNewEntryPos (Root, &LabelDirEnt); in FatSetVolumeEntry()
968 LabelDirEnt.Entry.Attributes = FAT_ATTRIBUTE_VOLUME_ID; in FatSetVolumeEntry()
971 SetMem (LabelDirEnt.Entry.FileName, FAT_NAME_LEN, ' '); in FatSetVolumeEntry()
972 if (FatStrToFat (Name, FAT_NAME_LEN, LabelDirEnt.Entry.FileName)) { in FatSetVolumeEntry()
976 FatGetCurrentFatTime (&LabelDirEnt.Entry.FileModificationTime); in FatSetVolumeEntry()
977 return FatStoreDirEnt (Root, &LabelDirEnt); in FatSetVolumeEntry()