This function transfers all elements from one list head to another. The The destination list head takes ownership of all nodes from the source list head. The source list head is reinitialized to an empty list. This is useful for efficiently moving list contents without element-wise relinking, particularly in contexts like device tree overlay application where node structures are incorporated from a temporary tree. BUG=b:434080284 TEST=emerge-rauru coreboot libpayload BRANCH=none Change-Id: I143394e381fa72bcba692b7727f57dfc09fda70e Signed-off-by: Yu-Ping Wu <yupingso@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91557 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub "Kuba" Czapiga <czapiga@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Subrata Banik <subratabanik@google.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| commonlib | ||
| console | ||
| data/lib | ||
| device | ||
| drivers | ||
| helpers | ||
| include | ||
| lib | ||
| mock | ||
| stubs | ||
| Makefile.common | ||
| Makefile.mk | ||