Lines Matching refs:layout
75 layout: Layout, in call()
79 let size = layout.size(); in call()
105 crate::alloc::dangling_from_layout(layout) in call()
117 pub fn aligned_layout(layout: Layout) -> Layout { in aligned_layout()
121 layout.pad_to_align() in aligned_layout()
133 layout: Layout, in realloc()
137 let layout = Kmalloc::aligned_layout(layout); in realloc() localVariable
140 unsafe { ReallocFunc::KREALLOC.call(ptr, layout, old_layout, flags) } in realloc()
152 layout: Layout, in realloc()
157 if layout.align() > bindings::PAGE_SIZE { in realloc()
164 unsafe { ReallocFunc::VREALLOC.call(ptr, layout, old_layout, flags) } in realloc()
176 layout: Layout, in realloc()
182 let layout = Kmalloc::aligned_layout(layout); in realloc() localVariable
185 if layout.align() > bindings::PAGE_SIZE { in realloc()
192 unsafe { ReallocFunc::KVREALLOC.call(ptr, layout, old_layout, flags) } in realloc()