ReactOS 0.4.16-dev-424-ge4748fe
|
#include "cdprocs.h"
Go to the source code of this file.
Macros | |
#define | BugCheckFileId (CDFS_BUG_CHECK_DIRSUP) |
#define | CdRawDirent(IC, DC) Add2Ptr( (DC)->Sector, (DC)->SectorOffset, PRAW_DIRENT ) |
Variables | |
_In_ PFCB | Fcb |
_In_ PFCB _In_ PDIRENT_ENUM_CONTEXT | DirContext |
_In_ PFCB _In_ PDIRENT_ENUM_CONTEXT _Inout_ PDIRENT | Dirent |
Dirent | DirentOffset = DirContext->BaseOffset + DirContext->SectorOffset |
Dirent | DirentLength = RawDirent->DirLen |
Dirent | StartingOffset = RawDirent->XarLen |
Dirent | CdTime = (PCHAR)RawDirent->RecordTime |
Dirent | DirentFlags = CdRawDirentFlags( IrpContext, RawDirent ) |
Dirent | FileUnitSize |
Dirent | FileNameLen = RawDirent->FileIdLen |
Dirent | FileName = (PCHAR)RawDirent->FileId |
Dirent | XAAttributes = 0 |
Dirent | XAFileNumber = 0 |
Dirent | ExtentType = Form1Data |
Dirent | SystemUseOffset = 0 |
return | |
_In_ PFCB _In_ PCD_NAME | Name |
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN | IgnoreCase |
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _In_ ULONG | ShortNameDirentOffset |
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _In_ ULONG _Inout_ PFILE_ENUM_CONTEXT | FileContext |
ULONG | ThisShortNameDirentOffset = Dirent->DirentOffset >> SHORT_NAME_SHIFT |
do | |
return | Found |
#define BugCheckFileId (CDFS_BUG_CHECK_DIRSUP) |
#define CdRawDirent | ( | IC, | |
DC | |||
) | Add2Ptr( (DC)->Sector, (DC)->SectorOffset, PRAW_DIRENT ) |
_At_ | ( | Dirent-> | CdTime, |
_Post_notnull_ | |||
) |
_At_ | ( | FileContext->ShortName.FileName. | MaximumLength, |
_In_range_(>=, BYTE_COUNT_8_DOT_3) | |||
) |
Definition at line 823 of file dirsup.c.
XA_EXTENT_TYPE CdCheckForXAExtent | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PRAW_DIRENT | RawDirent, | ||
_Inout_ PDIRENT | Dirent | ||
) |
Definition at line 1790 of file dirsup.c.
Referenced by CdLookupLastFileDirent().
ULONG CdCheckRawDirentBounds | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PDIRENT_ENUM_CONTEXT | DirContext | ||
) |
Definition at line 1688 of file dirsup.c.
Referenced by CdLookupDirent(), and CdLookupNextDirent().
VOID CdCleanupFileContext | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFILE_ENUM_CONTEXT | FileContext | ||
) |
Definition at line 1636 of file dirsup.c.
Referenced by _Requires_lock_held_(), and CdInitializeEnumeration().
BOOLEAN CdFindDirectory | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFCB | Fcb, | ||
_In_ PCD_NAME | Name, | ||
_In_ BOOLEAN | IgnoreCase, | ||
_Inout_ PFILE_ENUM_CONTEXT | FileContext | ||
) |
Definition at line 997 of file dirsup.c.
VOID CdLookupDirent | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFCB | Fcb, | ||
_In_ ULONG | DirentOffset, | ||
_Out_ PDIRENT_ENUM_CONTEXT | DirContext | ||
) |
Definition at line 125 of file dirsup.c.
Referenced by _Requires_lock_held_(), and CdCreateInternalStream().
CdLookupInitialFileDirent | ( | IrpContext | , |
Fcb | , | ||
FileContext | , | ||
Fcb-> | StreamOffset | ||
) |
VOID CdLookupLastFileDirent | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFCB | Fcb, | ||
_In_ PFILE_ENUM_CONTEXT | FileContext | ||
) |
Definition at line 1426 of file dirsup.c.
Referenced by _Requires_lock_held_(), _Success_(), CdEnumerateIndex(), and if().
BOOLEAN CdLookupNextDirent | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFCB | Fcb, | ||
_In_ PDIRENT_ENUM_CONTEXT | CurrentDirContext, | ||
_Inout_ PDIRENT_ENUM_CONTEXT | NextDirContext | ||
) |
Definition at line 208 of file dirsup.c.
Referenced by _Requires_lock_held_(), CdInitializeFcbFromFileContext(), CdLookupLastFileDirent(), and CdLookupNextInitialFileDirent().
BOOLEAN CdLookupNextInitialFileDirent | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFCB | Fcb, | ||
_Inout_ PFILE_ENUM_CONTEXT | FileContext | ||
) |
Definition at line 1275 of file dirsup.c.
Referenced by _Requires_lock_held_(), _Success_(), CdEnumerateIndex(), CdFindDirectory(), and CdInitializeEnumeration().
VOID CdUpdateDirentName | ( | _In_ PIRP_CONTEXT | IrpContext, |
_Inout_ PDIRENT | Dirent, | ||
_In_ ULONG | IgnoreCase | ||
) |
Definition at line 534 of file dirsup.c.
Referenced by _Success_(), CdCreateInternalStream(), CdEnumerateIndex(), CdFindDirectory(), CdInitializeEnumeration(), and if().
CdVerifyOrCreateDirStreamFile | ( | IrpContext | , |
Fcb | |||
) |
Referenced by _Success_(), and CdFindDirectory().
ClearFlag | ( | Dirent-> | Flags, |
DIRENT_FLAG_NOT_PERSISTENT | |||
) |
if | ( | ! | FlagOnDirent->DirentFlags, CD_ATTRIBUTE_DIRECTORY) &&(Dirent->DirentLength >((FIELD_OFFSET(RAW_DIRENT, FileId)+Dirent->FileNameLen)+1) | ) |
Definition at line 523 of file dirsup.c.
if | ( | Found | ) |
if | ( | RawDirent-> | FileIdLen = = 0 | ) |
if | ( | RawDirent->IntLeaveSize ! | = 0 | ) |
Definition at line 1196 of file dirsup.c.
PAGED_CODE | ( | ) |
Referenced by _Success_(), CdCheckForXAExtent(), CdCheckRawDirentBounds(), CdCleanupFileContext(), CdFindDirectory(), CdLookupDirent(), CdLookupLastFileDirent(), CdLookupNextDirent(), CdLookupNextInitialFileDirent(), CdUpdateDirentName(), FatComputeLfnChecksum(), FatConstructDirent(), FatConstructLabelDirent(), and FatTunnelFcbOrDcb().
UNREFERENCED_PARAMETER | ( | Fcb | ) |
while | ( | CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext) | ) |
Referenced by __attribute__(), _DibFunction(), _Function_class_(), add_dirent_to_buf(), arith_decode(), BmpFrameDecode_ReadRLE4(), BmpFrameDecode_ReadRLE8(), CabinetExtractFile(), cmyk_ycck_convert(), codeview_add_type_enum_field_list(), codeview_add_type_struct_field_list(), convert_hex_csv_to_hex(), d3dx_effect_ApplyParameterBlock(), deflate(), delete_stat_item(), DrawTextFromClipboard(), duplicate_extents(), EfiVmCloseProtocol(), EfiVmOpenProtocol(), Ext2ReadGroupDescriptors(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), ext3_delete_entry(), fill_pnpentity(), find_revoke_record(), fixup_buffer_cr(), FltRegisterFilter(), free_parameter_block(), FxUsbCreateConfigRequest(), get_retrieval_pointers(), GetDmiString(), gl_DrawArrays(), GuiConsoleInputThread(), HalpAcpiGetTableFromBios(), Heap32First(), InfFindNextMatchLine(), InfGetMultiSzField(), InfpGetMultiSzField(), int_upsample(), IntSetClassMenuName(), load_chunk_root(), load_mesh_data(), MiInsertInSystemSpace(), MmAlterRegion(), NtfsReadAttribute(), ObQueryNameString(), open_fcb(), ParseSMBiosTables(), partial_stripe_read(), PciFindParentPciFdoExtension(), PciFindPdoByLocation(), pdb_process_symbol_imports(), pre_process_data(), prepare_png_alpha(), process_data_simple_main(), query_filesystems(), read_data(), rgb1_gray_convert(), rgb_gray_convert(), rgb_ycc_convert(), RtlNumberOfSetBits(), ScanForUnpartitionedDiskSpace(), scrub_raid6_stripe(), search_dirblock(), send_inode_extref(), send_inode_ref(), SetDiskSignature(), SetupDiDestroyDriverInfoList(), SetupDiEnumDeviceInterfaces(), sinc_hex_vari_process(), sinc_mono_vari_process(), sinc_multichan_vari_process(), sinc_quad_vari_process(), sinc_stereo_vari_process(), slipif_poll(), SmpApiLoop(), stabs_pts_read_range_value(), TIFFReadDirectoryFindFieldInfo(), UnhandledExceptionFilter(), unzReadCurrentFile(), update_chunk_cache_tree(), USBPORT_ParseConfigurationDescriptor(), vfatReleaseFCB(), VgaInterpretCmdStream(), write_metadata_items(), xsltCheckExtPrefix(), xsltCheckExtURI(), xsltGetKey(), xsltInitAllDocKeys(), xsltInitCtxtKey(), xsltInitCtxtKeys(), xsltInitDocKeyTable(), xsltRegisterExtPrefix(), XXH64_digest_endian(), ycc_rgb_convert(), and ycck_cmyk_convert().
_In_ PFCB _In_ PDIRENT_ENUM_CONTEXT DirContext |
Definition at line 399 of file dirsup.c.
Referenced by CdCheckRawDirentBounds(), and CdLookupDirent().
PDIRENT Dirent |
Definition at line 400 of file dirsup.c.
Referenced by _Success_(), CdCheckForXAExtent(), CdFindDirectory(), CdUpdateDirentName(), FatComputeLfnChecksum(), FatConstructDirent(), FatConstructLabelDirent(), and if().
Dirent DirentFlags = CdRawDirentFlags( IrpContext, RawDirent ) |
Dirent DirentLength = RawDirent->DirLen |
Dirent DirentOffset = DirContext->BaseOffset + DirContext->SectorOffset |
Definition at line 444 of file dirsup.c.
Referenced by CdGenerate8dot3Name(), CdInitializeEnumeration(), CdLookupDirent(), EtfspCachedSearchForDirent(), EtfspGetDirent(), EtfspSearchForDirent(), and main().
do |
Definition at line 520 of file dirsup.c.
Referenced by CdCheckForXAExtent(), CdLookupLastFileDirent(), and main().
Definition at line 398 of file dirsup.c.
Referenced by _Success_(), CdFindDirectory(), CdLookupDirent(), CdLookupLastFileDirent(), CdLookupNextDirent(), CdLookupNextInitialFileDirent(), and if().
Definition at line 1114 of file dirsup.c.
Referenced by _Success_(), CdCleanupFileContext(), CdFindDirectory(), CdLookupLastFileDirent(), CdLookupNextInitialFileDirent(), and if().
Dirent FileNameLen = RawDirent->FileIdLen |
Definition at line 506 of file dirsup.c.
Referenced by FatXSearchDirectoryBufferForFile(), main(), and VfatCreateFile().
Dirent FileUnitSize |
return Found |
Definition at line 1270 of file dirsup.c.
Referenced by _Requires_lock_held_(), _Success_(), AcpiNsGetDeviceCallback(), AddrSearchNext(), BlockIoEfiGetDeviceInformation(), CcpFindBcb(), CdEnumerateIndex(), CdFindDirectory(), CdInitializeEnumeration(), cff_parser_run(), ChanMgrGetChannelByName(), CheckForCurrentHostname(), cid_parser_new(), CmpFindSubKeyByName(), CmpGetNameControlBlock(), CmSetValueKey(), DeviceTableCompare(), DGRemoveIRP(), FileTableCompareWithSameAttributes(), FileTableCompareWithSubsetAttributes(), CHString::Find(), FindAttribute(), FindCheckItemByIndex(), FindCheckItemIndexByAccessMask(), FindExpectedFile(), FindFile(), DriveVolume::FindFreeRange(), FindLFNorSFN_U(), CHString::FindOneOf(), FindSymbolicLinkEntry(), FsRtlCheckLockForReadAccess(), FsRtlCheckLockForWriteAccess(), FsRtlFastCheckLockForRead(), FsRtlFastCheckLockForWrite(), GetFontPenalty(), GetLongPathNameW(), GetNextDosSesId(), GetShortPathNameW(), gray_record_cell(), HidParser_AddMainItem(), HidParser_UpdateCurrentCollectionReport(), if(), InterfacePciDevicePresent(), InterfacePciDevicePresentEx(), IsBatteryAlreadyOnList(), KdbSymInit(), KsFilterFactoryUpdateCacheData(), KspValidateConnectRequest(), LookupSidCache(), LsarEnumerateAccountsWithUserRight(), CDeviceManager::MainWndMenuHint(), MainWndMenuHint(), MiQueryMemoryBasicInformation(), MmGetSystemRoutineAddress(), MountMgrVolumeMountPointCreated(), NdisOpenAdapter(), NetGroupSetUsers(), NSP_GetServiceByNameHeapAllocW(), pfr_face_get_kerning(), ProcessRelocations(), QueryDosDeviceW(), CCabinet::ReadString(), RouterRemoveRoute(), RtlFindCharInUnicodeString(), RtlpDphRemoveFromAvailableList(), RxIsMemberOfTopLevelIrpAllocatedContextsList(), SamrLookupDomainInSamServer(), SpiCreatePortConfig(), SpQueryDeviceCallout(), SRomFindMasterAdapter(), START_TEST(), SubstituteFontRecurse(), T1_Get_Private_Dict(), T1_Set_MM_Design(), TCPAbortListenForSocket(), TCPRemoveIRP(), test_tcp(), test_udp(), tt_face_get_kerning(), UDFLoadPartDesc(), UDFVerifyPartDesc(), USBAudioSelectAudioStreamingInterface(), USBD_ParseConfigurationDescriptorEx(), and VideoPortScanRom().
Definition at line 1112 of file dirsup.c.
Referenced by _Success_(), CdFindDirectory(), CdUpdateDirentName(), and if().
return |
Definition at line 529 of file dirsup.c.
Referenced by _TIFFUInt64ToDouble(), _TIFFUInt64ToFloat(), addr_to_linear(), calc_output_multi(), DEVENUM_ReadPins(), DEVENUM_ReadPinTypes(), DIB_8BPP_GetPixel(), EDIT_EM_Scroll(), primStream::end(), get_versioned_classname(), getInterfaces(), inflateCodesUsed(), inflateMark(), linear_reset(), monoTriangulation2(), OleUninitialize(), PredictorVGetField(), ReadWritePassive(), FxIoTargetRemote::Remove(), FxIoQueue::ReturnReservedRequest(), ServiceControlHandler(), sinc_reset(), src_int_to_float_array(), src_short_to_float_array(), tagCompare(), test_file_full_size_information(), test_GetPrinterDriverDirectory(), ThemeHandleButton(), TIFFWriteRawStrip(), VerifyObjectOwner(), xdr_float(), xdrmem_getbytes(), xdrmem_putbytes(), and zoh_reset().
Definition at line 1113 of file dirsup.c.
Referenced by _Success_().
ThisShortNameDirentOffset = Dirent->DirentOffset >> SHORT_NAME_SHIFT |