Home
last modified time | relevance | path

Searched refs:LogSource (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dkernel_allocator.rs1 use klog_types::{AllocLogItem, LogSource};
111 alloc_debug_log(klog_types::LogSource::Buddy, layout, r); in alloc()
113 alloc_debug_log(klog_types::LogSource::Slab, layout, r); in alloc()
121 alloc_debug_log(klog_types::LogSource::Buddy, layout, r); in alloc_zeroed()
123 alloc_debug_log(klog_types::LogSource::Slab, layout, r); in alloc_zeroed()
130 dealloc_debug_log(klog_types::LogSource::Buddy, layout, ptr); in dealloc()
132 dealloc_debug_log(klog_types::LogSource::Slab, layout, ptr); in dealloc()
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
/DragonOS/kernel/src/debug/klog/
H A Dmm.rs5 use klog_types::{AllocatorLog, AllocatorLogType, LogSource, MMLogChannel};
27 pub fn mm_debug_log(_log_type: AllocatorLogType, _source: LogSource) { in mm_debug_log() argument
52 pub fn log(log_type: AllocatorLogType, source: LogSource, pid: Option<Pid>) { in log() argument
/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs23 pub source: LogSource,
44 source: LogSource, in new() argument
66 source: LogSource::Undefined, in zeroed()
163 pub enum LogSource { enum
/DragonOS/kernel/src/mm/
H A Dfault.rs253 klog_types::LogSource::Buddy, in do_anonymous_page()