Home
last modified time | relevance | path

Searched defs:slice (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dkernel_allocator.rs45 let slice = unsafe { in alloc_in_buddy() localVariable
/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs1704 let slice = prog.leak(); in new() localVariable
1705 let slice = unsafe { core::slice::from_raw_parts(slice.as_ptr(), data_len) }; in new() localVariable
1721 let slice = prog.leak(); in set_program() localVariable
/DragonOS/kernel/src/sched/
H A Dfair.rs60 pub slice: u64, field
477 let slice = self.sched_slice(entity.clone()); in sched_vslice() localVariable
490 let mut slice = Self::sched_period(nr_running + (!entity.on_rq()) as u64); in sched_slice() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dtables.rs58 let slice = in report_systable_header() localVariable
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs47 let slice = unsafe { core::slice::from_raw_parts(raw_data, len) }; in from_row() localVariable
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs351 let slice = unsafe { core::slice::from_raw_parts(vaddr.as_ptr::<u8>(), size as usize) }; in fb_read() localVariable
372 let slice = unsafe { core::slice::from_raw_parts_mut(vaddr.as_ptr::<u8>(), size as usize) }; in fb_write() localVariable
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs600 let slice = unsafe { in test_buddy() localVariable