Home
last modified time | relevance | path

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

12

/DragonOS-0.1.5/kernel/src/driver/virtio/
Dvolatile.rs8 pub fn new(value: T) -> Self { in new() method
25 pub fn new(value: T) -> Self { in new() method
/DragonOS-0.1.5/kernel/src/libs/
Dsemaphore.rs21 fn new(counter: i32) -> Result<Self, i32> { in new() method
Dlockref.rs41 pub fn new() -> LockRef { in new() method
62 let mut new = LockRef::INIT; in cmpxchg_loop() localVariable
Dmutex.rs47 pub const fn new(value: T) -> Self { in new() method
Dspinlock.rs164 pub const fn new(value: T) -> Self { in new() method
Dvec_cursor.rs23 pub fn new(data: Vec<u8>) -> Self { in new() method
Drwlock.rs68 pub const fn new(data: T) -> Self { in new() method
/DragonOS-0.1.5/kernel/src/sched/
Drt.rs47 pub fn new() -> RTQueue { in new() method
106 pub fn new() -> SchedulerRT { in new() method
Dcfs.rs51 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() method
118 pub fn new() -> SchedulerCFS { in new() method
/DragonOS-0.1.5/kernel/src/io/
Ddisk_info.rs28 pub fn new( in new() method
/DragonOS-0.1.5/kernel/src/mm/
Dmmio_buddy.rs49 fn new() -> Self { in new() method
616 pub fn new() -> Self { in new() method
638 fn new() -> Self { in new() method
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dfile.rs99 pub fn new(inode: Arc<dyn IndexNode>, mode: FileMode) -> Result<Self, i32> { in new() method
293 pub fn new() -> Box<FileDescriptorVec> { in new() method
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs34 pub fn new() -> Arc<Self> { in new() method
Dzero_dev.rs34 pub fn new() -> Arc<Self> { in new() method
Dmod.rs49 pub fn new() -> Arc<Self> { in new() method
197 pub fn new(dev_type_: FileType, mode_: u32, data_: usize) -> Self { in new() method
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs38 pub fn new(disk: Arc<LockedAhciDisk>) -> Arc<Self> { in new() method
Dahcidisk.rs314 pub fn new( in new() method
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs84 pub fn new(fs_info: FATFsInfo) -> Self { in new() method
162 pub fn new( in new() method
246 pub fn new(partition: Arc<Partition>) -> Result<Arc<FATFileSystem>, i32> { in new() method
1196 pub fn new( in new() method
1628 pub fn new(cluster: u64) -> Self { in new() method
1653 let new: Option<Cluster> = match self.current_cluster { in next() localVariable
Dentry.rs903 pub fn new(attr: u8) -> Self { in new() method
975 fn new(ord: u8, name_part: &[u16], check_sum: u8) -> Self { in new() method
1560 pub fn new( in new() method
1808 pub fn new(mut name: &str) -> Self { in new() method
2088 fn new() -> Self { in new() method
2176 pub fn new(name: &str, checksum: u8) -> Self { in new() method
2271 pub fn new( in new() method
Dbpb.rs183 pub fn new(partition: Arc<Partition>) -> Result<BiosParameterBlock, i32> { in new() method
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs32 pub fn new(f_ops: &vfs_file_operations_t) -> Arc<Self> { in new() method
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs81 pub fn new() -> Self { in new() method
235 pub fn new() -> Arc<Self> { in new() method
/DragonOS-0.1.5/kernel/src/common/
Dlist.h76 static inline void list_replace(struct List *old, struct List *new) in list_replace()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs78 pub fn new() -> Arc<Self> { in new() method
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal_types.rs193 pub fn new(sig: SignalNumber, _si_errno: i32, _si_code: si_code_val) -> Self { in new() method
473 pub fn new(capacity: usize) -> Self { in new() method

12