ReactOS 0.4.16-dev-87-g3dfbe52
|
#include <sys/types.h>
#include <fcntl.h>
#include <stddef.h>
#include <stdint.h>
#include "endian_compat.h"
#include "msdos_fs.h"
Go to the source code of this file.
Classes | |
struct | boot_sector |
struct | boot_sector_16 |
struct | info_sector |
struct | __attribute__ |
struct | _dos_file |
struct | FAT_ENTRY |
struct | DOS_FS |
Macros | |
#define | VFAT_LN_ATTR (ATTR_RO | ATTR_HIDDEN | ATTR_SYS | ATTR_VOLUME) |
#define | FAT_STATE_DIRTY 0x01 |
#define | FAT_EOF(fs) ((atari_format ? 0xfff : 0xff8) | FAT_EXTD(fs)) |
#define | FAT_IS_EOF(fs, v) ((uint32_t)(v) >= (0xff8|FAT_EXTD(fs))) |
#define | FAT_BAD(fs) (0xff7 | FAT_EXTD(fs)) |
#define | FAT_MIN_BAD(fs) ((atari_format ? 0xff0 : 0xff7) | FAT_EXTD(fs)) |
#define | FAT_MAX_BAD(fs) ((atari_format ? 0xff7 : 0xff7) | FAT_EXTD(fs)) |
#define | FAT_IS_BAD(fs, v) ((v) >= FAT_MIN_BAD(fs) && (v) <= FAT_MAX_BAD(fs)) |
#define | FAT_EXTD(fs) (((1 << fs->eff_fat_bits)-1) & ~0xf) |
#define | FAT_NO_83NAME 32 |
Typedefs | |
typedef struct _dos_file | DOS_FILE |
Functions | |
struct boot_sector | __attribute__ ((packed)) |
#define FAT_EOF | ( | fs | ) | ((atari_format ? 0xfff : 0xff8) | FAT_EXTD(fs)) |
Definition at line 225 of file fsck.fat.h.
Definition at line 235 of file fsck.fat.h.
#define FAT_IS_BAD | ( | fs, | |
v | |||
) | ((v) >= FAT_MIN_BAD(fs) && (v) <= FAT_MAX_BAD(fs)) |
Definition at line 232 of file fsck.fat.h.
Definition at line 226 of file fsck.fat.h.
#define FAT_MAX_BAD | ( | fs | ) | ((atari_format ? 0xff7 : 0xff7) | FAT_EXTD(fs)) |
Definition at line 231 of file fsck.fat.h.
#define FAT_MIN_BAD | ( | fs | ) | ((atari_format ? 0xff0 : 0xff7) | FAT_EXTD(fs)) |
Definition at line 230 of file fsck.fat.h.
#define FAT_NO_83NAME 32 |
Definition at line 238 of file fsck.fat.h.
#define FAT_STATE_DIRTY 0x01 |
Definition at line 80 of file fsck.fat.h.
#define VFAT_LN_ATTR (ATTR_RO | ATTR_HIDDEN | ATTR_SYS | ATTR_VOLUME) |
Definition at line 78 of file fsck.fat.h.
struct boot_sector __attribute__ | ( | (packed) | ) |
Definition at line 43 of file framebased-gcchack.c.
|
extern |
uint16_t backup_boot |
Definition at line 22 of file fsck.fat.h.
uint8_t cluster_size |
Definition at line 4 of file fsck.fat.h.
uint8_t dir_entries[2] |
Definition at line 7 of file fsck.fat.h.
uint8_t drive_number |
Definition at line 25 of file fsck.fat.h.
uint8_t extended_sig |
Definition at line 28 of file fsck.fat.h.
uint32_t fat32_length |
Definition at line 17 of file fsck.fat.h.
uint16_t fat_length |
Definition at line 10 of file fsck.fat.h.
uint8_t fats |
Definition at line 6 of file fsck.fat.h.
Definition at line 18 of file fsck.fat.h.
uint8_t fs_type[8] |
Definition at line 31 of file fsck.fat.h.
uint16_t heads |
Definition at line 12 of file fsck.fat.h.
uint32_t hidden |
Definition at line 13 of file fsck.fat.h.
uint8_t ignored |
Definition at line 0 of file fsck.fat.h.
Referenced by decode_op_close(), decode_op_getdeviceinfo(), InternalGetBinaryType(), TestCase::progress(), and FileReporter::progress().
Definition at line 21 of file fsck.fat.h.
|
extern |
Definition at line 63 of file main.c.
Referenced by interact(), main(), and WinMain().
uint8_t junk |
Definition at line 34 of file fsck.fat.h.
Referenced by ICreateTypeLib2_fnSaveAllChanges(), test_hglobal_storage_creation(), WMSFT_append_typedesc(), and WMSFT_compile_typeinfo_seg().
uint8_t label |
Definition at line 30 of file fsck.fat.h.
Definition at line 218 of file fsck.fat.h.
uint8_t media |
Definition at line 9 of file fsck.fat.h.
|
extern |
|
extern |
uint16_t reserved |
Definition at line 5 of file fsck.fat.h.
uint8_t reserved2 |
Definition at line 23 of file fsck.fat.h.
Referenced by IDirectSoundBufferImpl_Play(), IStorage_EnumElements_Proxy(), IStorage_EnumElements_Stub(), IStorage_OpenStream_Proxy(), IStorage_OpenStream_Stub(), ITSS_IStorageImpl_EnumElements(), ITSS_IStorageImpl_OpenStream(), PrimaryBufferImpl_Play(), SetupInstallServicesFromInfSectionExA(), SetupInstallServicesFromInfSectionExW(), Storage_CreateStream(), Storage_OpenStream(), StorageBaseImpl_CreateStorage(), StorageBaseImpl_CreateStream(), StorageBaseImpl_EnumElements(), StorageBaseImpl_OpenStream(), test_OleDoAutoConvert(), and ValidateVertexShader().
uint8_t reserved3 |
Definition at line 26 of file fsck.fat.h.
Referenced by IStorage_EnumElements_Proxy(), IStorage_EnumElements_Stub(), ITSS_IStorageImpl_EnumElements(), StorageBaseImpl_EnumElements(), and test_OleDoAutoConvert().
uint32_t root_cluster |
Definition at line 20 of file fsck.fat.h.
int rw |
Definition at line 218 of file fsck.fat.h.
uint16_t secs_track |
Definition at line 11 of file fsck.fat.h.
uint8_t sector_size[2] |
Definition at line 3 of file fsck.fat.h.
uint8_t sectors[2] |
Definition at line 8 of file fsck.fat.h.
uint32_t serial |
Definition at line 29 of file fsck.fat.h.
Referenced by CDROM_Audio_GetSerial(), CertCreateSelfSignCertificate(), drive_get_SerialNumber(), get_volumeserialnumber(), getSection(), MSI_GetUserInfo(), MsiGetUserInfoA(), MsiGetUserInfoW(), openSection(), seamless_process_line(), SpoolName(), sw_update_position(), test_MsiGetUserInfo(), test_SerialNumber(), and ui_seamless_ack().
uint8_t system_id[8] |
Definition at line 1 of file fsck.fat.h.
int test |
Definition at line 218 of file fsck.fat.h.
uint32_t total_sect |
Definition at line 14 of file fsck.fat.h.
int verbose |
Definition at line 218 of file fsck.fat.h.
uint8_t version[2] |
Definition at line 19 of file fsck.fat.h.
int write_immed |
Definition at line 218 of file fsck.fat.h.