Lines Matching refs:u8
24 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8; in local_alloc() argument
25 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8; in local_alloc_zeroed() argument
26 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc() argument
32 unsafe fn alloc_in_buddy(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in alloc_in_buddy() argument
47 virt_addr.data() as *mut u8, in alloc_in_buddy()
54 pub(super) unsafe fn free_in_buddy(&self, ptr: *mut u8, layout: Layout) { in free_in_buddy() argument
65 unsafe fn local_alloc(&self, layout: Layout) -> *mut u8 { in local_alloc() argument
79 unsafe fn local_alloc_zeroed(&self, layout: Layout) -> *mut u8 { in local_alloc_zeroed() argument
84 let ptr: *mut u8 = x.as_mut_ptr(); in local_alloc_zeroed()
97 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc() argument
108 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() argument
118 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed() argument
128 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() argument
143 fn alloc_debug_log(source: LogSource, layout: Layout, ptr: *mut u8) { in alloc_debug_log() argument
150 fn dealloc_debug_log(source: LogSource, layout: Layout, ptr: *mut u8) { in dealloc_debug_log() argument