Home
last modified time | relevance | path

Searched refs:contains_key (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs298 if guard.children.contains_key(_name) { in do_create_with_data()
342 if guard.children.contains_key(name) { in add_dir()
362 if this.children.contains_key(name) { in add_file()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs101 if drivers.contains_key(&id_table) { in register_platform_driver()
130 if devices.contains_key(&id_table) { in register_platform_device()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmount.rs225 if self.mount_fs.mountpoints.lock().contains_key(&inode_id) { in unlink()
237 if self.mount_fs.mountpoints.lock().contains_key(&inode_id) { in rmdir()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs251 if guard.children.contains_key(name) { in add_dir()
268 if this.children.contains_key(name) { in add_dev()
301 if guard.children.contains_key(_name) { in do_create_with_data()
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs97 if unlikely(guard.contains_key(&vaddr)) { in do_kmalloc()
/DragonOS-0.1.8/kernel/src/libs/
Drbtree.rs1182 pub fn contains_key(&self, k: &K) -> bool { in contains_key() method
1502 assert!(!m.contains_key(&i)); in test_lots_of_insertions()
1510 assert!(!m.contains_key(&j)); in test_lots_of_insertions()
1514 assert!(m.contains_key(&j)); in test_lots_of_insertions()
1519 assert!(!m.contains_key(&i)); in test_lots_of_insertions()
1531 assert!(!m.contains_key(&j)); in test_lots_of_insertions()
1535 assert!(m.contains_key(&j)); in test_lots_of_insertions()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs244 if inode.children.contains_key(name) { in create_with_data()
300 if inode.children.contains_key(name) { in link()
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs303 if guard.contains_key("tty0") { in tty_init()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs485 if inode.children.contains_key(name) { in create_with_data()
546 if inode.children.contains_key(name) { in link()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1524 if guard.children.contains_key(&name.to_uppercase()) == false in list()