Home
last modified time | relevance | path

Searched refs:remove_file (Results 1 – 6 of 6) sorted by relevance

/DragonOS/user/apps/test_socket/src/
H A Dtest_unix_stream.rs20 fs::remove_file(&SOCKET_PATH).ok(); in test_unix_stream()
35 fs::remove_file(&SOCKET_PATH).ok(); in test_unix_stream()
/DragonOS/user/apps/test-symlink/src/
H A Dmain.rs34 fs::remove_file(symlink_path).expect("Failed to remove symlink"); in main()
35 fs::remove_file(target).expect("Failed to remove target file"); in main()
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs394 self.remove_file(bus, &BusAttrDriversProbe); in add_probe_files()
401 self.remove_file(bus, &BusAttrDriversAutoprobe); in remove_probe_files()
402 self.remove_file(bus, &BusAttrDriversProbe); in remove_probe_files()
414 fn remove_file(&self, bus: &Arc<dyn Bus>, attr: &'static dyn Attribute) { in remove_file() method
416 sysfs_instance().remove_file(&bus_kobj, attr); in remove_file()
H A Ddriver.rs307 sysfs_instance().remove_file(&kobj, attr); in remove_attr_file()
/DragonOS/user/apps/test-chown/src/
H A Dmain.rs115 std::fs::remove_file(filename)?; in main()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs181 pub fn remove_file(&self, kobj: &Arc<dyn KObject>, attr: &'static dyn Attribute) { in remove_file() method