ReactOS 0.4.16-dev-287-g2d3f3a1
|
Go to the source code of this file.
Classes | |
struct | _NP_DATA_QUEUE |
struct | _NP_DATA_QUEUE_ENTRY |
struct | _NP_WAIT_QUEUE |
struct | _NP_WAIT_QUEUE_ENTRY |
struct | _NP_EVENT_BUFFER |
struct | _NP_ROOT_DCB_CCB |
struct | _NP_CB_HEADER |
struct | _NP_CB_FOOTER |
struct | _NP_DCB |
struct | _NP_FCB |
struct | _NP_NONPAGED_CCB |
struct | _NP_CCB |
struct | _NP_VCB |
struct | _NPFS_ALIAS |
struct | _NPFS_QUERY_VALUE_CONTEXT |
struct | _NP_CLIENT_PROCESS |
Enumerations | |
enum | _NP_DATA_QUEUE_STATE { ReadEntries = 0 , WriteEntries = 1 , Empty = 2 } |
enum | _NP_DATA_QUEUE_ENTRY_TYPE { Buffered = 0 , Unbuffered } |
#define NpBugCheck | ( | p1, | |
p2, | |||
p3 | |||
) |
typedef USHORT NODE_TYPE_CODE |
typedef struct _NP_CB_FOOTER NP_CB_FOOTER |
typedef struct _NP_CB_HEADER NP_CB_HEADER |
typedef struct _NP_DATA_QUEUE NP_DATA_QUEUE |
typedef struct _NP_EVENT_BUFFER NP_EVENT_BUFFER |
typedef struct _NP_NONPAGED_CCB NP_NONPAGED_CCB |
typedef struct _NP_ROOT_DCB_CCB NP_ROOT_DCB_CCB |
typedef struct _NP_WAIT_QUEUE NP_WAIT_QUEUE |
typedef struct _NPFS_ALIAS NPFS_ALIAS |
typedef USHORT * PNODE_TYPE_CODE |
typedef struct _NP_CB_HEADER * PNP_CB_HEADER |
typedef struct _NP_CLIENT_PROCESS * PNP_CLIENT_PROCESS |
typedef struct _NP_DATA_QUEUE * PNP_DATA_QUEUE |
typedef struct _NP_DATA_QUEUE_ENTRY * PNP_DATA_QUEUE_ENTRY |
typedef struct _NP_EVENT_BUFFER * PNP_EVENT_BUFFER |
typedef struct _NP_NONPAGED_CCB * PNP_NONPAGED_CCB |
typedef struct _NP_ROOT_DCB_CCB * PNP_ROOT_DCB_FCB |
typedef struct _NP_WAIT_QUEUE * PNP_WAIT_QUEUE |
typedef struct _NP_WAIT_QUEUE_ENTRY * PNP_WAIT_QUEUE_ENTRY |
typedef struct _NPFS_ALIAS * PNPFS_ALIAS |
Enumerator | |
---|---|
Buffered | |
Unbuffered |
Definition at line 129 of file npfs.h.
Enumerator | |
---|---|
ReadEntries | |
WriteEntries | |
Empty |
Definition at line 121 of file npfs.h.
_Function_class_ | ( | FAST_IO_READ | ) |
_Function_class_ | ( | FAST_IO_WRITE | ) |
C_ASSERT | ( | FIELD_OFFSET(NP_FCB, PrefixTableEntry) | = =FIELD_OFFSET(NP_DCB, PrefixTableEntry) | ) |
FORCEINLINE VOID NpAcquireExclusiveVcb | ( | VOID | ) |
Definition at line 336 of file npfs.h.
Referenced by NpCancelDataQueueIrp(), NpCancelListeningQueueIrp(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpFsdCreate(), NpFsdCreateNamedPipe(), NpFsdQuerySecurityInfo(), NpFsdSetInformation(), and NpFsdSetSecurityInfo().
FORCEINLINE VOID NpAcquireSharedVcb | ( | VOID | ) |
Definition at line 328 of file npfs.h.
Referenced by _Function_class_(), NpCommonFileSystemControl(), NpFsdFlushBuffers(), NpFsdQueryInformation(), NpFsdQueryVolumeInformation(), NpFsdRead(), and NpFsdWrite().
NTSTATUS NTAPI NpAddDataQueueEntry | ( | IN ULONG | NamedPipeEnd, |
IN PNP_CCB | Ccb, | ||
IN PNP_DATA_QUEUE | DataQueue, | ||
IN ULONG | Who, | ||
IN ULONG | Type, | ||
IN ULONG | DataSize, | ||
IN PIRP | Irp, | ||
IN PVOID | Buffer, | ||
IN ULONG | ByteOffset | ||
) |
Definition at line 295 of file datasup.c.
Referenced by NpCommonFlushBuffers(), NpCommonRead(), NpCommonWrite(), and NpTransceive().
NTSTATUS NTAPI NpAddWaiter | ( | IN PNP_WAIT_QUEUE | WaitQueue, |
IN LARGE_INTEGER | WaitTime, | ||
IN PIRP | Irp, | ||
IN PUNICODE_STRING | AliasName | ||
) |
Definition at line 221 of file waitsup.c.
Referenced by NpWaitForNamedPipe().
NTSTATUS NTAPI NpCancelWaiter | ( | IN PNP_WAIT_QUEUE | WaitQueue, |
IN PUNICODE_STRING | PipeName, | ||
IN NTSTATUS | Status, | ||
IN PLIST_ENTRY | ListEntry | ||
) |
Definition at line 120 of file waitsup.c.
Referenced by NpCreateExistingNamedPipe(), NpDeleteFcb(), and NpSetListeningPipeState().
Definition at line 20 of file create.c.
Referenced by NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), NpDeleteCcb(), NpDeleteFcb(), and NpSetPipeInfo().
LONG NTAPI NpCompareAliasNames | ( | _In_ PCUNICODE_STRING | String1, |
_In_ PCUNICODE_STRING | String2 | ||
) |
Definition at line 152 of file main.c.
Referenced by NpInitializeAliases(), and NpTranslateAlias().
FORCEINLINE VOID NpCompleteDeferredIrps | ( | IN PLIST_ENTRY | DeferredList | ) |
Definition at line 356 of file npfs.h.
Referenced by _Function_class_(), NpCancelDataQueueIrp(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpFsdCreate(), NpFsdCreateNamedPipe(), NpFsdRead(), NpFsdSetInformation(), and NpFsdWrite().
VOID NTAPI NpCompleteStalledWrites | ( | IN PNP_DATA_QUEUE | DataQueue, |
IN PLIST_ENTRY | List | ||
) |
Definition at line 49 of file datasup.c.
Referenced by NpCancelDataQueueIrp(), NpReadDataQueue(), and NpRemoveDataQueueEntry().
Definition at line 58 of file secursup.c.
Referenced by NpReadDataQueue().
NTSTATUS NTAPI NpCreateCcb | ( | IN PNP_FCB | Fcb, |
IN PFILE_OBJECT | FileObject, | ||
IN UCHAR | State, | ||
IN UCHAR | ReadMode, | ||
IN UCHAR | CompletionMode, | ||
IN ULONG | InQuota, | ||
IN ULONG | OutQuota, | ||
OUT PNP_CCB * | NewCcb | ||
) |
Definition at line 304 of file strucsup.c.
Referenced by NpCreateExistingNamedPipe(), and NpCreateNewNamedPipe().
NTSTATUS NTAPI NpCreateFcb | ( | IN PNP_DCB | Dcb, |
IN PUNICODE_STRING | PipeName, | ||
IN ULONG | MaximumInstances, | ||
IN LARGE_INTEGER | Timeout, | ||
IN USHORT | NamedPipeConfiguration, | ||
IN USHORT | NamedPipeType, | ||
OUT PNP_FCB * | NewFcb | ||
) |
Definition at line 210 of file strucsup.c.
Referenced by NpCreateNewNamedPipe().
Definition at line 165 of file strucsup.c.
Referenced by DriverEntry().
NTSTATUS NTAPI NpCreateRootDcbCcb | ( | IN PNP_ROOT_DCB_FCB * | NewRootCcb | ) |
Definition at line 149 of file strucsup.c.
Referenced by NpOpenNamedPipeRootDirectory().
NODE_TYPE_CODE NTAPI NpDecodeFileObject | ( | IN PFILE_OBJECT | FileObject, |
OUT PVOID *PrimaryContext | OPTIONAL, | ||
OUT PNP_CCB * | Ccb, | ||
OUT PULONG NamedPipeEnd | OPTIONAL | ||
) |
Definition at line 20 of file fileobsup.c.
Referenced by NpCommonCleanup(), NpCommonClose(), NpCommonFlushBuffers(), NpCommonQueryInformation(), NpCommonQuerySecurityInfo(), NpCommonRead(), NpCommonSetInformation(), NpCommonSetSecurityInfo(), NpCommonWrite(), NpDisconnect(), NpFsdCreate(), NpImpersonate(), NpListen(), NpPeek(), NpQueryClientProcess(), NpSetClientProcess(), NpTransceive(), and NpWaitForNamedPipe().
Definition at line 92 of file strucsup.c.
Referenced by NpCommonClose(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), and NpSetClosingPipeState().
Definition at line 52 of file strucsup.c.
Referenced by NpDeleteCcb(), and NpSetDisconnectedPipeState().
Definition at line 63 of file strucsup.c.
Referenced by NpCreateNewNamedPipe(), and NpSetClosingPipeState().
PNP_FCB NTAPI NpFindPrefix | ( | IN PUNICODE_STRING | Name, |
IN ULONG | CaseInsensitiveIndex, | ||
IN PUNICODE_STRING | Prefix | ||
) |
Definition at line 20 of file prefxsup.c.
Referenced by NpFindRelativePrefix(), NpFsdCreate(), NpFsdCreateNamedPipe(), and NpWaitForNamedPipe().
NTSTATUS NTAPI NpFindRelativePrefix | ( | IN PNP_DCB | Dcb, |
IN PUNICODE_STRING | Name, | ||
IN ULONG | CaseInsensitiveIndex, | ||
IN PUNICODE_STRING | Prefix, | ||
OUT PNP_FCB * | FoundFcb | ||
) |
Definition at line 51 of file prefxsup.c.
Referenced by NpFsdCreate(), and NpFsdCreateNamedPipe().
VOID NTAPI NpFreeClientSecurityContext | ( | IN PSECURITY_CLIENT_CONTEXT | ClientContext | ) |
Definition at line 40 of file secursup.c.
Referenced by NpAddDataQueueEntry(), NpCancelDataQueueIrp(), NpCopyClientContext(), NpRemoveDataQueueEntry(), NpUninitializeSecurity(), and NpWriteDataQueue().
Definition at line 58 of file cleanup.c.
Referenced by DriverEntry().
Definition at line 59 of file close.c.
Referenced by DriverEntry().
Definition at line 360 of file create.c.
Referenced by DriverEntry().
Definition at line 791 of file create.c.
Referenced by DriverEntry().
Definition at line 857 of file fsctrl.c.
Referenced by DriverEntry().
Definition at line 70 of file flushbuf.c.
Referenced by DriverEntry().
Definition at line 461 of file fileinfo.c.
Referenced by DriverEntry().
Definition at line 100 of file seinfo.c.
Referenced by DriverEntry().
Definition at line 181 of file volinfo.c.
Referenced by DriverEntry().
Definition at line 159 of file read.c.
Referenced by DriverEntry().
Definition at line 114 of file fileinfo.c.
Referenced by DriverEntry().
Definition at line 125 of file seinfo.c.
Referenced by DriverEntry().
Definition at line 175 of file write.c.
Referenced by DriverEntry().
NTSTATUS NTAPI NpGetClientSecurityContext | ( | IN ULONG | NamedPipeEnd, |
IN PNP_CCB | Ccb, | ||
IN PETHREAD | Thread, | ||
IN PSECURITY_CLIENT_CONTEXT * | Context | ||
) |
Definition at line 129 of file secursup.c.
Referenced by NpAddDataQueueEntry(), and NpWriteDataQueue().
PLIST_ENTRY NTAPI NpGetNextRealDataQueueEntry | ( | IN PNP_DATA_QUEUE | DataQueue, |
IN PLIST_ENTRY | List | ||
) |
Definition at line 174 of file datasup.c.
Referenced by NpCancelDataQueueIrp(), NpReadDataQueue(), NpRemoveDataQueueEntry(), and NpWriteDataQueue().
Definition at line 20 of file secursup.c.
Referenced by NpImpersonate().
Definition at line 32 of file datasup.c.
Referenced by NpCreateCcb().
NTSTATUS NTAPI NpInitializeSecurity | ( | IN PNP_CCB | Ccb, |
IN PSECURITY_QUALITY_OF_SERVICE | SecurityQos, | ||
IN PETHREAD | Thread | ||
) |
Definition at line 82 of file secursup.c.
Referenced by NpCreateClientEnd().
Definition at line 130 of file strucsup.c.
Referenced by DriverEntry().
VOID NTAPI NpInitializeWaitQueue | ( | IN PNP_WAIT_QUEUE | WaitQueue | ) |
Definition at line 96 of file waitsup.c.
Referenced by NpInitializeVcb().
IO_STATUS_BLOCK NTAPI NpReadDataQueue | ( | IN PNP_DATA_QUEUE | DataQueue, |
IN BOOLEAN | Peek, | ||
IN BOOLEAN | ReadOverflowOperation, | ||
IN PVOID | Buffer, | ||
IN ULONG | BufferSize, | ||
IN ULONG | Mode, | ||
IN PNP_CCB | Ccb, | ||
IN PLIST_ENTRY | List | ||
) |
Definition at line 20 of file readsup.c.
Referenced by NpCommonRead(), and NpPeek().
FORCEINLINE VOID NpReleaseVcb | ( | VOID | ) |
Definition at line 344 of file npfs.h.
Referenced by _Function_class_(), NpCancelDataQueueIrp(), NpCancelListeningQueueIrp(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpFsdCreate(), NpFsdCreateNamedPipe(), NpFsdFlushBuffers(), NpFsdQueryInformation(), NpFsdQuerySecurityInfo(), NpFsdQueryVolumeInformation(), NpFsdRead(), NpFsdSetInformation(), NpFsdSetSecurityInfo(), and NpFsdWrite().
PIRP NTAPI NpRemoveDataQueueEntry | ( | IN PNP_DATA_QUEUE | DataQueue, |
IN BOOLEAN | Flag, | ||
IN PLIST_ENTRY | List | ||
) |
Definition at line 105 of file datasup.c.
Referenced by NpGetNextRealDataQueueEntry(), NpReadDataQueue(), NpSetClosingPipeState(), NpSetDisconnectedPipeState(), and NpWriteDataQueue().
NTSTATUS NTAPI NpSetClosingPipeState | ( | IN PNP_CCB | Ccb, |
IN PIRP | Irp, | ||
IN ULONG | NamedPipeEnd, | ||
IN PLIST_ENTRY | List | ||
) |
Definition at line 245 of file statesup.c.
Referenced by NpCommonCleanup().
NTSTATUS NTAPI NpSetConnectedPipeState | ( | IN PNP_CCB | Ccb, |
IN PFILE_OBJECT | FileObject, | ||
IN PLIST_ENTRY | List | ||
) |
Definition at line 39 of file statesup.c.
Referenced by NpCreateClientEnd().
Definition at line 77 of file statesup.c.
Referenced by NpDisconnect().
VOID NTAPI NpSetFileObject | ( | IN PFILE_OBJECT | FileObject, |
IN PVOID | PrimaryContext, | ||
IN PVOID | Ccb, | ||
IN ULONG | NamedPipeEnd | ||
) |
Definition at line 62 of file fileobsup.c.
Referenced by NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), NpOpenNamedPipeFileSystem(), NpOpenNamedPipeRootDirectory(), NpSetClosingPipeState(), NpSetConnectedPipeState(), and NpSetDisconnectedPipeState().
Definition at line 188 of file statesup.c.
Referenced by NpListen().
NTSTATUS NTAPI NpUninitializeDataQueue | ( | IN PNP_DATA_QUEUE | DataQueue | ) |
Definition at line 20 of file datasup.c.
Referenced by NpCreateCcb(), and NpDeleteCcb().
Definition at line 72 of file secursup.c.
Referenced by NpCreateClientEnd(), NpDeleteCcb(), NpDisconnect(), NpInitializeSecurity(), NpListen(), NpSetClosingPipeState(), and NpSetDisconnectedPipeState().
NTSTATUS NTAPI NpWriteDataQueue | ( | IN PNP_DATA_QUEUE | WriteQueue, |
IN ULONG | Mode, | ||
IN PVOID | OutBuffer, | ||
IN ULONG | OutBufferSize, | ||
IN ULONG | PipeType, | ||
OUT PULONG | BytesWritten, | ||
IN PNP_CCB | Ccb, | ||
IN ULONG | NamedPipeEnd, | ||
IN PETHREAD | Thread, | ||
IN PLIST_ENTRY | List | ||
) |
Definition at line 20 of file writesup.c.
Referenced by NpCommonWrite(), and NpTransceive().
_In_ PLARGE_INTEGER FileOffset |
|
extern |
Definition at line 20 of file main.c.
Referenced by NpInitializeAliases(), and NpTranslateAlias().
|
extern |
Definition at line 21 of file main.c.
Referenced by NpInitializeAliases(), and NpTranslateAlias().
|
extern |
Definition at line 19 of file strucsup.c.
Referenced by DriverEntry(), NpAcquireExclusiveVcb(), NpAcquireSharedVcb(), NpCommonClose(), NpCreateExistingNamedPipe(), NpCreateFcb(), NpCreateRootDcb(), NpDeleteCcb(), NpDeleteFcb(), NpFindPrefix(), NpFsdCreate(), NpInitializeVcb(), NpOpenNamedPipeFileSystem(), NpQueryNameInfo(), NpReleaseVcb(), NpSetDisconnectedPipeState(), NpSetListeningPipeState(), and NpWaitForNamedPipe().