Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 25 of 26) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dclass.rs32 .remove(class_name) in sys_class_unregister()
68 .remove(device_name) in class_device_unregister()
Ddevices.rs32 .remove(device_name) in sys_device_unregister()
Dfs.rs32 .remove(fs_name) in fs_unregister()
Dbus.rs32 .remove(bus_name) in sys_bus_unregister()
Dmod.rs233 1=>{return Ok(key.remove(0));} in get_entry_name()
386 pub fn remove(&self, name: &str) -> Result<(), SystemError> { in remove() method
391 .remove(name) in remove()
/DragonOS-0.1.8/kernel/src/driver/base/device/
Dbus.rs131 bus_manager.buses.remove(id_table); in remove_bus()
141 bus_manager.bus_drvs.remove(id_table); in remove_bus_driver()
Ddriver.rs81 driver_manager.drivers.remove(id_table); in remove_driver()
Dmod.rs224 device_manager.devices.remove(id_table); in remove_device()
/DragonOS-0.1.8/kernel/src/libs/
Dnotifier.rs65 let remove = self in unregister() localVariable
68 match remove.count() { in unregister()
Drbtree.rs1215 pub fn remove(&mut self, k: &K) -> Option<V> { in remove() method
1465 assert_eq!(m.remove(&0), None); in test_empty_remove()
1507 assert!(m.remove(&i).is_some()); in test_lots_of_insertions()
1528 assert!(m.remove(&i).is_some()); in test_lots_of_insertions()
1566 assert_eq!(m.remove(&1).unwrap(), 2); in test_remove()
1567 assert_eq!(m.remove(&5).unwrap(), 3); in test_remove()
1568 assert_eq!(m.remove(&9).unwrap(), 4); in test_remove()
1577 assert!(m.remove(&1).is_some()); in test_is_empty()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs168 dev_char_inode.remove(name)?; in unregister_device()
181 dev_block_inode.remove(name)?; in unregister_device()
276 pub fn remove(&self, name: &str) -> Result<(), SystemError> { in remove() method
281 .remove(name) in remove()
418 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.8/kernel/src/time/
Dclocksource.rs326 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_enqueue_watchdog()
381 cs_data.flags.remove( in set_unstable()
438 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_dequeue_watchdog()
485 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_dequeue_watchdog()
605 self.flags.remove(flags) in remove_flags()
783 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_reset_watchdog()
/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs73 map.remove(rm_dev_t); in kobj_unmap()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs332 inode.children.remove(name); in unlink()
350 inode.children.remove(name); in rmdir()
420 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs259 let name: String = self.readdir_subdirs_name.remove(0); in readdir()
336 self.mode.remove(FileMode::O_CLOEXEC); in set_close_on_exec()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs116 self.0.lock().drivers.remove(&id_table); in unregister_platform_driver()
145 self.0.lock().devices.remove(&id_table); in unregister_platform_device()
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs119 let p = guard.remove(&vaddr); in kfree()
Ducontext.rs726 let next_hole_size: Option<usize> = self.vm_holes.remove(&region.end()); in unreserve_hole()
1211 prot_flags.remove(ProtFlags::PROT_WRITE); in new()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs499 let (paddr, allocated_frame_count) = v.remove(random_index); in test_buddy()
500 assert!(addr_set.remove(&paddr)); in test_buddy()
517 assert!(addr_set.remove(&paddr)); in test_buddy()
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs256 items.remove(index); in __unregister_chardev_region()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs240 cpu_pending(smp_get_processor_id() as usize).remove(VecStatus::from(softirq_num)); in clear_softirq_pending()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1569 guard.children.remove(&name.to_uppercase()); in unlink()
1585 let r = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in unlink()
1596 guard.children.remove(&name.to_uppercase()); in rmdir()
1613 dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in rmdir()
1651 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs575 inode.children.remove(name); in unlink()
635 1=>{return Ok(key.remove(0));} in get_entry_name()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md228 * remove `ret_from_syscall`
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs119 listen_table_guard.remove(&port); in unbind_port()
150 socket_set_guard.remove(self.0); // 删除的时候,会发送一条FINISH的信息? in drop()

12