Home
last modified time | relevance | path

Searched refs:None (Results 1 – 25 of 193) sorted by relevance

12345678

/DragonOS-0.1.9/kernel/crates/bitmap/tests/
Dalloc-bitmap.rs16 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 …]
Dstatic-bitmap.rs16 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/
Dtraits.rs62 None
71 None
80 None
89 None
98 None
104 None
114 None
119 None
129 None
134 None
[all …]
Dbitmap_core.rs20 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/
Di8042_device.rs34 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()
Di8042_ports.rs49 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()
Di8042_driver.rs36 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/
Dmod.rs50 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/
Ditem_impl.rs25 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/
Dcpu.rs65 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()
Dfirmware.rs8 static mut FIRMWARE_KSET_INSTANCE: Option<Arc<KSet>> = None;
20 .register(None) in firmware_init()
Dhypervisor.rs8 static mut HYPERVISOR_KSET_INSTANCE: Option<Arc<KSet>> = None;
20 .register(None) in hypervisor_init()
/DragonOS-0.1.9/kernel/src/driver/serial/serial8250/
Dserial8250_pio.rs20 [None, None, None, None, None, None, None, None];
263 Self { device: None } in new()
270 return None; in device()
Dmod.rs37 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/
Dmod.rs20 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/
Dprocess.rs49 .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/
Dksysfs.rs14 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/
Drwlock.rs136 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/
Driscv_intc.rs13 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/
Dps_mouse_driver.rs65 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/
Dfbmem.rs45 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/
Dmod.rs45 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/
Driscv64.rs11 c.define("__riscv64__", None); in setup_defines()
12 c.define("__riscv", None); in setup_defines()
/DragonOS-0.1.9/kernel/src/libs/ida/src/
Dlib.rs35 return None; in alloc()
42 return None; in alloc()
/DragonOS-0.1.9/kernel/src/init/
Dmod.rs72 let mut pos: Option<usize> = None; in boot_cmdline_append()
101 return None; in fdt()
111 return None; in fdt_paddr()

12345678