Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Drbtree.rs605 tail: NodePtr<K, V>, field
653 if self.tail.is_null() { in next_back()
657 let prev = self.tail.prev(); in next_back()
658 let obj = unsafe { Box::from_raw(self.tail.0) }; in next_back()
660 self.tail = prev; in next_back()
684 tail: NodePtr<K, V>, field
693 tail: self.tail, in clone()
731 if self.tail == self.head { in next_back()
735 let (k, v) = unsafe { (&(*self.tail.0).key, &(*self.tail.0).value) }; in next_back()
736 self.tail = self.tail.prev(); in next_back()
[all …]
/DragonOS-0.1.8/kernel/src/common/
Dlist.h47 struct List *tail = entry->prev; in list_append() local
48 list_add(tail, node); in list_append()