Lines Matching full:allocation
15 Allocated(Allocation<T>),
50 fn allocate<T>(self, data: Option<T>) -> Allocation<T> {
51 Allocation {
58 struct Allocation<T> {
63 impl<T> Allocation<T> {
152 /// Try to reserve a new buffer, using the provided allocation if necessary.
241 /// Called when an allocation is no longer in use by the kernel.
253 /// Called when the kernel starts using an allocation.
299 // If the user supplied an allocation that we did not end up using, then we return it here.
306 /// Returned by `reserve_new` to request the caller to make an allocation before calling the method