ReactOS 0.4.16-dev-319-g6cf4263
|
#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 3597 of file file.c.
NTSTATUS NTAPI IoChangeFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject, |
IN PVOID | FilterContext, | ||
IN BOOLEAN | Define | ||
) |
Definition at line 2511 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 3390 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 3010 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 3050 of file file.c.
Referenced by IopOpenLinkOrRenameTarget().
PFILE_OBJECT NTAPI IoCreateStreamFileObject | ( | IN PFILE_OBJECT | FileObject, |
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 3187 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 3100 of file file.c.
Referenced by IoCreateStreamFileObject().
PFILE_OBJECT NTAPI IoCreateStreamFileObjectLite | ( | IN PFILE_OBJECT FileObject | OPTIONAL, |
IN PDEVICE_OBJECT DeviceObject | OPTIONAL | ||
) |
Definition at line 3199 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 3289 of file file.c.
PVOID NTAPI IoGetFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 2496 of file file.c.
Referenced by FsRtlInsertPerFileObjectContext(), FsRtlLookupPerFileObjectContext(), FsRtlPTeardownPerFileObjectContexts(), and FsRtlRemovePerFileObjectContext().
PGENERIC_MAPPING NTAPI IoGetFileObjectGenericMapping | ( | VOID | ) |
Definition at line 3267 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 3278 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 2450 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 2178 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 2554 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 2344 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 3663 of file file.c.
VOID NTAPI IoRemoveShareAccess | ( | IN PFILE_OBJECT | FileObject, |
IN PSHARE_ACCESS | ShareAccess | ||
) |
Definition at line 3478 of file file.c.
Referenced by _Dispatch_type_(), _Requires_lock_held_(), Ext2Cleanup(), Ext2CreateFile(), MupCleanupVcb(), open_file2(), RawCleanup(), UDFCommonCleanup(), UDFCommonCreate(), and VfatCleanupFile().
Definition at line 3723 of file file.c.