Lines Matching refs:DescriptorState
14 use crate::range_alloc::{DescriptorState, FreedRange, Range};
131 DescriptorState::Reserved(_res) => { in debug_print()
134 DescriptorState::Allocated(_alloc) => { in debug_print()
181 DescriptorState::new(is_oneway, debug_id, pid), in reserve_new()
229 Some((DescriptorState::Reserved(reservation), free_node_res)) => { in reservation_abort()
313 Some((DescriptorState::Reserved(reservation), free_node_res)) => ( in reservation_commit()
315 DescriptorState::Allocated(reservation.allocate(data.take())), in reservation_commit()
338 Some((DescriptorState::Allocated(allocation), free_node_res)) => { in reserve_existing()
342 Some((DescriptorState::Reserved(reservation), free_node_res)), in reserve_existing()
363 if let Some((DescriptorState::Allocated(allocation), _)) = &mut desc.state { in take_for_each()
399 type TreeDescriptorState<T> = (DescriptorState<T>, FreeNodeRes);