|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <ntoskrnl.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| ERESOURCE | IopSecurityResource |
| VOID NTAPI IoCancelFileOpen | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PFILE_OBJECT | FileObject | ||
| ) |
Definition at line 3598 of file file.c.
| NTSTATUS NTAPI IoChangeFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject, |
| IN PVOID | FilterContext, | ||
| IN BOOLEAN | Define | ||
| ) |
Definition at line 2512 of file file.c.
Referenced by FsRtlInsertPerFileObjectContext(), and FsRtlPTeardownPerFileObjectContexts().
| NTSTATUS NTAPI IoCheckQuerySetFileInformation | ( | IN FILE_INFORMATION_CLASS | FileInformationClass, |
| IN ULONG | Length, | ||
| IN BOOLEAN | SetOperation | ||
| ) |
| NTSTATUS NTAPI IoCheckQuotaBufferValidity | ( | IN PFILE_QUOTA_INFORMATION | QuotaBuffer, |
| IN ULONG | QuotaLength, | ||
| OUT PULONG | ErrorOffset | ||
| ) |
| NTSTATUS NTAPI IoCheckShareAccess | ( | IN ACCESS_MASK | DesiredAccess, |
| IN ULONG | DesiredShareAccess, | ||
| IN PFILE_OBJECT | FileObject, | ||
| IN PSHARE_ACCESS | ShareAccess, | ||
| IN BOOLEAN | Update | ||
| ) |
Definition at line 3391 of file file.c.
Referenced by Ext2CreateFile(), Ext2CreateVolume(), FatCheckShareAccess(), open_file2(), OpenMupFileSystem(), RawCreate(), UDFCheckAccessRights(), and VfatCreateFile().
| NTSTATUS NTAPI IoCreateFile | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN PLARGE_INTEGER AllocationSize | OPTIONAL, | ||
| IN ULONG | FileAttributes, | ||
| IN ULONG | ShareAccess, | ||
| IN ULONG | Disposition, | ||
| IN ULONG | CreateOptions, | ||
| IN PVOID EaBuffer | OPTIONAL, | ||
| IN ULONG | EaLength, | ||
| IN CREATE_FILE_TYPE | CreateFileType, | ||
| IN PVOID ExtraCreateParameters | OPTIONAL, | ||
| IN ULONG | Options | ||
| ) |
Definition at line 3011 of file file.c.
Referenced by BroadcastOpen(), CreateRemoteDatabaseWorker(), FsRtlTest_OpenTestDirectory(), FsRtlTest_OpenTestFile(), IopOpenLinkOrRenameTarget(), KernelModeTest(), KspCreateObjectType(), NpCreatePipeEx(), NpOpenPipeEx(), NpWaitPipe(), NtCreateFile(), NtCreateMailslotFile(), NtCreateNamedPipeFile(), NtCreatePagingFile(), NtOpenFile(), OpenRemoteDatabase(), TestIoCreateFile(), TestSymlinks(), UserModeTest(), VfatSetRenameInformation(), and WdmAudOpenSysAudioDevice().
| NTSTATUS NTAPI IoCreateFileSpecifyDeviceObjectHint | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN PLARGE_INTEGER AllocationSize | OPTIONAL, | ||
| IN ULONG | FileAttributes, | ||
| IN ULONG | ShareAccess, | ||
| IN ULONG | Disposition, | ||
| IN ULONG | CreateOptions, | ||
| IN PVOID EaBuffer | OPTIONAL, | ||
| IN ULONG | EaLength, | ||
| IN CREATE_FILE_TYPE | CreateFileType, | ||
| IN PVOID ExtraCreateParameters | OPTIONAL, | ||
| IN ULONG | Options, | ||
| IN PVOID | DeviceObject | ||
| ) |
Definition at line 3051 of file file.c.
Referenced by IopOpenLinkOrRenameTarget().
| PFILE_OBJECT NTAPI IoCreateStreamFileObject | ( | IN PFILE_OBJECT | FileObject, |
| IN PDEVICE_OBJECT | DeviceObject | ||
| ) |
Definition at line 3188 of file file.c.
Referenced by _Requires_lock_held_(), Ext2InitializeVcb(), FatOpenEaFile(), mount_vol(), NtfsFCBInitializeCache(), NtfsMountVolume(), PerformTest(), vfatFCBInitializeCacheFromVolume(), and VfatMount().
| PFILE_OBJECT NTAPI IoCreateStreamFileObjectEx | ( | IN PFILE_OBJECT FileObject | OPTIONAL, |
| IN PDEVICE_OBJECT DeviceObject | OPTIONAL, | ||
| OUT PHANDLE FileObjectHandle | OPTIONAL | ||
| ) |
Definition at line 3101 of file file.c.
Referenced by IoCreateStreamFileObject().
| PFILE_OBJECT NTAPI IoCreateStreamFileObjectLite | ( | IN PFILE_OBJECT FileObject | OPTIONAL, |
| IN PDEVICE_OBJECT DeviceObject | OPTIONAL | ||
| ) |
Definition at line 3200 of file file.c.
Referenced by CdCreateInternalStream(), and RawMountVolume().
| BOOLEAN NTAPI IoFastQueryNetworkAttributes | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN ULONG | OpenOptions, | ||
| OUT PIO_STATUS_BLOCK | IoStatus, | ||
| OUT PFILE_NETWORK_OPEN_INFORMATION | Buffer | ||
| ) |
Definition at line 3290 of file file.c.
| PVOID NTAPI IoGetFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 2497 of file file.c.
Referenced by FsRtlInsertPerFileObjectContext(), FsRtlLookupPerFileObjectContext(), FsRtlPTeardownPerFileObjectContexts(), and FsRtlRemovePerFileObjectContext().
| PGENERIC_MAPPING NTAPI IoGetFileObjectGenericMapping | ( | VOID | ) |
Definition at line 3268 of file file.c.
Referenced by create_directory_fcb(), create_stream(), create_subvol(), FatExplicitDeviceAccessGranted(), fcb_get_new_sd(), fcb_get_sd(), file_create(), KsCreateDefaultSecurity(), KsDispatchSetSecurity(), mknod(), NpCommonSetSecurityInfo(), NpCreateClientEnd(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), open_file2(), set_file_security(), set_link_information(), set_rename_information(), UDFCheckAccessRights(), and UDFSetAccessRights().
| BOOLEAN NTAPI IoIsFileOriginRemote | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 3279 of file file.c.
Referenced by CcCanIWrite().
| NTSTATUS NTAPI IopAcquireFileObjectLock | ( | _In_ PFILE_OBJECT | FileObject, |
| _In_ KPROCESSOR_MODE | WaitMode, | ||
| _In_ BOOLEAN | Alertable, | ||
| _Out_ PBOOLEAN | LockFailed | ||
| ) |
Definition at line 2451 of file file.c.
Referenced by IopLockFileObject().
| VOID NTAPI IopCheckBackupRestorePrivilege | ( | IN PACCESS_STATE | AccessState, |
| IN OUT PULONG | CreateOptions, | ||
| IN KPROCESSOR_MODE | PreviousMode, | ||
| IN ULONG | Disposition | ||
| ) |
Definition at line 25 of file file.c.
Referenced by IopParseDevice().
| NTSTATUS NTAPI IopCheckDeviceAndDriver | ( | IN POPEN_PACKET | OpenPacket, |
| IN PDEVICE_OBJECT | DeviceObject | ||
| ) |
Definition at line 135 of file file.c.
Referenced by IopParseDevice().
| NTSTATUS IopCheckTopDeviceHint | ( | IN OUT PDEVICE_OBJECT * | DeviceObject, |
| IN POPEN_PACKET | OpenPacket, | ||
| BOOLEAN | DirectOpen | ||
| ) |
Definition at line 275 of file file.c.
Referenced by IopParseDevice().
| VOID NTAPI IopCloseFile | ( | IN PEPROCESS Process | OPTIONAL, |
| IN PVOID | ObjectBody, | ||
| IN ACCESS_MASK | GrantedAccess, | ||
| IN ULONG | HandleCount, | ||
| IN ULONG | SystemHandleCount | ||
| ) |
Definition at line 2179 of file file.c.
Referenced by IopCreateObjectTypes(), and IopDeleteFile().
| NTSTATUS NTAPI IopCreateFile | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN PLARGE_INTEGER AllocationSize | OPTIONAL, | ||
| IN ULONG | FileAttributes, | ||
| IN ULONG | ShareAccess, | ||
| IN ULONG | Disposition, | ||
| IN ULONG | CreateOptions, | ||
| IN PVOID EaBuffer | OPTIONAL, | ||
| IN ULONG | EaLength, | ||
| IN CREATE_FILE_TYPE | CreateFileType, | ||
| IN PVOID ExtraCreateParameters | OPTIONAL, | ||
| IN ULONG | Options, | ||
| IN ULONG | Flags, | ||
| IN PDEVICE_OBJECT DeviceObject | OPTIONAL | ||
| ) |
Definition at line 2555 of file file.c.
Referenced by IoCreateFile(), and IoCreateFileSpecifyDeviceObjectHint().
Definition at line 1355 of file file.c.
Referenced by IopCreateObjectTypes(), and IopParseDevice().
| VOID NTAPI IopDoNameTransmogrify | ( | IN PIRP | Irp, |
| IN PFILE_OBJECT | FileObject, | ||
| IN PREPARSE_DATA_BUFFER | DataBuffer | ||
| ) |
Definition at line 170 of file file.c.
Referenced by IopCompleteRequest(), and IopParseDevice().
| PDEVICE_OBJECT NTAPI IopGetDeviceAttachmentBase | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1486 of file file.c.
Referenced by IopGetDevicePDO(), and IopVerifyDriverObjectOnStack().
| PDEVICE_OBJECT NTAPI IopGetDevicePDO | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1499 of file file.c.
Referenced by IopGetSetSecurityObject().
| NTSTATUS NTAPI IopGetSetSecurityObject | ( | IN PVOID | ObjectBody, |
| IN SECURITY_OPERATION_CODE | OperationCode, | ||
| IN PSECURITY_INFORMATION | SecurityInformation, | ||
| IN PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
| IN OUT PULONG | BufferLength, | ||
| IN OUT PSECURITY_DESCRIPTOR * | OldSecurityDescriptor, | ||
| IN POOL_TYPE | PoolType, | ||
| IN OUT PGENERIC_MAPPING | GenericMapping | ||
| ) |
Definition at line 1654 of file file.c.
| NTSTATUS NTAPI IopParseDevice | ( | IN PVOID | ParseObject, |
| IN PVOID | ObjectType, | ||
| IN OUT PACCESS_STATE | AccessState, | ||
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN ULONG | Attributes, | ||
| IN OUT PUNICODE_STRING | CompleteName, | ||
| IN OUT PUNICODE_STRING | RemainingName, | ||
| IN OUT PVOID | Context, | ||
| IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
| OUT PVOID * | Object | ||
| ) |
Definition at line 324 of file file.c.
Referenced by IopCreateObjectTypes(), and IopParseFile().
| NTSTATUS NTAPI IopParseFile | ( | IN PVOID | ParseObject, |
| IN PVOID | ObjectType, | ||
| IN OUT PACCESS_STATE | AccessState, | ||
| IN KPROCESSOR_MODE | AccessMode, | ||
| IN ULONG | Attributes, | ||
| IN OUT PUNICODE_STRING | CompleteName, | ||
| IN OUT PUNICODE_STRING | RemainingName, | ||
| IN OUT PVOID Context | OPTIONAL, | ||
| IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
| OUT PVOID * | Object | ||
| ) |
Definition at line 1319 of file file.c.
Referenced by IopCreateObjectTypes().
| NTSTATUS NTAPI IopQueryAttributesFile | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
| IN FILE_INFORMATION_CLASS | FileInformationClass, | ||
| IN ULONG | FileInformationSize, | ||
| OUT PVOID | FileInformation | ||
| ) |
Definition at line 2345 of file file.c.
Referenced by NtQueryAttributesFile(), and NtQueryFullAttributesFile().
| NTSTATUS NTAPI IopQueryName | ( | IN PVOID | ObjectBody, |
| IN BOOLEAN | HasName, | ||
| OUT POBJECT_NAME_INFORMATION | ObjectNameInfo, | ||
| IN ULONG | Length, | ||
| OUT PULONG | ReturnLength, | ||
| IN KPROCESSOR_MODE | PreviousMode | ||
| ) |
Definition at line 1926 of file file.c.
Referenced by IopCreateObjectTypes().
| NTSTATUS NTAPI IopQueryNameInternal | ( | IN PVOID | ObjectBody, |
| IN BOOLEAN | HasName, | ||
| IN BOOLEAN | QueryDosName, | ||
| OUT POBJECT_NAME_INFORMATION | ObjectNameInfo, | ||
| IN ULONG | Length, | ||
| OUT PULONG | ReturnLength, | ||
| IN KPROCESSOR_MODE | PreviousMode | ||
| ) |
Definition at line 1944 of file file.c.
Referenced by IopQueryName(), and IoQueryFileDosDeviceName().
| NTSTATUS NTAPI IopSetDeviceSecurityDescriptor | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PSECURITY_INFORMATION | SecurityInformation, | ||
| IN PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
| IN POOL_TYPE | PoolType, | ||
| IN PGENERIC_MAPPING | GenericMapping | ||
| ) |
Definition at line 1525 of file file.c.
Referenced by IopGetSetSecurityObject(), and IopSetDeviceSecurityDescriptors().
| NTSTATUS NTAPI IopSetDeviceSecurityDescriptors | ( | IN PDEVICE_OBJECT | UpperDeviceObject, |
| IN PDEVICE_OBJECT | PhysicalDeviceObject, | ||
| IN PSECURITY_INFORMATION | SecurityInformation, | ||
| IN PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
| IN POOL_TYPE | PoolType, | ||
| IN PGENERIC_MAPPING | GenericMapping | ||
| ) |
Definition at line 1606 of file file.c.
Referenced by IopGetSetSecurityObject().
| NTSTATUS NTAPI IoQueryFileDosDeviceName | ( | IN PFILE_OBJECT | FileObject, |
| OUT POBJECT_NAME_INFORMATION * | ObjectNameInformation | ||
| ) |
Definition at line 3664 of file file.c.
Referenced by NtQueryInformationProcess().
| VOID NTAPI IoRemoveShareAccess | ( | IN PFILE_OBJECT | FileObject, |
| IN PSHARE_ACCESS | ShareAccess | ||
| ) |
Definition at line 3479 of file file.c.
Referenced by _Dispatch_type_(), _Requires_lock_held_(), Ext2Cleanup(), Ext2CreateFile(), MupCleanupVcb(), open_file2(), RawCleanup(), UDFCommonCleanup(), UDFCommonCreate(), and VfatCleanupFile().
Definition at line 3724 of file file.c.
| VOID NTAPI IoSetShareAccess | ( | IN ACCESS_MASK | DesiredAccess, |
| IN ULONG | DesiredShareAccess, | ||
| IN PFILE_OBJECT | FileObject, | ||
| OUT PSHARE_ACCESS | ShareAccess | ||
| ) |
Definition at line 3518 of file file.c.
Referenced by Ext2CreateFile(), Ext2CreateVolume(), file_create(), open_file2(), RawCreate(), UDFCheckAccessRights(), and VfatCreateFile().
| VOID NTAPI IoUpdateShareAccess | ( | IN PFILE_OBJECT | FileObject, |
| OUT PSHARE_ACCESS | ShareAccess | ||
| ) |
Definition at line 3352 of file file.c.
Referenced by open_file2(), UDFCheckAccessRights(), and VfatCreateFile().
Definition at line 4020 of file file.c.
Referenced by CancelIo(), FlushConsoleInputBuffer(), init_func_ptrs(), rpcrt4_conn_np_close_read(), rpcrt4_conn_np_read(), and WaitForKeyboard().
| NTSTATUS NTAPI NtCreateFile | ( | PHANDLE | FileHandle, |
| ACCESS_MASK | DesiredAccess, | ||
| POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| PIO_STATUS_BLOCK | IoStatusBlock, | ||
| PLARGE_INTEGER | AllocateSize, | ||
| ULONG | FileAttributes, | ||
| ULONG | ShareAccess, | ||
| ULONG | CreateDisposition, | ||
| ULONG | CreateOptions, | ||
| PVOID | EaBuffer, | ||
| ULONG | EaLength | ||
| ) |
Definition at line 3759 of file file.c.
| NTSTATUS NTAPI NtCreateMailslotFile | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN ULONG | CreateOptions, | ||
| IN ULONG | MailslotQuota, | ||
| IN ULONG | MaxMessageSize, | ||
| IN PLARGE_INTEGER | TimeOut | ||
| ) |
Definition at line 3790 of file file.c.
Referenced by CreateMailslotW().
| NTSTATUS NTAPI NtCreateNamedPipeFile | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN ULONG | ShareAccess, | ||
| IN ULONG | CreateDisposition, | ||
| IN ULONG | CreateOptions, | ||
| IN ULONG | NamedPipeType, | ||
| IN ULONG | ReadMode, | ||
| IN ULONG | CompletionMode, | ||
| IN ULONG | MaximumInstances, | ||
| IN ULONG | InboundQuota, | ||
| IN ULONG | OutboundQuota, | ||
| IN PLARGE_INTEGER | DefaultTimeout | ||
| ) |
Definition at line 3859 of file file.c.
Referenced by CreateNamedPipeW(), CreatePipe(), and init_func_ptrs().
| NTSTATUS NTAPI NtDeleteFile | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes | ) |
Definition at line 4152 of file file.c.
Definition at line 3939 of file file.c.
Referenced by InitSysCalls(), and Test_SyscallPerformance().
| NTSTATUS NTAPI NtOpenFile | ( | OUT PHANDLE | FileHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
| IN ULONG | ShareAccess, | ||
| IN ULONG | OpenOptions | ||
| ) |
Definition at line 3953 of file file.c.
Referenced by AccpOpenNamedObject(), BtrfsDeviceAdd::AddDevice(), AddVolumeToList(), AllocConsole(), BasepMapFile(), BasepNotifyTrackingService(), BasepOpenFileForMove(), CabinetOpen(), CallCacheControl(), clean_main(), CommandDumpSector(), CommandPartInfo(), CreateDirectoryExW(), CreateHardLinkW(), CreatePartitionList(), CreatePipe(), CreateProcessInternalW(), DeleteFileW(), DismountVolume(), DoesPathExist_UStr(), DumpDisk(), DumpPartition(), find_devices(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindNTOSInstallations(), FormatEx2(), GetCompressedFileSizeW(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDriveTypeW(), GetFileSecurityW(), GetFileSystemName_UStr(), GetMountMgrHandle(), GetSourcePaths(), GetVolumeInformationW(), GetVolumeNameForRoot(), GetVolumePathNameW(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallSetupInfFile(), is_mounted_multi_device(), IsValidNTOSInstallation(), KsecOpenDevice(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), lookup_winsxs(), main(), MapFile(), mountmgr::mountmgr(), MoveFileWithProgressW(), MyDeleteFile(), NtOpenObject(), open_device_root(), open_nt_file(), OpenAndMapFile(), OpenBootStore_UStr(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenKeyboard(), openTcpFile(), pOpenDeviceEx_UStr(), BtrfsDeviceAdd::populate_device_tree(), QueryDeviceInformation(), ReadBootCodeFromFile(), RegisterUncProvider(), RegRestoreKeyW(), RemoveDirectoryW(), ReplaceFileW(), resolve_symlink(), RtlSetCurrentDirectory_U(), SdbpOpenMemMappedFile(), SetFileAttributesW(), SetFileSecurityW(), SetupCopyFile(), SetupDeleteFile(), SetupMoveFile(), SetVolumeLabelW(), ShowFileSystemInfo(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpInitializeKnownDllsInternal(), SmpProcessFileRenames(), START_TEST(), Test_Device_StorDeviceNumber(), Test_ImageSection(), Test_ImageSection2(), Test_Other(), VfatFormat(), VfatxFormat(), WaitNamedPipeW(), WritePartitions(), and xOpenFile().
| NTSTATUS NTAPI NtQueryAttributesFile | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
| OUT PFILE_BASIC_INFORMATION | FileInformation | ||
| ) |
Definition at line 3979 of file file.c.
Referenced by GetFileAttributesW(), GetVolumePathNameW(), and ReplaceFileW().
| NTSTATUS NTAPI NtQueryFullAttributesFile | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
| OUT PFILE_NETWORK_OPEN_INFORMATION | FileInformation | ||
| ) |
Definition at line 3991 of file file.c.
Referenced by GetFileAttributesExW().
|
extern |
Definition at line 61 of file iomgr.c.
Referenced by IoInitSystem(), IopGetSetSecurityObject(), IopParseDevice(), and IopSetDeviceSecurityDescriptor().