/DragonOS-0.1.8/kernel/src/net/ |
D | endpoints.rs | 16 pub fn new(interface: usize) -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | mod.rs | 26 pub fn new(flags: usize) -> Self { in new() method 64 pub unsafe fn new(flags: IrqFlags) -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | casting.rs | 70 let new = unsafe { Arc::from_raw(p as *const T) }; in downcast_arc() localVariable
|
D | semaphore.rs | 21 fn new(counter: i32) -> Result<Self, SystemError> { in new() method
|
D | volatile.rs | 76 pub fn new(value: T) -> Self { in new() method 94 pub fn new(value: T) -> Self { in new() method
|
D | notifier.rs | 22 pub fn new() -> Self { in new() method 102 pub fn new() -> Self { in new() method 140 pub fn new() -> Self { in new() method 177 pub fn new() -> Self { in new() method
|
D | lockref.rs | 38 pub fn new() -> LockRef { in new() method 59 let mut new = LockRef::INIT; in cmpxchg_loop() localVariable
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/include/asm/ |
D | cmpxchg.h | 80 #define arch_try_cmpxchg(ptr, old_ptr, new) \ argument
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | mod.rs | 32 pub fn new(id_vec: Vec<&'static str>) -> CompatibleTable { in new() method 59 pub fn new() -> LockedPlatformBusDriver { in new() method 220 pub fn new() -> Self { in new() method 274 pub fn new() -> LockedPlatform { in new() method 342 pub fn new() -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | mod.rs | 51 pub fn new(dev_t: usize) -> DeviceNumber { in new() method 103 pub fn new(name: &'static str, id: u32) -> IdTable { in new() method 202 fn new() -> LockedDeviceManager { in new() method 259 fn new() -> DeviceManager { in new() method
|
D | driver.rs | 59 fn new() -> LockedDriverManager { in new() method 116 fn new() -> DriverManager { in new() method
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | page_frame.rs | 20 pub fn new(paddr: PhysAddr) -> Self { in new() method 56 pub fn new(start: PhysPageFrame, end: PhysPageFrame) -> Self { in new() method 84 pub fn new(vaddr: VirtAddr) -> Self { in new() method 130 pub fn new(start: VirtPageFrame, end: VirtPageFrame) -> Self { in new() method 158 pub const fn new(count: usize) -> Self { in new() method 267 pub fn new(used: PageFrameCount, total: PageFrameCount) -> Self { in new() method
|
D | slab.rs | 17 pub unsafe fn new(start_addr: usize, slab_size: usize, block_size: usize) -> Slab { in new() method 66 unsafe fn new(start_addr: usize, block_size: usize, num_of_blocks: usize) -> FreeBlockList { in new() method
|
D | bump.rs | 25 pub fn new(areas: &'static [PhysMemoryArea], offset: usize) -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | mod.rs | 32 pub fn new() -> VideoRefreshFramebuffer { in new() method
|
/DragonOS-0.1.8/kernel/src/time/ |
D | timer.rs | 47 pub fn new(pcb: &'static mut process_control_block) -> Box<WakeUpHelper> { in new() method 72 pub fn new(timer_func: Box<dyn TimerFunction>, expire_jiffies: u64) -> Arc<Self> { in new() method 144 pub fn new() -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | cfs.rs | 50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() method 113 pub fn new() -> SchedulerCFS { in new() method
|
D | rt.rs | 45 pub fn new() -> RTQueue { in new() method 107 pub fn new() -> SchedulerRT { in new() method
|
/DragonOS-0.1.8/kernel/src/process/ |
D | exec.rs | 41 pub fn new(entry_point: VirtAddr) -> Self { in new() method 116 pub fn new(file_path: &'a str, vm: Arc<AddressSpace>, flags: ExecParamFlags) -> Self { in new() method 206 pub fn new() -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/driver/base/map/ |
D | mod.rs | 15 pub fn new(data: Arc<dyn KObject>) -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/io/ |
D | disk_info.rs | 28 pub fn new( in new() method
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | no_init.rs | 26 pub const fn new() -> Self { in new() method
|
D | percpu.rs | 59 pub fn new(data: Vec<T>) -> Option<Self> { in new() method
|
D | page.rs | 33 pub unsafe fn new(base: VirtAddr, phys: PhysAddr, level: usize) -> Self { in new() method 181 pub fn new(data: usize) -> Self { in new() method 236 pub fn new() -> Self { in new() method 485 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new() method 819 pub fn new(virt: VirtAddr) -> Self { in new() method 845 pub fn new() -> Self { in new() method 896 pub fn new() -> Self { in new() method
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | virtio_net.rs | 85 pub fn new(mut driver: VirtioNICDriver<T>) -> Arc<Self> { in new() method 111 pub fn new(driver_net: VirtIONet<HalImpl, T, 2>) -> Self { in new() method 134 pub fn new( in new() method
|