Home
last modified time | relevance | path

Searched refs:remove_next (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/android/binder/range_alloc/
H A Dtree.rs269 let remove_next = match cursor.peek_next() { in reservation_abort() localVariable
281 if remove_next { in reservation_abort()
284 cursor.remove_next(); in reservation_abort()
/linux/mm/
H A Dvma.c1156 bool remove_next = false; in vma_expand() local
1164 remove_next = true; in vma_expand()
1169 VM_WARN_ON_VMG(remove_next && !can_merge_remove_vma(next), vmg); in vma_expand()
1171 VM_WARN_ON_VMG(next && !remove_next && in vma_expand()
1179 if (remove_next) in vma_expand()
1189 if (remove_next) in vma_expand()
1196 if (remove_next) { in vma_expand()
/linux/rust/kernel/
H A Dlist.rs1088 pub fn remove_next(&mut self) -> Option<ListArc<T, ID>> { in remove_next() method
H A Drbtree.rs766 /// // Calling `remove_next` from the last element returns [`None`].
767 /// assert!(cursor.remove_next().is_none());
774 /// // Calling `remove_next` removes and returns the last element.
775 /// assert_eq!(cursor.remove_next().unwrap().to_key_value(), (30, 300));
947 pub fn remove_next(&mut self) -> Option<RBTreeNode<K, V>> {
944 pub fn remove_next(&mut self) -> Option<RBTreeNode<K, V>> { remove_next() method