ReactOS 0.4.16-dev-2-g02a6913
|
#include "fatprocs.h"
Go to the source code of this file.
Macros | |
#define | BugCheckFileId (FAT_BUG_CHECK_CREATE) |
#define | Dbg (DEBUG_TRACE_CREATE) |
#define | CollectCreateHitStatistics(VCB) |
#define | CollectCreateStatistics(VCB, STATUS) |
#define BugCheckFileId (FAT_BUG_CHECK_CREATE) |
_Requires_lock_held_ | ( | _Global_critical_region_ | ) |
Definition at line 56 of file create.c.
_Success_ | ( | return. | Status = = STATUS_SUCCESS | ) |
DebugTrace | ( | + | 1, |
Dbg | , | ||
"FatOpenExistingDirectory...\n" | , | ||
0 | |||
) |
DebugTrace | ( | - | 1, |
Dbg | |||
) |
IoSetShareAccess * DesiredAccess | ( | * | Dcb | ) | -> ShareAccess |
NTSTATUS FatCallSelfCompletionRoutine | ( | __in PDEVICE_OBJECT | DeviceObject, |
__in PIRP | Irp, | ||
__in PVOID | Contxt | ||
) |
Definition at line 6938 of file create.c.
NTSTATUS FatCheckShareAccess | ( | _In_ PIRP_CONTEXT | IrpContext, |
_In_ PFILE_OBJECT | FileObject, | ||
_In_ PFCB | FcbOrDcb, | ||
_In_ PACCESS_MASK | DesiredAccess, | ||
_In_ ULONG | ShareAccess | ||
) |
Definition at line 6870 of file create.c.
NTSTATUS FatCheckSystemSecurityAccess | ( | _In_ PIRP_CONTEXT | IrpContext | ) |
Definition at line 6828 of file create.c.
FatSetFileObject | ( | FileObject | , |
UserDirectoryOpen | , | ||
* | Dcb, | ||
UnwindCcb | = FatCreateCcb(IrpContext) |
||
) |
Referenced by _Requires_lock_held_(), and FatOpenEaFile().
VOID FatSetFullNameInFcb | ( | _In_ PIRP_CONTEXT | IrpContext, |
_Inout_ PFCB | Fcb, | ||
_In_ PUNICODE_STRING | FinalName | ||
) |
Definition at line 6718 of file create.c.
Referenced by FatSetRenameInfo().
if | ( | _SEH2_AbnormalTermination() | ) |
Definition at line 4379 of file create.c.
if | ( | Iosb.Status ! | = STATUS_SUCCESS | ) |
if | ( | IsFileObjectReadOnly(FileObject) | ) |
if | ( | NT_SUCCESS(Iosb.Status) | ) |
Definition at line 4355 of file create.c.
if | ( | OpenRequiringOplock && | Iosb.Status==STATUS_SUCCESS | ) |
Definition at line 4300 of file create.c.
PAGED_CODE | ( | ) |
UNREFERENCED_PARAMETER | ( | DeleteOnClose | ) |
UNREFERENCED_PARAMETER | ( | IrpSp | ) |
UNREFERENCED_PARAMETER | ( | OpenRequiringOplock | ) |
_SEH2_FINALLY |
Definition at line 4140 of file create.c.
Referenced by Ext2AddEntry(), Ext2BuildEntry(), Ext2DeleteFile(), Ext2ProcessEntry(), Ext2RemoveEntry(), Ext2SetFileType(), Ext2SetParentEntry(), FatCreateDcb(), FatPinMappedData(), if(), NpCheckForNotify(), NpCreateFcb(), NpCreateNewNamedPipe(), NpCreateRootDcb(), NpDeleteFcb(), NpFindRelativePrefix(), NpFsdCreate(), and NpOpenNamedPipeRootDirectory().
Definition at line 4150 of file create.c.
Referenced by Ext2CreateFile().
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG DirentByteOffset |
Definition at line 4144 of file create.c.
Referenced by _Requires_lock_held_().
LUID FatSecurityPrivilege = { SE_SECURITY_PRIVILEGE, 0 } |
Definition at line 50 of file create.c.
Referenced by FatCheckSystemSecurityAccess().
Definition at line 4402 of file create.c.
Referenced by _In_reads_(), _Requires_lock_held_(), _Success_(), AddDiskToList(), addIPAddress(), AddVolumeToList(), CcRosDeleteFileCache(), CcRosFlushDirtyPages(), CcRosFlushVacb(), CcZeroData(), CdPerformDevIoCtrl(), CdPerformDevIoCtrlEx(), CdProcessToc(), CdVerifyVcb(), ClassPnp(), ConnectNamedPipe(), CreateMailslotW(), CreateNamedPipeW(), CreatePartitionList(), deleteIpAddress(), DeviceIoControl(), DisconnectNamedPipe(), DumpDisk(), DumpPartition(), EngpFileIoRequest(), ExeFmtpReadFile(), Ext2OpenDevice(), Ext2OverwriteEa(), FatFlushDirentForFile(), FatFlushFat(), FatFlushFatEntries(), FatIsMediaWriteProtected(), FatPerformDevIoCtrl(), FatPerformVerifyDiskRead(), FatScanForDataTrack(), FatUnpinRepinnedBcbs(), GetMailslotInfo(), if(), IntGdiAddFontResourceEx(), IntLoadSystemFonts(), KdbpCliInit(), KdpDebugLogInit(), KdpLoggerThread(), LdrpCheckForLoadedDll(), LoadSymbolsRoutine(), main(), MiReadPageFile(), MmFlushSegment(), MmMakeSegmentResident(), MmWriteToSwapPage(), OpenInputDevice(), PeekNamedPipe(), ReadFile(), SetMailslotInfo(), SetNamedPipeHandleState(), TdiAssociateAddressFile(), TdiCall(), TdiDisassociateAddressFile(), tdiGetSetOfThings(), TdiOpenDevice(), TdiQueryDeviceControl(), TdiQueryInformation(), TdiReceiveDatagram(), TdiSendDatagram(), TdiSetEventHandler(), TransactNamedPipe(), UDFMountVolume(), UDFPhSendIOCTL(), UDFTSendIOCTL(), UDFVerifyVcb(), UDFVerifyVolume(), VfatFormat(), VfatxFormat(), WriteFile(), and WritePartitions().
_In_ PIO_STACK_LOCATION IrpSp |
Definition at line 4137 of file create.c.
Referenced by __attribute__(), _Dispatch_type_(), _Function_class_(), _Requires_lock_held_(), _Success_(), add_device(), add_thread_job(), AfdAccept(), AfdBindSocket(), AfdCancelHandler(), AfdCleanupSocket(), AfdCloseSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdCreateSocket(), AfdDisconnect(), AfdDispatch(), AfdEnumEvents(), AfdEventSelect(), AfdGetConnectData(), AfdGetConnectOptions(), AfdGetContext(), AfdGetContextSize(), AfdGetDisconnectData(), AfdGetDisconnectOptions(), AfdGetInfo(), AfdGetPeerName(), AfdGetSockName(), AfdGetTdiHandles(), AfdListenSocket(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), AfdQueryVolumeInformation(), AfdSelect(), AfdSetConnectData(), AfdSetConnectDataSize(), AfdSetConnectOptions(), AfdSetConnectOptionsSize(), AfdSetContext(), AfdSetDisconnectData(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptions(), AfdSetDisconnectOptionsSize(), AfdSetInfo(), AfdStreamSocketConnect(), AfdWaitForListen(), BatteryClassIoctl(), Bus_PDO_QueryInterface(), bus_pnp(), bus_query_capabilities(), CdAddToWorkque(), CdAllowExtendedDasdIo(), CdCommonDevControl(), CdCommonLockControl(), CdCreateIrpContext(), CdFspDispatch(), CdInitializeEnumeration(), CdIsVolumeDirty(), CdIsVolumeMounted(), CdMultipleXAAsync(), CdOperationIsDasdOpen(), CdVerifyFcbOperation(), CdVerifyVcb(), CheckUnlockExtraBuffers(), ClassPnp(), clean_space_cache(), CleanupPendingIrp(), control_ioctl(), create_stream(), delete_reparse_point(), dev_ioctl(), DispCancelListenRequest(), DispCancelRequest(), DispEchoRequest(), DispPrepareIrpForCancel(), DispTdiAssociateAddress(), DispTdiConnect(), DispTdiDisassociateAddress(), DispTdiDisconnect(), DispTdiListen(), DispTdiQueryInformation(), DispTdiQueryInformationEx(), DispTdiQueryIpHwAddress(), DispTdiReceive(), DispTdiReceiveDatagram(), DispTdiSend(), DispTdiSendDatagram(), DispTdiSetEventHandler(), DispTdiSetInformationEx(), do_read(), do_read_job(), Ext2AllowExtendedDasdIo(), Ext2Create(), Ext2CreateFile(), Ext2CreateVolume(), Ext2DeviceControlNormal(), Ext2ExceptionHandler(), Ext2Flush(), Ext2GetReparsePoint(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2InvalidateVolumes(), Ext2IsVolumeDirty(), Ext2LockIrp(), Ext2LockVolume(), Ext2NotifyChangeDirectory(), Ext2OplockRequest(), Ext2OverwriteEa(), Ext2QueryEa(), Ext2QueryRetrievalPointers(), Ext2ReadWriteBlocks(), Ext2SetDispositionInfo(), Ext2SetEa(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), Ext2SetReparsePoint(), Ext2UnlockVolume(), Ext2VerifyVcb(), Ext2WriteComplete(), FatAddToWorkque(), FatAllowExtendedDasdIo(), FatCheckSystemSecurityAccess(), FatCommonQueryEa(), FatCommonSetEa(), FatCompleteMdl(), FatCreateIrpContext(), FatFspDispatch(), FatGetStatistics(), FatIsVolumeDirty(), FatIsVolumeMounted(), FatMultipleAsync(), FatPagingFileIo(), FatPrePostIrp(), FatQueryBpb(), FatSetRenameInfo(), FatSetZeroOnDeallocate(), FatSingleAsync(), FatSingleNonAlignedSync(), FatSwapVpb(), FatUnlockVolume(), FatUnpinRepinnedBcbs(), FatVerifyOperationIsLegal(), FatVerifyVcb(), FdcFdoPnp(), FdcPdoPnp(), FdcPdoQueryCapabilities(), FdcPdoQueryId(), FdcPower(), FdoPnpControl(), FdoQueryBusRelations(), file_create(), file_create2(), flush_disk_caches(), fsctl_oplock(), fsctl_request(), get_compression(), GetLockedData(), InPortInternalDeviceControl(), InPortPnp(), InPortStartDevice(), IntVideoPortChildQueryCapabilities(), IntVideoPortChildQueryId(), IntVideoPortChildQueryRelations(), IntVideoPortChildQueryText(), IntVideoPortDispatchFdoPnp(), IntVideoPortDispatchPdoPnp(), IntVideoPortDispatchPower(), invalidate_volumes(), IopInitiatePnpIrp(), is_volume_dirty(), IsaFdoPnp(), IsaFdoQueryInterface(), IsaPdoFilterResourceRequirements(), IsaPdoPnp(), IsaPdoQueryCapabilities(), IsaPdoQueryDeviceRelations(), IsaPdoQueryDeviceText(), IsaPdoQueryDeviceUsageNotification(), IsaPdoQueryId(), IsaPdoQueryResourceRequirements(), IsaPdoQueryResources(), IsaReadPortQueryId(), LanAdapterInfo(), LanCloseProtocol(), LanCreateProtocol(), LanDispatch(), LanEnumAdapters(), LanReadData(), LanSetBufferedMode(), LanWriteData(), lock_volume(), LockRequest(), MiSimpleRead(), mount_vol(), mountdev_query_stable_guid(), NdisGenericIrpHandler(), NduDispatchClose(), NduDispatchCreate(), NduDispatchDeviceControl(), NduDispatchRead(), NduDispatchWrite(), nfs41_FsdDispatch(), notify_change_directory(), open_file(), open_file2(), open_file3(), OpenDeviceReadWrite(), oplock_complete(), PciDispatchDeviceControl(), PcmciaDeviceControl(), PcmciaPower(), pdo_device_usage_notification(), pdo_pnp(), pdo_query_device_relations(), pdo_query_id(), PdoPnpControl(), PdoPowerControl(), PdoQueryBusInformation(), PdoQueryCapabilities(), PdoQueryDeviceRelations(), PdoQueryDeviceText(), PdoQueryId(), PdoQueryInterface(), PdoQueryResourceRequirements(), PdoQueryResources(), PdoReadConfig(), PdoStartDevice(), PdoWriteConfig(), pnp_device_usage_notification(), PnpRootFdoPnpControl(), PnpRootPdoPnpControl(), PnpRootPowerControl(), PopSendQuerySystemPowerState(), PopSendSetSystemPowerState(), print_debug_header(), ProcessorPnp(), query_dir_item(), query_directory(), query_info(), QueryAdapterOid(), QueryBinding(), read_data(), ReadIrpCancel(), RxGetSessionId(), SatisfyPacketRecvRequest(), scrub_chunk_raid56_stripe_run(), scrub_extent(), set_case_sensitive_information(), set_compression(), set_reparse_point(), set_valid_data_length_information(), SetAdapterOid(), sync_read_phys(), TCPAcceptEventHandler(), TiCloseFileObject(), TiCreateFileObject(), TiDispatch(), TiDispatchInternal(), TiDispatchOpenClose(), UDFAllocateIrpContext(), UDFCommonCleanup(), UDFCommonClose(), UDFCommonCreate(), UDFCommonDeviceControl(), UDFCommonDirControl(), UDFCommonFileInfo(), UDFCommonFlush(), UDFCommonFSControl(), UDFCommonLockControl(), UDFCommonPnp(), UDFCommonQueryVolInfo(), UDFCommonRead(), UDFCommonSetVolInfo(), UDFCommonShutdown(), UDFCommonWrite(), UDFDismountVolume(), UDFGetFileAllocModeFromICB(), UDFGetRetrievalPointers(), UDFGetStatistics(), UDFGetVolumeBitmap(), UDFInvalidateVolumes(), UDFIsPathnameValid(), UDFIsVolumeDirty(), UDFIsVolumeMounted(), UDFLockVolume(), UDFMdlComplete(), UDFMountVolume(), UDFNotifyChangeDirectory(), UDFPerformVerify(), UDFQueryDirectory(), UDFSetFileAllocModeFromICB(), UDFUnlockVolume(), UDFUserFsCtrlRequest(), UDFVerifyVolume(), unlock_volume(), UnlockRequest(), vol_device_control(), vol_get_device_number(), vol_get_disk_extents(), vol_get_drive_geometry(), vol_get_gpt_attributes(), vol_get_length(), vol_ioctl_passthrough(), vol_is_dynamic(), vol_query_device_name(), vol_query_stable_guid(), vol_query_unique_id(), vol_read(), vol_write(), write_data_phys(), and write_superblock().
IN PFCB IN OUT PUNICODE_STRING Lfn |
Definition at line 4145 of file create.c.
Referenced by _Requires_lock_held_(), FatConstructDirent(), FatConstructNamesInFcb(), FatCreateDcb(), and FatCreateFcb().
Definition at line 4149 of file create.c.
Referenced by Ext2CreateFile().
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB ParentDcb |
Definition at line 4141 of file create.c.
Referenced by Ext2DeleteReparsePoint(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), Ext2SetReparsePoint(), FatCreateDcb(), and FatCreateFcb().
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Out_ PIO_STATUS_BLOCK _In_ ULONG ShareAccess |
Definition at line 4147 of file create.c.
Referenced by _Requires_lock_held_(), BasepOpenFileForMove(), CreateNamedPipeW(), Ext2CreateFile(), Ext2CreateVolume(), FatCheckShareAccess(), IoCheckShareAccess(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IopCreateFile(), IoRemoveShareAccess(), IoSetShareAccess(), IoUpdateShareAccess(), main(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), NpCreatePipe(), NpCreatePipeEx(), NpFsdCreateNamedPipe(), NpOpenPipe(), NpOpenPipeEx(), NtCreateFile(), NtCreateNamedPipeFile(), NtOpenFile(), OpenMupFileSystem(), pOpenDeviceEx(), RawCreate(), RxCheckShareAccessPerSrvOpens(), RxCollapseOrCreateSrvOpen(), RxRemoveShareAccessPerSrvOpens(), RxSearchForCollapsibleOpen(), RxUpdateShareAccessPerSrvOpens(), TdiOpenDevice(), UDFCheckAccessRights(), UDFCommonCreate(), and UDFSetAccessRights().