Lines Matching refs:sector
50 uint8_t *sector0, *sector;
56 sector = NULL;
59 /* Check if the sector size of the medium is a valid FAT sector size. */
67 G_LABEL_DEBUG(1, "MSDOSFS: %s: sector size %d not compatible.",
72 /* Load 1st sector with boot sector and boot parameter block. */
77 /* Check for the FAT boot sector signature. */
142 * If the volume label "NO NAME " is in the boot sector, the
158 sector = (uint8_t *)g_read_data(cp, offset,
160 if (sector == NULL)
163 pfat_entry = (FAT_DES *)sector;
193 (uint8_t *)(sector + fat_BytesPerSector));
194 g_free(sector);
215 if (sector != NULL)
216 g_free(sector);