/DragonOS-0.1.7/kernel/src/libs/ |
D | rbtree.rs | 460 self.insert(k, v); in extend() 949 self.insert(k, v); in replace_or_insert() 1021 pub fn insert(&mut self, k: K, v: V) { in insert() method 1425 m.insert(1, 2); in test_insert() 1427 m.insert(2, 4); in test_insert() 1429 m.insert(2, 6); in test_insert() 1440 m.insert(2, 4); in test_replace() 1451 m.insert(1, 2); in test_clone() 1453 m.insert(2, 4); in test_clone() 1488 m.insert(i, i); in test_lots_of_insertions() [all …]
|
D | keyboard_parser.rs | 198 scancode_status.insert = true; in handle_func0() 201 scancode_status.insert = false; in handle_func0() 451 insert: bool, field 481 insert: false, in new()
|
/DragonOS-0.1.7/user/libs/libKeyboard/ |
D | keyboard.c | 6 static bool gui_l = 0, gui_r = 0, apps = 0, insert = 0, home = 0, pgup = 0, del = 0, end = 0, pgdn … variable 377 insert = true; in keyboard_analyze_keycode() 381 insert = false; in keyboard_analyze_keycode()
|
/DragonOS-0.1.7/kernel/src/driver/tty/ |
D | tty_device.rs | 126 p.flags.insert(TtyFileFlag::STDIN); in open() 129 p.flags.insert(TtyFileFlag::STDERR); in open() 131 p.flags.insert(TtyFileFlag::STDOUT); in open() 309 guard.insert("tty0".to_string(), tty.clone()); in tty_init()
|
/DragonOS-0.1.7/kernel/src/driver/base/device/ |
D | bus.rs | 110 bus_manager.buses.insert(id_table, bus_dev); in add_bus() 121 bus_manager.bus_drvs.insert(id_table, bus_drv); in add_driver()
|
D | driver.rs | 71 driver_manager.drivers.insert(id_table, drv); in add_driver()
|
D | mod.rs | 154 device_manager.devices.insert(id_table, dev); in add_device()
|
/DragonOS-0.1.7/kernel/src/driver/base/platform/ |
D | mod.rs | 104 drivers.insert(id_table.clone(), driver.clone()); in register_platform_driver() 133 devices.insert(id_table.clone(), device.clone()); in register_platform_device()
|
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/ |
D | mod.rs | 328 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data() 364 this.children.insert(name.to_string(), file); in add_file()
|
/DragonOS-0.1.7/kernel/src/sched/ |
D | cfs.rs | 71 self.queue.insert(pcb.virtual_runtime, pcb); in enqueue()
|
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/ |
D | mod.rs | 277 inode.children.insert(String::from(name), result.clone()); in create_with_data() 306 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
|
/DragonOS-0.1.7/kernel/src/exception/ |
D | softirq.rs | 232 cpu_pending(processor_id).insert(VecStatus::from(softirq_num)); in raise_softirq()
|
/DragonOS-0.1.7/kernel/src/filesystem/devfs/ |
D | mod.rs | 272 this.children.insert(name.to_string(), dev); in add_dev() 333 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
|
/DragonOS-0.1.7/kernel/src/net/ |
D | socket.rs | 1042 result.insert(PollStatus::READ); in poll() 1045 result.insert(PollStatus::WRITE); in poll() 1048 result.insert(PollStatus::ERROR); in poll()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | mount.rs | 335 .insert(metadata.inode_id, new_mount_fs.clone()); in mount()
|
/DragonOS-0.1.7/kernel/src/driver/net/ |
D | virtio_net.rs | 231 NET_DRIVERS.write().insert(iface.nic_id(), iface.clone()); in virtio_net()
|
/DragonOS-0.1.7/kernel/src/filesystem/procfs/ |
D | mod.rs | 520 inode.children.insert(String::from(name), result.clone()); in create_with_data() 549 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
|
/DragonOS-0.1.7/kernel/src/filesystem/fat/ |
D | fs.rs | 144 .insert(name.to_uppercase(), entry_inode.clone()); in find() 1495 .insert(name.to_uppercase(), entry_inode.clone()); in list() 1578 guard.children.insert(name.to_uppercase(), target.clone()); in rmdir()
|