Home
last modified time | relevance | path

Searched refs:UserMode (Results 1 – 25 of 112) sorted by relevance

12345

/reactos/modules/rostests/kmtests/ntos_ob/
H A DObHandle.c81 Status = ObCloseHandle(NewHandle, UserMode); in TestDuplicate()
102 Status = ObCloseHandle(NewHandle, UserMode); in TestDuplicate()
152 Status = ObCloseHandle(UserDirectoryHandle, UserMode); in START_TEST()
172 Status = ObCloseHandle(KernelDirectoryHandle, UserMode); in START_TEST()
204 Status = ObCloseHandle(NULL, UserMode); in START_TEST()
207 Status = ObCloseHandle(LongToHandle(0x80000000), UserMode); in START_TEST()
210 Status = ObCloseHandle(LongToHandle(0x7FFFFFFF), UserMode); in START_TEST()
213 Status = ObCloseHandle(LongToHandle(0xFFFFFFFF), UserMode); in START_TEST()
216 Status = ObCloseHandle(LongToHandle(123), UserMode); in START_TEST()
219 Status = ObCloseHandle(LongToHandle(123 | 0x80000000), UserMode); in START_TEST()
/reactos/ntoskrnl/se/
H A Daudit.c758 UserMode, in SepAccessCheckAndAuditAlarm()
791 UserMode, in SepAccessCheckAndAuditAlarm()
812 UserMode, in SepAccessCheckAndAuditAlarm()
822 UserMode, in SepAccessCheckAndAuditAlarm()
832 UserMode, in SepAccessCheckAndAuditAlarm()
845 UserMode, in SepAccessCheckAndAuditAlarm()
859 UserMode, in SepAccessCheckAndAuditAlarm()
1662 UserMode, in NtOpenObjectAuditAlarm()
1702 UserMode, in NtOpenObjectAuditAlarm()
1767 UserMode, in NtOpenObjectAuditAlarm()
[all …]
/reactos/ntoskrnl/ke/i386/
H A Dusercall.c91 TrapFrame->SegCs = Ke386SanitizeSeg(KGDT_R3_CODE, UserMode); in KiInitializeUserApc()
92 TrapFrame->HardwareSegSs = Ke386SanitizeSeg(KGDT_R3_DATA, UserMode); in KiInitializeUserApc()
93 TrapFrame->SegDs = Ke386SanitizeSeg(KGDT_R3_DATA, UserMode); in KiInitializeUserApc()
94 TrapFrame->SegEs = Ke386SanitizeSeg(KGDT_R3_DATA, UserMode); in KiInitializeUserApc()
95 TrapFrame->SegFs = Ke386SanitizeSeg(KGDT_R3_TEB, UserMode); in KiInitializeUserApc()
100 TrapFrame->EFlags = Ke386SanitizeFlags(Context.EFlags, UserMode); in KiInitializeUserApc()
118 UserMode, in KiInitializeUserApc()
144 ASSERT(KeGetPreviousMode() == UserMode); in KeUserModeCallback()
H A Dthrdini.c178 UserMode); in KiInitializeContextThread()
190 TrapFrame->PreviousPreviousMode = UserMode; in KiInitializeContextThread()
200 Thread->PreviousMode = UserMode; in KiInitializeContextThread()
/reactos/ntoskrnl/ke/
H A Dapc.c254 (Thread->WaitMode == UserMode) && in KiInsertQueueApc()
439 if ((DeliveryMode == UserMode) && in KiDeliverApc()
440 !(IsListEmpty(&Thread->ApcState.ApcListHead[UserMode])) && in KiDeliverApc()
450 if (IsListEmpty(&Thread->ApcState.ApcListHead[UserMode])) in KiDeliverApc()
458 ApcListEntry = Thread->ApcState.ApcListHead[UserMode].Flink; in KiDeliverApc()
484 KeTestAlertThread(UserMode); in KiDeliverApc()
546 RepairList(OldState->ApcListHead, NewState->ApcListHead, UserMode); in KiMoveApcState()
802 if (PreviousMode == UserMode) in KeFlushQueueApc()
808 if (IsListEmpty(&Thread->ApcState.ApcListHead[UserMode])) in KeFlushQueueApc()
/reactos/win32ss/user/ntuser/
H A Dwinsta.c554 UserMode, in IntCreateWindowStation()
745 KPROCESSOR_MODE OwnerMode = UserMode; in NtUserCreateWindowStation()
809 UserMode, in NtUserCreateWindowStation()
881 KPROCESSOR_MODE OwnerMode = UserMode; in NtUserOpenWindowStation()
964 UserMode, in NtUserOpenWindowStation()
1034 UserMode, in NtUserCloseWindowStation()
1048 Status = ObCloseHandle(hWinSta, UserMode); in NtUserCloseWindowStation()
1135 UserMode, in NtUserGetObjectInformation()
1145 UserMode, in NtUserGetObjectInformation()
1428 UserMode, in UserSetProcessWindowStation()
[all …]
H A Ddesktop.c942 UserMode, in IntResolveDesktop()
1000 ObCloseHandle(hTempWinSta, UserMode); in IntResolveDesktop()
1017 ObCloseHandle(hWinStaDup, UserMode); in IntResolveDesktop()
1111 UserMode, in IntResolveDesktop()
1190 UserMode, in IntResolveDesktop()
1234 ObCloseHandle(hDesktop, UserMode); in IntResolveDesktop()
1236 ObCloseHandle(hWinSta, UserMode); in IntResolveDesktop()
2581 UserMode, in NtUserCreateDesktop()
2635 UserMode, in NtUserOpenDesktop()
2683 UserMode, in UserOpenInputDesktop()
[all …]
H A Dshutdown.c102 Result = SePrivilegeCheck(Privilege, &SubjectContext, UserMode); in HasPrivilege()
111 UserMode); in HasPrivilege()
H A Dhook.c229 ReleaseCapturedUnicodeString(&strUahModule, UserMode); in UserUnregisterUserApiHook()
230 ReleaseCapturedUnicodeString(&strUahInitFunc, UserMode); in UserUnregisterUserApiHook()
1552 UserMode, in NtUserSetWindowsHookEx()
1734 Status = ProbeAndCaptureUnicodeString(&strDllNameSafe, UserMode, m_dllname1); in NtUserRegisterUserApiHook()
1741 Status = ProbeAndCaptureUnicodeString(&strFuncNameSafe, UserMode, m_funname1); in NtUserRegisterUserApiHook()
1744 ReleaseCapturedUnicodeString(&strDllNameSafe, UserMode); in NtUserRegisterUserApiHook()
1759 ReleaseCapturedUnicodeString(&strDllNameSafe, UserMode); in NtUserRegisterUserApiHook()
1760 ReleaseCapturedUnicodeString(&strFuncNameSafe, UserMode); in NtUserRegisterUserApiHook()
H A Dntstubs.c497 UserMode, in NtUserProcessConnect()
592 UserMode, in NtUserQueryInformationThread()
691 UserMode, in NtUserSetInformationThread()
H A Dconsole.c57 UserMode, in NtUserConsoleControl()
H A Dmain.c515 *ExEventObjectType, UserMode, in InitThreadCallback()
520 ObCloseHandle(ptiCurrent->hEventQueueClient, UserMode); in InitThreadCallback()
634 Status = IntValidateDesktopHandle(hDesk, UserMode, 0, &pdesk); in InitThreadCallback()
873 ObCloseHandle(ptiCurrent->hEventQueueClient, UserMode); in ExitThreadCallback()
/reactos/media/inf/
H A Daudio.inf15 Audio.CopyFiles.UserMode = 12
30 CopyFiles = Audio.CopyFiles.KernelMode, Audio.CopyFiles.UserMode
39 [Audio.CopyFiles.UserMode]
/reactos/win32ss/user/ntuser/misc/
H A Dcopy.c13 ASSERT(ExGetPreviousMode() == UserMode); in _IRQL_requires_max_()
40 ASSERT(ExGetPreviousMode() == UserMode); in _IRQL_requires_max_()
/reactos/ntoskrnl/ke/amd64/
H A Dthrdini.c67 Thread->PreviousMode = UserMode; in KiInitializeContextThread()
91 UserMode); in KiInitializeContextThread()
100 TrapFrame->PreviousMode = UserMode; in KiInitializeContextThread()
H A Dusercall.c94 UserMode, in KiInitializeUserApc()
253 ASSERT(KeGetPreviousMode() == UserMode); in KeUserModeCallback()
/reactos/ntoskrnl/tests/tests/
H A DVirtualMemory.c52 _AssertEqualValue(UserMode, AccessMode); in MockMmProbeAndLockPages()
81 _AssertEqualValue(UserMode, AccessMode); in MockObReferenceObjectByHandle()
/reactos/ntoskrnl/ke/arm/
H A Dexp.c166 if ((PreviousMode == UserMode) || (KeGetPcr()->KdVersionBlock)) in KiDispatchException()
189 if (PreviousMode == UserMode) in KiDispatchException()
H A Dthrdini.c93 UserMode); in KiInitializeContextThread()
99 Thread->PreviousMode = UserMode; in KiInitializeContextThread()
H A Dusercall.c174 if (Thread->PreviousMode == UserMode) in KiSystemService()
217 if (KiGetPreviousMode(TrapFrame) == UserMode) in KiSystemService()
/reactos/drivers/ksfilter/ks/
H A Dproperty.c193 if (Irp->RequestorMode == UserMode) in KspPropertyHandler()
231 if (Irp->RequestorMode == UserMode) in KspPropertyHandler()
245 if (Irp->RequestorMode == UserMode) in KspPropertyHandler()
/reactos/modules/rostests/kmtests/ntos_mm/
H A DMmMapLockedPagesSpecifyCache_drv.c124 ok(ExGetPreviousMode() == UserMode, "Not coming from umode!\n"); in TestMessageHandler()
181 …CurrentUser = MmMapLockedPagesSpecifyCache(CurrentMdl, UserMode, CacheType, QueryBuffer->Buffer, F… in TestMessageHandler()
/reactos/modules/rostests/kmtests/ntos_io/
H A DIoCreateFile.c455 UserMode, in TestSymlinks()
647 UserMode, in TestSymlinks()
715 UserMode, in TestSymlinks()
794 ok(ExGetPreviousMode() == UserMode, "KernelMode returned!\n"); in UserModeTest()
821 ObCloseHandle(ParentHandle, UserMode); in UserModeTest()
/reactos/modules/rostests/kmtests/kmtest_drv/
H A Dkmtest_drv.c416 MmProbeAndLockPages(DeviceExtension->Mdl, UserMode, IoModifyAccess); in DriverIoControl()
443 … Status = KeWaitForSingleObject(&WorkList.NewWorkEvent, UserRequest, UserMode, FALSE, NULL); in DriverIoControl()
579 Status = KeWaitForSingleObject(&WorkEntry->WorkDoneEvent, Executive, UserMode, FALSE, &Timeout); in KmtUserModeCallback()
/reactos/ntoskrnl/include/internal/arm/
H A Dke.h181 ((tf->Cpsr & CPSRM_MASK) == CPSRM_USER) ? UserMode: KernelMode

12345