Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 75) sorted by relevance

123

/DragonOS-0.1.8/kernel/src/net/
Dendpoints.rs16 pub fn new(interface: usize) -> Self { in new() method
/DragonOS-0.1.8/kernel/src/exception/
Dmod.rs26 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/
Dcasting.rs70 let new = unsafe { Arc::from_raw(p as *const T) }; in downcast_arc() localVariable
Dsemaphore.rs21 fn new(counter: i32) -> Result<Self, SystemError> { in new() method
Dvolatile.rs76 pub fn new(value: T) -> Self { in new() method
94 pub fn new(value: T) -> Self { in new() method
Dnotifier.rs22 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
Dlockref.rs38 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/
Dcmpxchg.h80 #define arch_try_cmpxchg(ptr, old_ptr, new) \ argument
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs32 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/
Dmod.rs51 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
Ddriver.rs59 fn new() -> LockedDriverManager { in new() method
116 fn new() -> DriverManager { in new() method
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs20 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
Dslab.rs17 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
Dbump.rs25 pub fn new(areas: &'static [PhysMemoryArea], offset: usize) -> Self { in new() method
/DragonOS-0.1.8/kernel/src/driver/video/
Dmod.rs32 pub fn new() -> VideoRefreshFramebuffer { in new() method
/DragonOS-0.1.8/kernel/src/time/
Dtimer.rs47 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/
Dcfs.rs50 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() method
113 pub fn new() -> SchedulerCFS { in new() method
Drt.rs45 pub fn new() -> RTQueue { in new() method
107 pub fn new() -> SchedulerRT { in new() method
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs41 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/
Dmod.rs15 pub fn new(data: Arc<dyn KObject>) -> Self { in new() method
/DragonOS-0.1.8/kernel/src/io/
Ddisk_info.rs28 pub fn new( in new() method
/DragonOS-0.1.8/kernel/src/mm/
Dno_init.rs26 pub const fn new() -> Self { in new() method
Dpercpu.rs59 pub fn new(data: Vec<T>) -> Option<Self> { in new() method
Dpage.rs33 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/
Dvirtio_net.rs85 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

123