ReactOS
0.4.15-dev-2092-gf04890c
|
#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)) |
Definition at line 228 of file fsck.fat.h.
#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 52 of file framebased-gcchack.c.
int atari_format |
Referenced by bad_name(), dump_boot(), and read_boot().
uint16_t backup_boot |
Definition at line 57 of file fsck.fat.h.
Referenced by check_backup_boot().
uint8_t cluster_size |
Definition at line 39 of file fsck.fat.h.
uint8_t dir_entries[2] |
Definition at line 42 of file fsck.fat.h.
uint8_t drive_number |
Definition at line 60 of file fsck.fat.h.
uint8_t extended_sig |
Definition at line 63 of file fsck.fat.h.
uint32_t fat32_length |
Definition at line 52 of file fsck.fat.h.
uint16_t fat_length |
Definition at line 45 of file fsck.fat.h.
uint8_t fats |
Definition at line 41 of file fsck.fat.h.
Definition at line 53 of file fsck.fat.h.
uint8_t fs_type[8] |
Definition at line 66 of file fsck.fat.h.
uint16_t heads |
Definition at line 47 of file fsck.fat.h.
uint32_t hidden |
Definition at line 48 of file fsck.fat.h.
uint8_t ignored |
Definition at line 35 of file fsck.fat.h.
Referenced by decode_op_close(), decode_op_getdeviceinfo(), InternalGetBinaryType(), FileReporter::progress(), and TestCase::progress().
Definition at line 56 of file fsck.fat.h.
int interactive |
Definition at line 63 of file main.c.
Referenced by interact(), main(), and WinMain().
uint8_t junk |
Definition at line 69 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 65 of file fsck.fat.h.
Referenced by add_item(), AddEntryToTree(), adns__mkquery(), cmd_goto(), f_getlabel(), f_setlabel(), FindDialogWndProc(), label_set_addr(), load_mapping_settings(), main(), save_mapping_settings(), sparc_boot_label(), Stream_LoadVolume(), sunx86_boot_label(), test_filesourcefilter(), test_label_elem(), test_MsiSourceListEnumMediaDisks(), Tree_Item_Copy(), TreeView_SetBOOLCheck(), write_boot_label(), write_btrfs(), write_label(), write_superblocks(), write_volume_label(), and WriteIniFile().
Definition at line 298 of file glfuncs.h.
Referenced by testQuery().
uint8_t media |
Definition at line 44 of file fsck.fat.h.
void* mem_queue |
Referenced by add_file(), and cnv_unicode().
unsigned n_files |
Referenced by add_file(), alloc_rootdir_entry(), and drop_file().
uint16_t reserved |
Definition at line 40 of file fsck.fat.h.
uint8_t reserved2 |
Definition at line 58 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 61 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 55 of file fsck.fat.h.
int rw |
uint16_t secs_track |
Definition at line 46 of file fsck.fat.h.
uint8_t sector_size[2] |
Definition at line 38 of file fsck.fat.h.
uint8_t sectors[2] |
Definition at line 43 of file fsck.fat.h.
uint32_t serial |
Definition at line 64 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 36 of file fsck.fat.h.
int test |
Definition at line 8 of file seh0001.c.
Referenced by MainWndProc().
uint32_t total_sect |
Definition at line 49 of file fsck.fat.h.
uint8_t version[2] |
Definition at line 54 of file fsck.fat.h.
int write_immed |
Referenced by fs_write().