/DragonOS/tools/debugging/logmonitor/src/ |
H A D | logging.rs | 32 pub fn new(tui_receiver: Option<mpsc::Receiver<String>>) -> Self { in new() method 42 pub fn new(sender: mpsc::Sender<String>) -> Self { in new() method
|
H A D | app.rs | 34 pub fn new(title: &'a str) -> Self { in new() method 113 pub fn new(titles: Vec<&'a str>) -> TabsState<'a> { in new() method 156 pub fn new(lower: u64, upper: u64) -> RandomSignal { in new() method
|
/DragonOS/kernel/src/driver/block/cache/ |
H A D | cache_iter.rs | 16 pub fn new(lba_id: BlockId, data_start_addr: BlockId, block_size: usize) -> Self { in new() method 52 pub fn new(lba_id_start: BlockId, count: usize, block_size: usize) -> Self { in new() method 90 pub fn new(lba_id: BlockId, index: usize) -> Self { in new() method
|
H A D | cached_block_device.rs | 198 pub fn new(space: CacheSpace) -> Self { in new() method 230 pub fn new() -> Self { in new() method 313 pub fn new(inner: CacheMapper) -> Self { in new() method 340 pub fn new() -> Self { in new() method 393 pub fn new() -> Self { in new() method
|
/DragonOS/kernel/src/namespaces/ |
H A D | user_namespace.rs | 68 pub fn new(name: String) -> Self { in new() method 97 pub fn new() -> Self { in new() method 106 pub fn new() -> Self { in new() method 116 pub fn new() -> Self { in new() method
|
H A D | mnt_namespace.rs | 77 pub fn new() -> Self { in new() method 100 pub fn new(name: String) -> Self { in new() method 142 pub fn new() -> Self { in new() method
|
/DragonOS/build-scripts/kernel_build/src/utils/ |
H A D | cargo_handler.rs | 14 fn new() -> Self { in new() method 77 pub fn new() -> Self { in new() method
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | loader.rs | 43 pub fn new(kernel: PathBuf) -> Self { in new() method 69 pub fn new() -> Self { in new() method 96 pub fn new(sym: Sym, name: String) -> Self { in new() method
|
H A D | mod.rs | 27 pub fn new(command_line_args: CommandLineArgs, sender: mpsc::Sender<Event>) -> Arc<Self> { in new() method 63 pub fn new() -> Self { in new() method 80 fn new( in new() method
|
/DragonOS/kernel/src/libs/lib_ui/font/ |
H A D | mod.rs | 24 pub const fn new( in new() method 63 pub const fn new(width: usize, height: usize) -> Self { in new() method 76 pub const fn new(data: &'static [u8], width: usize) -> Self { in new() method
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | zone.rs | 66 pub const fn new() -> ZoneAllocator<'a> { in new() method 71 pub fn new() -> ZoneAllocator<'a> { in new() method 216 pub fn new(total: u64, free: u64) -> Self { in new() method
|
/DragonOS/kernel/src/process/ |
H A D | timer.rs | 36 pub fn new(timer_func: Box<dyn TimerFunction>, second: u64) -> Self { in new() method 113 pub fn new(pid: Pid) -> Box<AlarmTimerFunc> { in new() method
|
/DragonOS/kernel/src/libs/ |
H A D | volatile.rs | 75 pub fn new(value: T) -> Self { in new() method 93 pub fn new(value: T) -> Self { in new() method
|
H A D | casting.rs | 69 let new = unsafe { Arc::from_raw(p as *const T) }; in downcast_arc() localVariable
|
H A D | notifier.rs | 23 pub fn new() -> Self { in new() method 115 pub fn new() -> Self { in new() method 154 pub fn new() -> Self { in new() method 191 pub fn new() -> Self { in new() method
|
H A D | semaphore.rs | 24 fn new(counter: i32) -> Result<Self, SystemError> { in new() method
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 40 pub fn new( in new() method 135 pub fn new(layout: core::alloc::Layout, vaddr: Option<usize>, paddr: Option<usize>) -> Self { in new() method 172 pub const fn new() -> Self { in new() method 229 pub const fn new(capacity: usize) -> Self { in new() method
|
/DragonOS/kernel/src/mm/allocator/ |
H A D | page_frame.rs | 22 pub fn new(paddr: PhysAddr) -> Self { in new() method 68 pub fn new(start: PhysPageFrame, end: PhysPageFrame) -> Self { in new() method 97 pub fn new(vaddr: VirtAddr) -> Self { in new() method 149 pub fn new(start: VirtPageFrame, end: VirtPageFrame) -> Self { in new() method 177 pub const fn new(count: usize) -> Self { in new() method 291 pub fn new(used: PageFrameCount, total: PageFrameCount) -> Self { in new() method
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | no_std_error.rs | 22 pub fn new<S: Into<String>>(kind: ErrorKind, error: S) -> Error { in new() method
|
/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | cmpxchg.h | 80 #define arch_try_cmpxchg(ptr, old_ptr, new) \ argument
|
/DragonOS/kernel/src/sched/ |
H A D | completion.rs | 19 pub const fn new() -> Self { in new() method 149 pub const fn new() -> Self { in new() method
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 33 pub(crate) fn new(shared_data: Arc<Mutex<BackendData>>) -> Arc<Self> { in new() method 146 pub fn new(mm_log_monitor: Weak<MMLogMonitor>, kmem_path: PathBuf) -> Self { in new() method 296 pub fn new(logs: Vec<ObjectWrapper<AllocatorLog>>) -> Self { in new() method
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_port.rs | 35 pub fn new() -> Self { in new() method 103 pub fn new() -> Self { in new() method
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | device_number.rs | 27 pub const fn new(x: u32) -> Self { in new() method 44 pub const fn new(major: Major, minor: u32) -> Self { in new() method
|
/DragonOS/kernel/src/exception/ |
H A D | mod.rs | 60 pub fn new(flags: usize) -> Self { in new() method 98 pub unsafe fn new(flags: IrqFlags) -> Self { in new() method
|