Lines Matching refs:expect
61 .expect("Failed to create /proc"); in vfs_init()
64 .expect("Failed to create /dev"); in vfs_init()
67 .expect("Failed to create /sys"); in vfs_init()
75 .expect("Cannot find /proc") in vfs_init()
77 .expect("Failed to mount procfs."); in vfs_init()
85 .expect("Cannot find /dev") in vfs_init()
87 .expect("Failed to mount devfs"); in vfs_init()
95 .expect("Cannot find /sys") in vfs_init()
97 .expect("Failed to mount sysfs"); in vfs_init()
100 let root_inode = ROOT_INODE().list().expect("VFS init failed"); in vfs_init()
120 .expect(format!("Failed to create '/{mountpoint_name}'").as_str()) in do_migrate()
127 .expect(format!("Failed to migrate {mountpoint_name}").as_str()); in do_migrate()
137 let binding = ROOT_INODE().find("proc").expect("ProcFS not mounted!").fs(); in migrate_virtual_filesystem()
139 let binding = ROOT_INODE().find("dev").expect("DevFS not mounted!").fs(); in migrate_virtual_filesystem()
141 let binding = ROOT_INODE().find("sys").expect("SysFs not mounted!").fs(); in migrate_virtual_filesystem()