亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fs.h

?? efs文件系統源代碼
?? H
字號:
/*****************************************************************************\*                     EFSL - Embedded Filesystems Library                     **                     -----------------------------------                     **                                                                             ** Filename : fs.h                                                             ** Release  : 0.3 - devel                                                      ** Description : These are general filesystem functions, supported by the      **               functions of dir.c and fat.c  file.c uses these functions     **               heavily, but is not used by fs.c (not true anymore)           **                                                                             ** This program is free software; you can redistribute it and/or               ** modify it under the terms of the GNU General Public License                 ** as published by the Free Software Foundation; version 2                     ** of the License.                                                             **                                                                             ** This program is distributed in the hope that it will be useful,             ** but WITHOUT ANY WARRANTY; without even the implied warranty of              ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               ** GNU General Public License for more details.                                **                                                                             ** As a special exception, if other files instantiate templates or             ** use macros or inline functions from this file, or you compile this          ** file and link it with other works to produce a work based on this file,     ** this file does not by itself cause the resulting work to be covered         ** by the GNU General Public License. However the source code for this         ** file must still be made available in accordance with section (3) of         ** the GNU General Public License.                                             **                                                                             ** This exception does not invalidate any other reasons why a work based       ** on this file might be covered by the GNU General Public License.            **                                                                             **                                                    (c)2006 Lennart Yseboodt **                                                    (c)2006 Michael De Nil   *\*****************************************************************************/#ifndef __FS_H_#define __FS_H_/*****************************************************************************/#include "config.h"#include "types.h"#include "error.h"#include "partition.h"#include "debug.h"#include "time.h"#include "extract.h"/*****************************************************************************/#define FAT12 1#define FAT16 2#define FAT32 3#define FS_INFO_SECTOR 1#define FSINFO_MAGIC_BEGIN 0x41615252#define FSINFO_MAGIC_END   0xAA550000/*****************************************************************************************\              VolumeId               ------  * ushort BytesPerSector		Must be 512 or shit happens.* uchar  SectorsPerCluster	Must be multiple of 2 (1,2,4,8,16 or 32)* ushort ReservedSectorCount	Number of sectors after which the first FAT begins.* uchar	 NumberOfFats		Should be 2* ushort RootEntryCount		Number of filerecords the Rootdir can contain. NOT for FAT32* ushort SectorCount16		Number of Sectors for 12/16 bit FAT * ushort FatSectorCount16	Number of Sectors for 1 FAT on FAT12/16 bit FAT's* ulong  SectorCount32		Number of Sectors for 32 bit FAT* ulong FatSectorCount32	Number of Sectors for 1 FAT on FAT32 * ulong RootCluster			Clusternumber of the first cluster of the RootDir on FAT 32This is NOT a complete volumeId copy, no direct I/O is possible.\*****************************************************************************************/struct _VolumeId{	euint16 BytesPerSector;	euint8 SectorsPerCluster;	euint16 ReservedSectorCount;	euint8 NumberOfFats;	euint16 RootEntryCount;	euint16 SectorCount16;	euint16 FatSectorCount16;	euint32 SectorCount32;	euint32 FatSectorCount32;	euint32 RootCluster;};typedef struct _VolumeId VolumeId;/**************************************************************************************************\              FileSystem               --------* Partition* 	part		Pointer to partition on which this FS resides.* VolumeId		volumeId	Contains important FS info.* ulong			DataClusterCount	Number of dataclusters. This number determines the FATType.* ulong			FatSectorCount		Number of sectors for 1 FAT, regardless of FATType* ulong			SectorCount			Number of sectors, regardless of FATType* ulong 		FirstSectorRootDir	First sector of the RootDir. * uchar			type				Determines FATType (FAT12 FAT16 or FAT32 are defined)\**************************************************************************************************/struct _FileSystem{	Partition *part;	VolumeId volumeId;	euint32 DataClusterCount;	euint32 FatSectorCount;	euint32 SectorCount;	euint32 FirstSectorRootDir;	euint32 FirstClusterCurrentDir;	euint32 FreeClusterCount;	euint32 NextFreeCluster;	euint8 type;};typedef struct _FileSystem FileSystem;/**************************************************************************************************\              FileLocation               ----------* euint32		Sector				Sector where the directoryentry of the file/directory can be found.* euint8		Offset				Offset (in 32byte segments) where in the sector the entry is.\**************************************************************************************************/struct _FileLocation{	euint32 Sector;	euint8 Offset;	euint8 attrib;};typedef struct _FileLocation FileLocation;/*****************************************************************************\*                               FileCache                                    *                              -----------                                   * This struct acts as cache for the current file. It contains the current    * FATPointer (next location in the FAT table), LogicCluster                  * (the last part of the file that was read) and DataCluster                  * (the last cluster that was read).     * euint8		Linear				For how many more clusters the file is nonfragmented* euint32		LogicCluster		This field determines the n'th cluster of the file as current* euint32		DiscCluster		If this field is 0, it means the cache is invalid. Otherwise									it is the clusternumber corresponding with 									logic(FirstCluster+LogicCluster).* euint32		FirstCluster		First cluster of the chain. Zero or one are invalid.* euint32		LastCluster		Last cluster of the chain (is not always filled in)\*****************************************************************************/struct _ClusterChain{	euint8 Linear;	esint32 LogicCluster;	euint32 DiscCluster;	euint32 FirstCluster;	euint32 LastCluster;};typedef struct _ClusterChain ClusterChain;/*****************************************************************************\*                               FileRecord                                    **                              ------------                                   ** This struct represents a 32 byte file entry as it occurs in the data area   ** of the filesystem. Direct I/O is possible.                                  *\*****************************************************************************/struct _FileRecord{	euint8 FileName[11];	euint8 Attribute;	euint8 NTReserved;	euint8 MilliSecTimeStamp;	euint16 CreatedTime;	euint16 CreatedDate;	euint16 AccessDate;	euint16 FirstClusterHigh;	euint16 WriteTime;	euint16 WriteDate;	euint16 FirstClusterLow;	euint32 FileSize;};typedef struct _FileRecord FileRecord;eint16 fs_initFs(FileSystem *fs,Partition *part);eint16 fs_isValidFat(Partition *part);void fs_loadVolumeId(FileSystem *fs, Partition *part);esint16 fs_verifySanity(FileSystem *fs);void fs_countDataSectors(FileSystem *fs);void fs_determineFatType(FileSystem *fs);void fs_findFirstSectorRootDir(FileSystem *fs);void fs_initCurrentDir(FileSystem *fs);euint32 fs_getSectorAddressRootDir(FileSystem *fs,euint32 secref);euint32 fs_clusterToSector(FileSystem *fs,euint32 cluster);euint32 fs_sectorToCluster(FileSystem *fs,euint32 sector);euint32 fs_getNextFreeCluster(FileSystem *fs,euint32 startingcluster);euint32 fs_giveFreeClusterHint(FileSystem *fs);esint16 fs_findFreeFile(FileSystem *fs,eint8* filename,FileLocation *loc,euint8 mode);esint8 fs_findFile(FileSystem *fs,eint8* filename,FileLocation *loc,euint32 *lastDir);esint8 fs_findFile_broken(FileSystem *fs,eint8* filename,FileLocation *loc);euint32 fs_getLastCluster(FileSystem *fs,ClusterChain *Cache);euint32 fs_getFirstClusterRootDir(FileSystem *fs);euint16 fs_makeDate(void);euint16 fs_makeTime(void);void fs_setFirstClusterInDirEntry(FileRecord *rec,euint32 cluster_addr);void fs_initClusterChain(FileSystem *fs,ClusterChain *cache,euint32 cluster_addr);esint8 fs_flushFs(FileSystem *fs);esint8 fs_umount(FileSystem *fs);esint8 fs_clearCluster(FileSystem *fs,euint32 cluster);esint8 fs_getFsInfo(FileSystem *fs);esint8 fs_setFsInfo(FileSystem *fs);#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区在线| 国产视频在线观看一区二区三区 | 欧美探花视频资源| 欧美变态tickling挠脚心| 亚洲欧美一区二区三区极速播放 | 久久97超碰国产精品超碰| 色老汉一区二区三区| 精品福利在线导航| 亚洲18色成人| 91视频你懂的| 国产午夜一区二区三区| 日韩av一二三| 欧洲av在线精品| 国产精品国产精品国产专区不蜜 | 国产精品综合一区二区三区| 欧美年轻男男videosbes| 亚洲女同一区二区| 成人免费视频视频| 久久丝袜美腿综合| 日本欧美加勒比视频| 欧美日韩精品免费| 亚洲综合区在线| 91农村精品一区二区在线| 国产日韩欧美综合在线| 国产又粗又猛又爽又黄91精品| 91精品国产91久久久久久最新毛片| 亚洲一区二区视频| 在线免费观看日韩欧美| 一区二区三区在线观看视频| 91碰在线视频| 亚洲乱码日产精品bd| 99精品欧美一区| 中文一区二区在线观看| 国产一区二区三区免费在线观看| 日韩丝袜美女视频| 久久精品国产久精国产爱| 欧美一卡二卡三卡四卡| 丝袜亚洲另类欧美| 7777精品伊人久久久大香线蕉的| 一区二区三区在线观看动漫| proumb性欧美在线观看| 国产亚洲精品资源在线26u| 久久精品国产色蜜蜜麻豆| 337p亚洲精品色噜噜| 亚洲国产精品人人做人人爽| 国产一区二区三区在线观看免费 | 国产制服丝袜一区| 这里只有精品免费| 亚洲18色成人| 欧美日韩日本视频| 亚洲午夜av在线| 欧洲人成人精品| 亚洲精品免费视频| 国产91精品一区二区| 国产精品水嫩水嫩| av激情综合网| 国产精品久久精品日日| 国产成人高清在线| 国产欧美一区二区三区在线看蜜臀 | av高清不卡在线| 中文字幕成人av| 成人免费的视频| 国产精品久久看| 豆国产96在线|亚洲| 亚洲国产精品二十页| 国产成人一区在线| 国产精品乱码久久久久久| 从欧美一区二区三区| 中文字幕色av一区二区三区| 91麻豆6部合集magnet| 亚洲欧洲制服丝袜| 欧美综合在线视频| 亚洲精品国久久99热| 91免费观看视频| 亚洲人成网站精品片在线观看| 91国产成人在线| 午夜精品久久久久| 日韩欧美高清dvd碟片| 国产精品影视在线观看| 中文子幕无线码一区tr| 99久久免费国产| 亚洲图片欧美一区| 91精品免费在线观看| 久久99久久精品欧美| 2021中文字幕一区亚洲| 成人黄页毛片网站| 中文字幕亚洲一区二区va在线| 91精品办公室少妇高潮对白| 亚洲女同女同女同女同女同69| 欧美日韩综合不卡| 激情五月婷婷综合网| 亚洲国产精品成人综合| av电影一区二区| 亚洲一区二区三区精品在线| 日韩欧美一区二区在线视频| 国产麻豆成人传媒免费观看| 亚洲欧美成人一区二区三区| 51午夜精品国产| 国产精品亚洲第一 | 在线看日本不卡| 亚洲欧美偷拍另类a∨色屁股| 91亚洲国产成人精品一区二三| 亚洲欧美综合网| 日韩一级片网站| 不卡一区二区三区四区| 亚洲地区一二三色| 久久久久国产一区二区三区四区| 99精品在线免费| 麻豆国产精品官网| 亚洲欧洲另类国产综合| 91麻豆精品国产自产在线观看一区| 韩国女主播成人在线观看| 亚洲美女偷拍久久| 久久综合九色综合97婷婷女人 | 亚洲精品中文在线影院| 欧美日韩免费电影| 五月天一区二区| 欧美日韩国产精选| 麻豆传媒一区二区三区| 精品1区2区在线观看| 国产精品中文有码| 一区二区视频免费在线观看| 在线视频中文字幕一区二区| 激情六月婷婷久久| 一区二区三区四区乱视频| 精品国产sm最大网站| 国内外精品视频| 3d动漫精品啪啪| 91麻豆精品国产91久久久使用方法 | wwww国产精品欧美| 在线观看成人小视频| 国产成人小视频| 日韩精品一级二级| 亚洲欧美激情在线| 久久品道一品道久久精品| 欧美日韩欧美一区二区| 91社区在线播放| 国产精品一区二区在线看| 亚洲午夜精品17c| 国产免费久久精品| 日韩女同互慰一区二区| 色婷婷综合久久久久中文一区二区| 国产乱对白刺激视频不卡| 亚洲永久精品大片| 国产精品高潮呻吟| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美三片在线视频观看 | **欧美大码日韩| 2024国产精品| 日韩一二三区不卡| 欧美性大战久久久| 91美女视频网站| 成人精品在线视频观看| 国产一区二三区| 久久激情综合网| 日本 国产 欧美色综合| 亚洲欧美电影院| 国产丝袜在线精品| 欧美成人一区二区三区在线观看| 在线观看国产91| 91福利在线看| 91香蕉视频mp4| 成人精品鲁一区一区二区| 国产一区二区剧情av在线| 美女一区二区三区| 免费人成精品欧美精品| 三级欧美在线一区| 亚洲不卡一区二区三区| 亚洲一区二区3| 亚洲成av人片www| 香港成人在线视频| 亚洲美女电影在线| 一区二区三区在线视频观看| 亚洲精品va在线观看| 一区二区三区中文字幕电影| 一区二区欧美在线观看| 一区二区三区四区乱视频| 亚洲自拍偷拍综合| 亚洲一区在线视频| 天天亚洲美女在线视频| 免费在线看成人av| 麻豆久久久久久久| 国产在线精品免费| 国产精品资源在线看| 狠狠色伊人亚洲综合成人| 国产乱人伦偷精品视频免下载| 国产成人精品免费网站| 成人动漫中文字幕| 色播五月激情综合网| 欧美日韩成人一区二区| 日韩一区二区三区电影| 欧美精品一区二区不卡| 国产色产综合产在线视频| 中文字幕成人av| 国产精品拍天天在线| 亚洲一区二区三区视频在线 | 欧美一级淫片007| 欧美一级高清片在线观看| 久久免费国产精品| 日韩一区日韩二区|