Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7e14df06
Commit
7e14df06
authored
Jun 24, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement ExDeletePagedLookasideList.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fac63349
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
23 deletions
+26
-23
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+26
-23
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
7e14df06
...
...
@@ -2020,29 +2020,6 @@ NTSTATUS WINAPI ExCreateCallback(PCALLBACK_OBJECT *obj, POBJECT_ATTRIBUTES attr,
/***********************************************************************
* ExDeleteNPagedLookasideList (NTOSKRNL.EXE.@)
*/
void
WINAPI
ExDeleteNPagedLookasideList
(
PNPAGED_LOOKASIDE_LIST
lookaside
)
{
void
*
entry
;
TRACE
(
"(%p)
\n
"
,
lookaside
);
while
((
entry
=
RtlInterlockedPopEntrySList
(
&
lookaside
->
L
.
u
.
ListHead
)))
lookaside
->
L
.
u5
.
FreeEx
(
entry
,
(
LOOKASIDE_LIST_EX
*
)
lookaside
);
}
/***********************************************************************
* ExDeletePagedLookasideList (NTOSKRNL.EXE.@)
*/
void
WINAPI
ExDeletePagedLookasideList
(
PPAGED_LOOKASIDE_LIST
lookaside
)
{
FIXME
(
"(%p) stub
\n
"
,
lookaside
);
}
/***********************************************************************
* ExFreePool (NTOSKRNL.EXE.@)
*/
void
WINAPI
ExFreePool
(
void
*
ptr
)
...
...
@@ -2112,6 +2089,32 @@ void WINAPI ExInitializePagedLookasideList(PPAGED_LOOKASIDE_LIST lookaside,
initialize_lookaside_list
(
&
lookaside
->
L
,
allocate
,
free
,
PagedPool
|
flags
,
size
,
tag
);
}
static
void
delete_lookaside_list
(
GENERAL_LOOKASIDE
*
lookaside
)
{
void
*
entry
;
while
((
entry
=
RtlInterlockedPopEntrySList
(
&
lookaside
->
u
.
ListHead
)))
lookaside
->
u5
.
FreeEx
(
entry
,
(
LOOKASIDE_LIST_EX
*
)
lookaside
);
}
/***********************************************************************
* ExDeleteNPagedLookasideList (NTOSKRNL.EXE.@)
*/
void
WINAPI
ExDeleteNPagedLookasideList
(
PNPAGED_LOOKASIDE_LIST
lookaside
)
{
TRACE
(
"%p
\n
"
,
lookaside
);
delete_lookaside_list
(
&
lookaside
->
L
);
}
/***********************************************************************
* ExDeletePagedLookasideList (NTOSKRNL.EXE.@)
*/
void
WINAPI
ExDeletePagedLookasideList
(
PPAGED_LOOKASIDE_LIST
lookaside
)
{
TRACE
(
"%p
\n
"
,
lookaside
);
delete_lookaside_list
(
&
lookaside
->
L
);
}
/***********************************************************************
* ExInitializeZone (NTOSKRNL.EXE.@)
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment