Changes the priority of a list node.
uint8 SetNodePri( Node *n, uint8 newpri )
This procedure changes the priority of a node in a list. The kernel arranges lists by priority, with higher-priority nodes coming before lower-priority nodes. When the priority of a node changes, the kernel automatically rearranges the list to reflect the new priority. The node is moved immediately before the first node whose priority is lower.
The procedure returns the previous priority of the node.
Folio call implemented in kernel folio V20.
GIGO (garbage in, garbage out)
InsertNodeFromHead
(), InsertNodeFromTail(), UniversalInsertNode()