ReactOS 0.4.16-dev-319-g6cf4263
|
#include "sacdrv.h"
Go to the source code of this file.
Macros | |
#define | MAX_REF_COUNT 100 |
#define | CHANNEL_SLOT_IS_IN_USE(x) (ChannelRefCount[(x)] > 0) |
#define CHANNEL_SLOT_IS_IN_USE | ( | x | ) | (ChannelRefCount[(x)] > 0) |
NTSTATUS NTAPI ChanMgrChannelDestroy | ( | IN PSAC_CHANNEL | Channel | ) |
Definition at line 582 of file chanmgr.c.
NTSTATUS NTAPI ChanMgrCloseChannel | ( | IN PSAC_CHANNEL | Channel | ) |
Definition at line 593 of file chanmgr.c.
Referenced by ChanMgrCloseChannelsWithFileObject(), and ConMgrWorkerProcessEvents().
NTSTATUS NTAPI ChanMgrCloseChannelsWithFileObject | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 682 of file chanmgr.c.
NTSTATUS NTAPI ChanMgrCreateChannel | ( | OUT PSAC_CHANNEL * | Channel, |
IN PSAC_CHANNEL_ATTRIBUTES | Attributes | ||
) |
Definition at line 345 of file chanmgr.c.
Referenced by ConMgrInitialize().
NTSTATUS NTAPI ChanMgrGetByHandle | ( | IN SAC_CHANNEL_ID | ChannelId, |
OUT PSAC_CHANNEL * | TargetChannel | ||
) |
Definition at line 202 of file chanmgr.c.
Referenced by ChanMgrGetByHandleAndFileObject(), ConMgrInitialize(), and ConMgrResetCurrentChannel().
NTSTATUS NTAPI ChanMgrGetByHandleAndFileObject | ( | IN SAC_CHANNEL_ID | ChannelId, |
IN PFILE_OBJECT | FileObject, | ||
OUT PSAC_CHANNEL * | TargetChannel | ||
) |
Definition at line 449 of file chanmgr.c.
Definition at line 496 of file chanmgr.c.
Referenced by ChanMgrCloseChannelsWithFileObject(), ChanMgrGetChannelCount(), and ChanMgrGetNextActiveChannel().
Definition at line 152 of file chanmgr.c.
Referenced by ChanMgrIsUniqueName().
Definition at line 617 of file chanmgr.c.
Referenced by ChanMgrIsFull().
Definition at line 483 of file chanmgr.c.
Referenced by ChanMgrGetNextActiveChannel().
NTSTATUS NTAPI ChanMgrGetNextActiveChannel | ( | IN PSAC_CHANNEL | CurrentChannel, |
IN PULONG | TargetIndex, | ||
OUT PSAC_CHANNEL * | TargetChannel | ||
) |
Definition at line 521 of file chanmgr.c.
Referenced by ConMgrAdvanceCurrentChannel().
Definition at line 118 of file chanmgr.c.
Referenced by InitializeGlobalData().
Definition at line 666 of file chanmgr.c.
Definition at line 282 of file chanmgr.c.
Referenced by ChanMgrCreateChannel().
Definition at line 301 of file chanmgr.c.
Referenced by ChanMgrReapChannels().
Definition at line 309 of file chanmgr.c.
Referenced by ChanMgrCreateChannel().
NTSTATUS NTAPI ChanMgrReleaseChannel | ( | IN PSAC_CHANNEL | Channel | ) |
Definition at line 243 of file chanmgr.c.
Referenced by ChanMgrCloseChannelsWithFileObject(), ChanMgrGetByHandleAndFileObject(), ChanMgrGetChannelCount(), ChanMgrGetNextActiveChannel(), ChanMgrIsUniqueName(), ConMgrSetCurrentChannel(), ConMgrShutdown(), and ConMgrWorkerProcessEvents().
Definition at line 144 of file chanmgr.c.
Referenced by FreeGlobalData().
FORCEINLINE LONG ChannelDereferenceByIndex | ( | IN LONG | Index | ) |
Definition at line 72 of file chanmgr.c.
Referenced by ChanMgrReleaseChannel(), and ChannelDereferenceByIndexWithLock().
FORCEINLINE VOID ChannelDereferenceByIndexWithLock | ( | IN LONG | Index | ) |
Definition at line 83 of file chanmgr.c.
Referenced by ChanMgrGetByHandle(), and ChanMgrGetChannelByName().
FORCEINLINE VOID ChannelDereferenceToZeroByIndex | ( | IN LONG | Index | ) |
FORCEINLINE PSAC_CHANNEL ChannelFromIndex | ( | IN ULONG | Index | ) |
Definition at line 30 of file chanmgr.c.
Referenced by ChanMgrGetByHandle(), ChanMgrGetByIndex(), ChanMgrGetChannelByName(), ChanMgrReapChannels(), ChanMgrReleaseChannel(), and ChannelDereferenceToZeroByIndex().
FORCEINLINE LONG ChannelGetReferenceCount | ( | IN LONG | Index | ) |
Definition at line 37 of file chanmgr.c.
Referenced by ChanMgrChannelDestroy(), ChanMgrReapChannels(), ChannelDereferenceByIndex(), ChannelDereferenceToZeroByIndex(), ChannelReferenceByIndex(), and ChannelReferenceToOneByIndex().
FORCEINLINE LONG ChannelReferenceByIndex | ( | IN LONG | Index | ) |
Definition at line 44 of file chanmgr.c.
Referenced by ChannelReferenceByIndexWithLock().
FORCEINLINE LONG ChannelReferenceByIndexWithLock | ( | IN LONG | Index | ) |
Definition at line 60 of file chanmgr.c.
Referenced by ChanMgrGetByHandle(), ChanMgrGetByIndex(), and ChanMgrGetChannelByName().
FORCEINLINE VOID ChannelReferenceToOneByIndex | ( | IN LONG | Index | ) |
Definition at line 101 of file chanmgr.c.
Referenced by ChannelReferenceToOneByIndexWithLock().
FORCEINLINE VOID ChannelReferenceToOneByIndexWithLock | ( | IN LONG | Index | ) |
Definition at line 109 of file chanmgr.c.
Referenced by ChanMgrCreateChannel().
PSAC_CHANNEL ChannelArray[SAC_MAX_CHANNELS] |
Definition at line 17 of file chanmgr.c.
Referenced by ChanMgrCreateChannel(), ChanMgrInitialize(), ChanMgrReapChannels(), and ChannelFromIndex().
BOOLEAN ChannelCreateEnabled |
Definition at line 16 of file chanmgr.c.
Referenced by ChanMgrCreateChannel(), and ChanMgrInitialize().
SAC_CHANNEL_LOCK ChannelCreateLock |
Definition at line 15 of file chanmgr.c.
Referenced by ChanMgrInitialize().
LONG ChannelReaped[SAC_MAX_CHANNELS] |
Definition at line 19 of file chanmgr.c.
Referenced by ChanMgrCreateChannel(), ChanMgrInitialize(), and ChanMgrReapChannels().
LONG ChannelRefCount[SAC_MAX_CHANNELS] |
Definition at line 18 of file chanmgr.c.
Referenced by ChanMgrInitialize(), ChannelDereferenceByIndex(), ChannelDereferenceToZeroByIndex(), ChannelGetReferenceCount(), ChannelReferenceByIndex(), and ChannelReferenceToOneByIndex().
SAC_CHANNEL_LOCK ChannelSlotLock[SAC_MAX_CHANNELS] |
Definition at line 20 of file chanmgr.c.
Referenced by ChanMgrInitialize(), ChanMgrReapChannels(), ChanMgrReleaseChannel(), ChannelDereferenceByIndexWithLock(), ChannelReferenceByIndexWithLock(), and ChannelReferenceToOneByIndexWithLock().