ReactOS 0.4.16-dev-109-gf4cb10f
|
#include "vfatlib.h"
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | ROUND_TO_MULTIPLE(n, m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) |
#define | FAT12_THRESHOLD 4085 |
#define | FAT16_THRESHOLD 65525 |
#define | GET_UNALIGNED_W(f) ( (uint16_t)f[0] | ((uint16_t)f[1]<<8) ) |
Functions | |
static const char * | get_media_descr (unsigned char media) |
static void | dump_boot (DOS_FS *fs, struct boot_sector *b, unsigned lss) |
static void | check_backup_boot (DOS_FS *fs, struct boot_sector *b, unsigned int lss) |
static void | init_fsinfo (struct info_sector *i) |
static void | read_fsinfo (DOS_FS *fs, struct boot_sector *b, unsigned int lss) |
static char | print_fat_dirty_state (void) |
static void | check_fat_state_bit (DOS_FS *fs, void *b) |
void | read_boot (DOS_FS *fs) |
static void | write_boot_label (DOS_FS *fs, char *label) |
off_t | find_volume_de (DOS_FS *fs, DIR_ENT *de) |
static void | write_volume_label (DOS_FS *fs, char *label) |
void | write_label (DOS_FS *fs, char *label) |
Variables | |
struct { | |
uint8_t media | |
const char * descr | |
} | mediabytes [] |
Definition at line 127 of file boot.c.
Referenced by read_boot().
Definition at line 309 of file boot.c.
Referenced by read_boot().
|
static |
Definition at line 74 of file boot.c.
Referenced by read_boot().
Definition at line 524 of file boot.c.
Referenced by write_volume_label().
Definition at line 63 of file boot.c.
Referenced by dump_boot().
|
static |
Definition at line 209 of file boot.c.
Referenced by read_fsinfo().
Definition at line 288 of file boot.c.
Referenced by check_fat_state_bit().
Definition at line 334 of file boot.c.
Referenced by VfatChkdsk().
Definition at line 219 of file boot.c.
Referenced by read_boot().
Definition at line 494 of file boot.c.
Referenced by write_label().
Definition at line 554 of file boot.c.
Referenced by write_label().
Definition at line 45 of file boot.c.
Referenced by AddItem(), CRYPT_AsnDecodeAccessDescription(), CRYPT_AsnEncodeAccessDescription(), CxxHandleV8Frame(), dwarf2_parse_line_numbers(), get_dc_data_ex(), get_item_data(), get_item_height(), get_item_string(), get_media_descr(), get_sizeof_item(), insert_item_data(), is_item_selected(), LISTBOX_Create(), LISTBOX_DeleteItem(), LISTBOX_Destroy(), LISTBOX_Directory(), LISTBOX_DrawFocusRect(), LISTBOX_FindFileStrPos(), LISTBOX_FindString(), LISTBOX_FindStringPos(), LISTBOX_GetCurrentPageSize(), LISTBOX_GetItemFromPoint(), LISTBOX_GetItemHeight(), LISTBOX_GetItemRect(), LISTBOX_GetMaxTopIndex(), LISTBOX_GetSelCount(), LISTBOX_GetSelItems(), LISTBOX_GetText(), LISTBOX_HandleChar(), LISTBOX_HandleHScroll(), LISTBOX_HandleKeyDown(), LISTBOX_HandleLButtonDown(), LISTBOX_HandleLButtonDownCombo(), LISTBOX_HandleLButtonUp(), LISTBOX_HandleMouseMove(), LISTBOX_HandleMouseWheel(), LISTBOX_HandleSystemTimer(), LISTBOX_HandleTimer(), LISTBOX_HandleVScroll(), LISTBOX_InitStorage(), LISTBOX_InsertItem(), LISTBOX_InsertString(), LISTBOX_InvalidateItemRect(), LISTBOX_InvalidateItems(), LISTBOX_MakeItemVisible(), LISTBOX_MoveCaret(), LISTBOX_NCPaint(), LISTBOX_Paint(), LISTBOX_PaintItem(), LISTBOX_RemoveItem(), LISTBOX_RepaintItem(), LISTBOX_ResetContent(), LISTBOX_SelectItemRange(), LISTBOX_SetCaretIndex(), LISTBOX_SetColumnWidth(), LISTBOX_SetCount(), LISTBOX_SetFont(), LISTBOX_SetHorizontalExtent(), LISTBOX_SetHorizontalPos(), LISTBOX_SetItemHeight(), LISTBOX_SetRedraw(), LISTBOX_SetSelection(), LISTBOX_SetTabStops(), LISTBOX_SetTopItem(), LISTBOX_update_uistate(), LISTBOX_UpdatePage(), LISTBOX_UpdateScroll(), LISTBOX_UpdateSize(), LISTBOX_WindowProc(), ListBoxWndProc_common(), NtUserGetListBoxInfo(), output_typelib_regscript(), process_comment(), process_extra(), remove_item_data(), resize_storage(), set_item_data(), set_item_height(), set_item_selected_state(), set_item_string(), sw_DescribePixelFormat(), test_DC_bitmap(), test_device_caps(), test_import_resolution(), test_multiselect(), test_stdout_handle(), wglDescribePixelFormat(), write_coclass(), and write_progid().
uint8_t media |
Definition at line 44 of file boot.c.
Referenced by get_media_descr().
struct { ... } mediabytes[] |
Referenced by get_media_descr().