/DragonOS-0.1.9/kernel/crates/bitmap/tests/ |
D | alloc-bitmap.rs | 16 assert_eq!(bitmap.first_index(), None); in test_empty_bitmap_32() 18 assert_eq!(bitmap.last_index(), None); in test_empty_bitmap_32() 20 assert_eq!(bitmap.next_index(0), None); in test_empty_bitmap_32() 22 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32() 23 assert_eq!(bitmap.prev_false_index(0), None); in test_empty_bitmap_32() 30 assert_eq!(bitmap.first_false_index(), None); in test_empty_bitmap_32() 32 assert_eq!(bitmap.last_false_index(), None); in test_empty_bitmap_32() 34 assert_eq!(bitmap.next_false_index(0), None); in test_empty_bitmap_32() 35 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32() 36 assert_eq!(bitmap.prev_false_index(0), None); in test_empty_bitmap_32() [all …]
|
D | static-bitmap.rs | 16 assert_eq!(bitmap.first_index(), None); in test_empty_bitmap_32() 18 assert_eq!(bitmap.last_index(), None); in test_empty_bitmap_32() 20 assert_eq!(bitmap.next_index(0), None); in test_empty_bitmap_32() 22 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32() 23 assert_eq!(bitmap.prev_false_index(0), None); in test_empty_bitmap_32() 30 assert_eq!(bitmap.first_false_index(), None); in test_empty_bitmap_32() 32 assert_eq!(bitmap.last_false_index(), None); in test_empty_bitmap_32() 34 assert_eq!(bitmap.next_false_index(0), None); in test_empty_bitmap_32() 35 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32() 36 assert_eq!(bitmap.prev_false_index(0), None); in test_empty_bitmap_32() [all …]
|
/DragonOS-0.1.9/kernel/crates/bitmap/src/ |
D | traits.rs | 62 None 71 None 80 None 89 None 98 None 104 None 114 None 119 None 129 None 134 None [all …]
|
D | bitmap_core.rs | 20 return None; in get() 35 return None; in set() 69 None in first_index() 80 None in first_false_index() 91 None in last_index() 122 None in last_false_index() 128 return None; in next_index() 145 None in next_index() 151 return None; in next_false_index() 168 None in next_false_index() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/ |
D | i8042_device.rs | 34 bus: None, in new() 35 class: None, in new() 36 driver: None, in new() 37 kern_inode: None, in new() 38 parent: None, in new() 39 kset: None, in new() 40 kobj_type: None, in new() 45 kobj_state: LockedKObjectState::new(None), in new() 70 IdTable::new(self.name(), None) in id_table()
|
D | i8042_ports.rs | 49 bus: None, in new() 50 class: None, in new() 51 driver: None, in new() 52 kern_inode: None, in new() 53 parent: None, in new() 54 kset: None, in new() 55 kobj_type: None, in new() 57 kobj_state: LockedKObjectState::new(None), in new() 68 IdTable::new(self.name(), None) in id_table()
|
D | i8042_driver.rs | 36 ktype: None, in new() 37 kset: None, in new() 38 parent: None, in new() 39 kernfs_inode: None, in new() 41 bus: None, in new() 44 kobj_state: LockedKObjectState::new(None), in new() 103 Some(IdTable::new(I8042PlatformDevice::NAME.to_string(), None)) in id_table()
|
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/ |
D | mod.rs | 50 runtime_paddr: None, in new() 51 runtime_service_version: None, in new() 52 dragonstub_load_info: None, in new() 53 memory_attribute_table_paddr: None, in new() 54 memreserve_table_paddr: None, in new()
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/ |
D | item_impl.rs | 25 None => quote_spanned! { in process() 32 (None, path, _) => { in process() 56 None in fully_bound_trait() 69 PathArguments::None => { in fully_bound_trait() 71 colon2_token: None, in fully_bound_trait()
|
/DragonOS-0.1.9/kernel/src/driver/base/ |
D | cpu.rs | 65 subsys_private: SubSysPrivate::new("cpu".to_string(), None, None, &[]), in new() 119 kobj_state: LockedKObjectState::new(None), in new() 137 parent_kobj: None, in new() 138 bus: None, in new() 139 kset: None, in new() 141 kern_inode: None, in new() 142 ktype: None, in new() 153 IdTable::new("cpu".to_string(), None) in id_table() 165 None in driver()
|
D | firmware.rs | 8 static mut FIRMWARE_KSET_INSTANCE: Option<Arc<KSet>> = None; 20 .register(None) in firmware_init()
|
D | hypervisor.rs | 8 static mut HYPERVISOR_KSET_INSTANCE: Option<Arc<KSet>> = None; 20 .register(None) in hypervisor_init()
|
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/ |
D | serial8250_pio.rs | 20 [None, None, None, None, None, None, None, None]; 263 Self { device: None } in new() 270 return None; in device()
|
D | mod.rs | 37 static mut SERIAL8250_ISA_DEVICES: Option<Arc<Serial8250ISADevices>> = None; 38 static mut SERIAL8250_ISA_DRIVER: Option<Arc<Serial8250ISADriver>> = None; 102 SERIAL8250_ISA_DEVICES = None; in init() 145 None in device() 170 kobj_state: LockedKObjectState::new(None), in new() 229 return IdTable::new(self.name.to_string(), None); in id_table() 329 kset: None, in new() 330 parent_kobj: None, in new() 331 bus: None, in new() 332 inode: None, in new() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | mod.rs | 20 static mut PLATFORM_BUS_DEVICE: Option<Arc<PlatformBusDevice>> = None; 21 static mut PLATFORM_BUS: Option<Arc<PlatformBus>> = None; 80 IdTable::new("platform".to_string(), None), in platform_bus_init() 94 unsafe { PLATFORM_BUS_DEVICE = None }; in platform_bus_init()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | process.rs | 49 .alloc_fd(stdin, None) in stdio_init() 57 .alloc_fd(stdout, None) in stdio_init() 65 .alloc_fd(stderr, None) in stdio_init()
|
/DragonOS-0.1.9/kernel/src/misc/ |
D | ksysfs.rs | 14 static mut KERNEL_KSET_INSTANCE: Option<Arc<KSet>> = None; 26 .register(None) in ksysfs_init() 49 None in name()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | rwlock.rs | 136 return None; //获取失败 in inner_try_read() 145 return None; in inner_try_read() 150 irq_guard: None, in inner_try_read() 162 None => spin_loop(), in read() 176 None => spin_loop(), in read_irqsave() 188 return None; in try_read_irqsave() 250 irq_guard: None, in inner_try_write() 253 return None; in inner_try_write() 264 None => spin_loop(), in write() 280 None => spin_loop(), in write_irqsave() [all …]
|
/DragonOS-0.1.9/kernel/src/driver/irqchip/ |
D | riscv_intc.rs | 13 static mut RISCV_INTC_DOMAIN: Option<Arc<IrqDomain>> = None; 14 static mut RISCV_INTC_CHIP: Option<Arc<RiscvIntcChip>> = None; 100 None, in map() 101 None, in map()
|
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/ |
D | ps_mouse_driver.rs | 65 static mut PS2_MOUSE_DRIVER: Option<Arc<Ps2MouseDriver>> = None; 85 ktype: None, in new() 86 kset: None, in new() 87 parent: None, in new() 88 kernfs_inode: None, in new() 90 bus: None, in new() 93 kobj_state: LockedKObjectState::new(None), in new() 127 Some(IdTable::new("psmouse".to_string(), None)) in id_table() 252 Some(DeviceId::new(Some(Self::NAME), None).unwrap()), in connect()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | fbmem.rs | 45 static mut CLASS_GRAPHICS_INSTANCE: Option<Arc<GraphicsClass>> = None; 88 subsystem: SubSysPrivate::new(Self::NAME.to_string(), None, None, &[]), in new() 198 return None; in generate_fb_id() 220 kern_inode: None, in new() 221 parent: None, in new() 222 kset: None, in new() 223 ktype: None, in new() 225 device_inode_fs: None, in new() 231 kobj_state: LockedKObjectState::new(None), in new() 351 None in driver()
|
/DragonOS-0.1.9/kernel/src/driver/base/device/ |
D | mod.rs | 45 static mut DEVICE_MANAGER: Option<DeviceManager> = None; 65 static mut DEVICES_KSET_INSTANCE: Option<Arc<KSet>> = None; 67 static mut DEV_KSET_INSTANCE: Option<Arc<KSet>> = None; 69 static mut DEV_BLOCK_KSET_INSTANCE: Option<Arc<KSet>> = None; 71 static mut DEV_CHAR_KSET_INSTANCE: Option<Arc<KSet>> = None; 74 static mut DEVICES_VIRTUAL_KSET_INSTANCE: Option<Arc<KSet>> = None; 150 return None; in bus() 162 return None; in class() 193 None in attribute_groups() 283 IdTable::new("unknown".to_string(), None) in default() [all …]
|
/DragonOS-0.1.9/build-scripts/kernel_build/src/cfiles/arch/ |
D | riscv64.rs | 11 c.define("__riscv64__", None); in setup_defines() 12 c.define("__riscv", None); in setup_defines()
|
/DragonOS-0.1.9/kernel/src/libs/ida/src/ |
D | lib.rs | 35 return None; in alloc() 42 return None; in alloc()
|
/DragonOS-0.1.9/kernel/src/init/ |
D | mod.rs | 72 let mut pos: Option<usize> = None; in boot_cmdline_append() 101 return None; in fdt() 111 return None; in fdt_paddr()
|