ReactOS 0.4.16-dev-112-g52265ae
|
#include "afd.h"
Go to the source code of this file.
Functions | |
PVOID | GetLockedData (PIRP Irp, PIO_STACK_LOCATION IrpSp) |
PVOID | LockRequest (PIRP Irp, PIO_STACK_LOCATION IrpSp, BOOLEAN Output, KPROCESSOR_MODE *LockMode) |
VOID | UnlockRequest (PIRP Irp, PIO_STACK_LOCATION IrpSp) |
PAFD_WSABUF | LockBuffers (PAFD_WSABUF Buf, UINT Count, PVOID AddressBuf, PINT AddressLen, BOOLEAN Write, BOOLEAN LockAddress, KPROCESSOR_MODE LockMode) |
VOID | UnlockBuffers (PAFD_WSABUF Buf, UINT Count, BOOL Address) |
PAFD_HANDLE | LockHandles (PAFD_HANDLE HandleArray, UINT HandleCount) |
VOID | UnlockHandles (PAFD_HANDLE HandleArray, UINT HandleCount) |
BOOLEAN | SocketAcquireStateLock (PAFD_FCB FCB) |
VOID | SocketStateUnlock (PAFD_FCB FCB) |
NTSTATUS NTAPI | UnlockAndMaybeComplete (PAFD_FCB FCB, NTSTATUS Status, PIRP Irp, UINT Information) |
NTSTATUS | LostSocket (PIRP Irp) |
NTSTATUS | QueueUserModeIrp (PAFD_FCB FCB, PIRP Irp, UINT Function) |
NTSTATUS | LeaveIrpUntilLater (PAFD_FCB FCB, PIRP Irp, UINT Function) |
PVOID GetLockedData | ( | PIRP | Irp, |
PIO_STACK_LOCATION | IrpSp | ||
) |
Definition at line 13 of file lock.c.
Referenced by CleanupPendingIrp(), LockRequest(), PacketSocketRecvComplete(), PacketSocketSendComplete(), ReceiveActivity(), ReceiveComplete(), SatisfyPacketRecvRequest(), and SendComplete().
Definition at line 433 of file lock.c.
Referenced by AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdPacketSocketReadData(), AfdStreamSocketConnect(), and AfdWaitForListen().
PAFD_WSABUF LockBuffers | ( | PAFD_WSABUF | Buf, |
UINT | Count, | ||
PVOID | AddressBuf, | ||
PINT | AddressLen, | ||
BOOLEAN | Write, | ||
BOOLEAN | LockAddress, | ||
KPROCESSOR_MODE | LockMode | ||
) |
Definition at line 205 of file lock.c.
Referenced by AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdPacketSocketReadData(), and AfdPacketSocketWriteData().
PAFD_HANDLE LockHandles | ( | PAFD_HANDLE | HandleArray, |
UINT | HandleCount | ||
) |
Definition at line 310 of file lock.c.
Referenced by AfdSelect().
PVOID LockRequest | ( | PIRP | Irp, |
PIO_STACK_LOCATION | IrpSp, | ||
BOOLEAN | Output, | ||
KPROCESSOR_MODE * | LockMode | ||
) |
Definition at line 24 of file lock.c.
Referenced by AfdBindSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdEnumEvents(), AfdEventSelect(), AfdGetInfo(), AfdGetTdiHandles(), AfdListenSocket(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), AfdSetConnectData(), AfdSetConnectDataSize(), AfdSetConnectOptions(), AfdSetConnectOptionsSize(), AfdSetContext(), AfdSetDisconnectData(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptions(), AfdSetDisconnectOptionsSize(), AfdSetInfo(), AfdStreamSocketConnect(), MimeProtocol_LockRequest(), PersistMoniker_Load(), Protocol_Continue(), Protocol_LockRequest(), Protocol_Start(), ProtocolEmul_LockRequest(), test_binding(), test_BindToStorage(), test_download(), test_submit(), and thread_proc().
Definition at line 387 of file lock.c.
Referenced by AfdAccept(), AfdBindSocket(), AfdCleanupSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdEnumEvents(), AfdEventSelect(), AfdGetConnectData(), AfdGetConnectOptions(), AfdGetContext(), AfdGetContextSize(), AfdGetDisconnectData(), AfdGetDisconnectOptions(), AfdGetInfo(), AfdGetPeerName(), AfdGetSockName(), AfdGetTdiHandles(), AfdListenSocket(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), AfdSetConnectData(), AfdSetConnectDataSize(), AfdSetConnectOptions(), AfdSetConnectOptionsSize(), AfdSetContext(), AfdSetDisconnectData(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptions(), AfdSetDisconnectOptionsSize(), AfdSetInfo(), AfdStreamSocketConnect(), AfdWaitForListen(), and SatisfyAccept().
Definition at line 397 of file lock.c.
Referenced by AfdConnectedSocketWriteData(), AfdDisconnect(), AfdPacketSocketWriteData(), AfdStreamSocketConnect(), and LeaveIrpUntilLater().
Definition at line 360 of file lock.c.
Referenced by AfdAccept(), AfdBindSocket(), AfdCancelHandler(), AfdCleanupSocket(), AfdCloseSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdEnumEvents(), AfdEventSelect(), AfdGetConnectData(), AfdGetConnectOptions(), AfdGetContext(), AfdGetContextSize(), AfdGetDisconnectData(), AfdGetDisconnectOptions(), AfdGetInfo(), AfdGetPeerName(), AfdGetSockName(), AfdGetTdiHandles(), AfdListenSocket(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), AfdSetConnectData(), AfdSetConnectDataSize(), AfdSetConnectOptions(), AfdSetConnectOptionsSize(), AfdSetContext(), AfdSetDisconnectData(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptions(), AfdSetDisconnectOptionsSize(), AfdSetInfo(), AfdStreamSocketConnect(), AfdWaitForListen(), DisconnectComplete(), ListenComplete(), PacketSocketRecvComplete(), PacketSocketSendComplete(), ReceiveComplete(), SatisfyAccept(), SendComplete(), and StreamSocketConnectComplete().
Definition at line 370 of file lock.c.
Referenced by AfdAccept(), AfdCancelHandler(), AfdCloseSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdPacketSocketWriteData(), AfdStreamSocketConnect(), AfdWaitForListen(), DisconnectComplete(), LeaveIrpUntilLater(), ListenComplete(), PacketSocketRecvComplete(), PacketSocketSendComplete(), ReceiveComplete(), SendComplete(), StreamSocketConnectComplete(), and UnlockAndMaybeComplete().
Definition at line 374 of file lock.c.
Referenced by AfdAccept(), AfdBindSocket(), AfdCancelHandler(), AfdCleanupSocket(), AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdEnumEvents(), AfdEventSelect(), AfdGetConnectData(), AfdGetConnectOptions(), AfdGetContext(), AfdGetContextSize(), AfdGetDisconnectData(), AfdGetDisconnectOptions(), AfdGetInfo(), AfdGetPeerName(), AfdGetSockName(), AfdGetTdiHandles(), AfdListenSocket(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), AfdSetConnectData(), AfdSetConnectDataSize(), AfdSetConnectOptions(), AfdSetConnectOptionsSize(), AfdSetContext(), AfdSetDisconnectData(), AfdSetDisconnectDataSize(), AfdSetDisconnectOptions(), AfdSetDisconnectOptionsSize(), AfdSetInfo(), AfdStreamSocketConnect(), AfdWaitForListen(), and SatisfyAccept().
VOID UnlockBuffers | ( | PAFD_WSABUF | Buf, |
UINT | Count, | ||
BOOL | Address | ||
) |
Definition at line 289 of file lock.c.
Referenced by AfdConnectedSocketReadData(), AfdConnectedSocketWriteData(), AfdPacketSocketReadData(), AfdPacketSocketWriteData(), CleanupPendingIrp(), PacketSocketRecvComplete(), PacketSocketSendComplete(), ReceiveActivity(), ReceiveComplete(), and SendComplete().
VOID UnlockHandles | ( | PAFD_HANDLE | HandleArray, |
UINT | HandleCount | ||
) |
Definition at line 348 of file lock.c.
Referenced by LockHandles(), and SignalSocket().
VOID UnlockRequest | ( | PIRP | Irp, |
PIO_STACK_LOCATION | IrpSp | ||
) |
Definition at line 180 of file lock.c.
Referenced by AfdConnectedSocketWriteData(), AfdDisconnect(), AfdPacketSocketWriteData(), DisconnectComplete(), ListenComplete(), LostSocket(), MimeProtocol_UnlockRequest(), PacketSocketRecvComplete(), PacketSocketSendComplete(), Protocol_UnlockRequest(), ProtocolEmul_UnlockRequest(), ReceiveActivity(), ReceiveComplete(), SatisfyPreAccept(), SendComplete(), SignalSocket(), StreamSocketConnectComplete(), test_binding(), test_BindToObject(), test_BindToStorage(), test_download(), test_submit(), test_URLDownloadToFile(), and UnlockAndMaybeComplete().