ReactOS
0.4.16-dev-822-gbcedb53
Macros
linklist.h File Reference
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros
#
define
InsertAscendingList
(ListHead, NewEntry,
Type
, ListEntryField, SortField)
Macro Definition Documentation
◆
InsertAscendingList
#
define
InsertAscendingList
(
ListHead,
NewEntry,
Type
,
ListEntryField,
SortField
)
Value:
do
{ \
PLIST_ENTRY
current
= (ListHead)->Flink; \
while (
current
!= (ListHead)) \
{ \
if (
CONTAINING_RECORD
(
current
,
Type
, ListEntryField)->SortField >= \
(NewEntry)->SortField) \
{ \
break
; \
} \
current
=
current
->Flink; \
} \
\
InsertTailList(
current
, &((NewEntry)->ListEntryField)); \
}
while
(0)
Type
Type
Definition:
Type.h:7
current
struct task_struct * current
Definition:
linux.c:32
_LIST_ENTRY
Definition:
typedefs.h:120
CONTAINING_RECORD
#define CONTAINING_RECORD(address, type, field)
Definition:
typedefs.h:260
Definition at line
10
of file
linklist.h
.
base
setup
lib
utils
linklist.h
Generated on Mon Mar 17 2025 06:16:59 for ReactOS by
1.9.6