Lines Matching refs:Layout
4 use core::alloc::{GlobalAlloc, Layout};
8 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc() argument
9 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc_zeroed() argument
10 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc() argument
17 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc() argument
24 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc_zeroed() argument
31 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc() argument
38 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
42 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed()
46 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() argument
53 pub fn global_alloc_err_handler(_layout: Layout) -> ! { in global_alloc_err_handler() argument