Searched refs:task_layout (Results 1 – 1 of 1) sorted by relevance
100 let task_layout = abort_on_panic(|| Self::task_layout()); in allocate() localVariable104 let ptr = match NonNull::new(alloc::alloc::alloc(task_layout.layout) as *mut ()) { in allocate()139 let task_layout = Self::task_layout(); in from_ptr() localVariable145 schedule: p.add(task_layout.offset_s) as *const S, in from_ptr()146 future: p.add(task_layout.offset_f) as *mut F, in from_ptr()147 output: p.add(task_layout.offset_r) as *mut T, in from_ptr()154 fn task_layout() -> TaskLayout { in task_layout() function419 let task_layout = Self::task_layout(); in destroy() localVariable428 alloc::alloc::dealloc(ptr as *mut u8, task_layout.layout); in destroy()