Searched defs:self (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.2/kernel/src/mm/ |
D | allocator.rs | 8 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc() 9 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc_zeroed() 10 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc() 17 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc() 24 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc_zeroed() 31 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc() 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()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.rs | 98 pub fn __write_string(&mut self, s: &str) { in __write_string() 105 pub fn __write_string_color(&self, fr_color: u32, bk_color: u32, s: &str) { in __write_string_color() 115 pub fn __utf8_to_ascii(&self, s: &str) -> Vec<u8> { in __utf8_to_ascii() 132 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str()
|
/DragonOS-0.1.2/kernel/src/process/ |
D | pid.rs | 15 fn eq(&self, other: &PidType) -> bool { in eq()
|
D | kthread.c | 162 struct kthread_info_t *self = to_kthread(current_pcb); in kthread() local 250 struct kthread_info_t *self = to_kthread(current_pcb); in kthread_should_stop() local
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal_types.rs | 71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 126 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored() 211 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 339 fn eq(&self, other: &SignalNumber) -> bool { in eq() 482 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find() 503 pub fn find_and_delete(&mut self, sig: SignalNumber) -> (Option<siginfo>, bool) { in find_and_delete() 532 pub fn flush_by_mask(&mut self, mask: &sigset_t) { in flush_by_mask()
|