GetSlotListLink
function · core · orchestration
- Address
0x422fc0· 41 bytes, up to0x422fe8- Meaning
- Returns the link of the element after a link, the sentinel at the end
- Confidence
- verified, proof one
- Finding
- core/scheduler#intrusive-lists
Finding: Intrusive lists in core: scheduler
Event-library lists link their elements in place. A head is 12 bytes: the link's offset in the
element, then a sentinel link. A link is two dwords: a pointer to the previous link and the next
element, with bit 0 set on a next pointer that names the sentinel. An unlinked link is zeros.
Unlinking writes the next link's previous pointer and the previous link's next pointer. A helper
turns a link into the link of the element after it: the sentinel at the end, else the next element
plus the offset. 0x422c90(node, mode, reference) unlinks the node, then links it after the
reference when mode is 1 and before it otherwise; no reference means the sentinel.
The derivation is in the doc.
Callers 1
- AcquireSlot core
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.