Home
last modified time | relevance | path

Searched refs:infoSector (Results 1 – 4 of 4) sorted by relevance

/external/mtools/
Dfat.c455 InfoSector_t *infoSector; in fat_write() local
456 infoSector = (InfoSector_t *) safe_malloc(This->sector_size); in fat_write()
457 if(forceReadSector(This, (char *)infoSector, in fat_write()
461 memset(infoSector->filler1, 0, sizeof(infoSector->filler1)); in fat_write()
462 memset(infoSector->filler2, 0, sizeof(infoSector->filler2)); in fat_write()
464 set_dword(infoSector->signature1, INFOSECT_SIGNATURE1); in fat_write()
465 set_dword(infoSector->signature2, INFOSECT_SIGNATURE2); in fat_write()
466 set_dword(infoSector->pos, This->last); in fat_write()
467 set_dword(infoSector->count, This->freeSpace); in fat_write()
468 set_word(infoSector->signature3, 0xaa55); in fat_write()
[all …]
Dminfo.c43 if(WORD(ext.fat32.infoSector) == MAX16) in displayInfosector()
48 (mt_off_t) WORD(secsiz) * WORD(ext.fat32.infoSector), in displayInfosector()
109 if(WORD(ext.fat32.infoSector) != MAX16) in displayBPB()
111 WORD(ext.fat32.infoSector)); in displayBPB()
Dmsdos.h141 unsigned char infoSector[2]; /* 48 changeable global info */ member
Dmformat.c1421 set_word(boot.boot.ext.fat32.infoSector, Fs.infoSectorLoc = 1); in mformat()