ReactOS 0.4.16-dev-306-g647d351
|
#include "vfatlib.h"
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _change |
Macros | |
#define | NDEBUG |
#define | FSCTL_IS_VOLUME_DIRTY CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 30, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Typedefs | |
typedef struct _change | CHANGE |
Functions | |
void | fs_open (char *path, int rw) |
void | fs_read (off_t pos, int size, void *data) |
int | fs_test (off_t pos, int size) |
void | fs_write (off_t pos, int size, void *data) |
static void | fs_flush (void) |
int | fs_close (int write) |
int | fs_changed (void) |
Variables | |
static CHANGE * | changes |
static CHANGE * | last |
static int | fd |
static int | did_change = 0 |
#define FSCTL_IS_VOLUME_DIRTY CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 30, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 409 of file io.c.
Referenced by fs_close().
Definition at line 163 of file io.c.
Read data from the partition, accounting for any pending updates that are queued for writing.
[in] | pos | Byte offset, relative to the beginning of the partition, at which to read |
[in] | size | Number of bytes to read |
[out] | data | Where to put the data read |
Definition at line 282 of file io.c.
Referenced by add_file(), alloc_rootdir_entry(), check_backup_boot(), find_volume_de(), read_boot(), read_fat(), read_fsinfo(), and write_boot_label().
Definition at line 322 of file io.c.
Referenced by fix_bad(), read_boot(), and test_file().
Definition at line 344 of file io.c.
Referenced by add_file(), alloc_rootdir_entry(), auto_rename(), check_backup_boot(), check_fat_state_bit(), clear_lfn_slots(), fs_flush(), lfn_add_slot(), lfn_fix_checksum(), lfn_get(), lfn_remove(), read_fat(), read_fsinfo(), reclaim_file(), rename_file(), set_fat(), update_free(), write_boot_label(), and write_volume_label().
|
static |
Definition at line 49 of file io.c.
Referenced by fs_changed(), fs_close(), fs_flush(), fs_open(), fs_read(), fs_write(), ME_HandleMessage(), NotifyInfo::modify(), and NotifyArea::ProcessTrayNotification().
|
static |
Definition at line 51 of file io.c.
Referenced by fs_changed(), fs_close(), fs_open(), and fs_write().
|
static |
Definition at line 51 of file io.c.
Referenced by __file_size(), __is_regular_file(), __rpc_fd2sockinfo(), __rpc_nconf2fd(), __rpc_sockisbound(), __rpcgettp(), _chsize(), _chsize_s(), _close(), _commit(), _dup(), _eof(), _fcons(), _fdopen(), _filelength(), _filelengthi64(), _fstat(), _fstat64(), _fstati64(), _futime(), _get_osfhandle(), _isatty(), _locking(), _lseek(), _lseeki64(), LocaleTest::_money_put_X_bug(), _open_osfhandle(), _pipe(), _read(), _RunRemoteTest(), _setmode(), _sopen(), _sopen_s(), _tell(), _telli64(), _tiffCloseProc(), _tiffDummyMapProc(), _tiffDummyUnmapProc(), _tiffisCloseProc(), _tiffisReadProc(), _tiffisSeekProc(), _tiffisSizeProc(), _tiffMapProc(), _tiffosCloseProc(), _tiffosSeekProc(), _tiffosSizeProc(), _tiffosWriteProc(), _TIFFPrettyPrintField(), _TIFFprintAscii(), _TIFFprintAsciiBounded(), _TIFFprintAsciiTag(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _tiffReadProc(), _tiffSeekProc(), _tiffSizeProc(), _tiffStreamOpen(), _tiffUnmapProc(), _tiffWriteProc(), _tutime(), _wfdopen(), _wfreopen(), _wfsopen(), _write(), _wsopen(), _wsopen_s(), add_protocol(), AddWallpapersFromDirectory(), adns__fdevents(), adns__setnonblock(), adns__tcp_tryconnect(), adns_beforeselect(), adns_processexceptional(), adns_processreadable(), adns_processwriteable(), aexpand(), alloc_pioinfo_block(), cff_fd_select_get(), check_for_files(), clnt_dg_create(), clnt_tli_create(), clnt_vc_create(), codeview_snarf_linetab2(), compat_fdopen(), Control_DoWindow(), count_blocks(), create_io_inherit_block(), CRTDLL__fstat(), do_searchW(), DriverEnumProc(), epoll_ctl(), exists_path(), fallback_lseek(), fallback_read(), fd_event(), ffileread(), file_get_Size(), FileSize(), flush_output_buffer(), flush_output_resources(), FormatTagEnumProc(), fs_close(), fs_flush(), fs_open(), fs_read(), fs_test(), fs_write(), FsVolumeInfo(), FTPGetOneF(), FTPPutOneF(), ftruncate_growable(), generate_random(), get_ioinfo(), get_ioinfo_alloc(), get_ioinfo_alloc_fd(), get_ioinfo_nolock(), GetExpandedNameA(), getkeyserv_handle(), getnetid(), CWineTest::GetNextFile(), getpublicandprivatekey(), GetSocketLinger(), GetSocketNagleAlgorithm(), gz_open(), gzdopen(), ICreateTypeInfo2_fnAddFuncDesc(), import_certs_from_file(), import_certs_from_path(), init_logger_addr(), InitSReadlineInfo(), install_from_unix_file(), InternetCheckConnectionW(), InternetFindNextFileA(), llseek(), load_licence(), local_rpcb(), LZClose(), LZOpenFileA(), LZRead(), LZSeek(), main(), makefd_xprt(), mkstemps(), mpg123_open_fd(), msft_read_guid(), msvcrt_alloc_fd(), msvcrt_free_fd(), msvcrt_init_fp(), NetBTAstatRemote(), NetBTCall(), NetBTInternalFindName(), NetBTNameWaitLoop(), NetBTSendNameQuery(), NetBTSessionReq(), NetBTWaitForNameResponse(), nonblock(), OleCreateFontIndirect(), open_stream(), open_typelib(), parseAndPrintFile(), poll_isset(), posix_lseek(), posix_read(), PredictorPrintDir(), printercache_load_blob(), printercache_save_blob(), pstcache_enumerate(), pstcache_init(), pstcache_load_bitmap(), pstcache_save_bitmap(), pstcache_touch_bitmap(), rd_close_file(), rd_lock_file(), rd_lseek_file(), rd_open_file(), rd_read_file(), rd_write_file(), rdpdr_abort_io(), read_header(), read_i(), read_importlib(), read_msft_importlib(), read_vc(), readblock(), rpc_broadcast_exp(), rpc_call(), run_ex(), run_open_osfhandle(), rw(), save_licence(), SearchScreenSavers(), SelectSetAdd(), SelectSetRemove(), setled(), SetSocketLinger(), SetSocketNagleAlgorithm(), sock_recv(), sock_send(), subprocess(), svc_dg_create(), svc_fd_create(), svc_getreq_common(), svc_getreqset(), svc_tli_create(), svc_vc_create(), test__creat(), test__open_osfhandle(), test_AddRefHfont(), test_bitmap_font_metrics(), test_chsize(), test_FDICopy(), test_FDIIsCabinet(), test_fdopen(), test_file_inherit(), test_file_inherit_child(), test_file_inherit_child_no(), test_fileops(), Test_FindFirstFileA(), Test_FindFirstFileExA(), Test_FindFirstFileExW(), Test_FindFirstFileW(), test_get_osfhandle(), test_height(), test_height_selection_vdmx(), test_ifont_size(), test_IsEqual(), test_MoveFileA(), test_overwrite(), test_persistent_state(), test_pipes_child(), test_readmode(), test_ReleaseHfont(), test_setmode(), test_stat(), test_stdin(), test_VarFormat(), test_write_flush_size(), TIFFClose(), TIFFErrorExt(), TIFFFdOpen(), TIFFOpen(), TIFFOpenW(), TIFFPrintDirectory(), TIFFSetFileno(), TIFFWarningExt(), tlb_lseek(), tlb_read(), tmpfile(), TruncBatchLog(), udf_lseek64(), unintr_read(), unintr_write(), valid_offset(), WaitForRemoteInput(), WaitForRemoteOutput(), WaitResponse(), wexpand(), wpp_default_lookup(), WriteTable(), xmlCtxtReadFd(), xmlReadFd(), and xsltSaveResultToFd().
|
static |
Definition at line 49 of file io.c.
Referenced by fs_open(), and fs_write().