Home
last modified time | relevance | path

Searched refs:create_file (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/driver/base/device/
H A Ddriver.rs261 if let Err(e) = device_manager().create_file(dev, &DeviceAttrCoredump) { in driver_sysfs_add()
294 return sysfs_instance().create_file(&kobj, attr); in create_attr_file()
H A Dbus.rs390 self.create_file(bus, &BusAttrDriversProbe)?; in add_probe_files()
391 let r = self.create_file(bus, &BusAttrDriversAutoprobe); in add_probe_files()
405 fn create_file( in create_file() method
411 return sysfs_instance().create_file(&bus_kobj, attr); in create_file()
H A Ddd.rs446 .create_file(device, &DeviceAttrStateSynced) in really_probe()
493 .create_file(device, &DeviceAttrCoredump) in add_to_sysfs()
H A Dmod.rs535 self.create_file(&device, &DeviceAttrDev)?; in add_device()
805 pub fn create_file( in create_file() method
831 return sysfs_instance().create_file(&kobj, attr); in create_file()
/DragonOS/kernel/src/driver/acpi/
H A Dsysfs.rs79 sysfs_instance().create_file(&hotplug_kobj, &AttrForceRemove)?; in acpi_sysfs_init()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs105 pub fn create_file( in create_file() method
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs547 pub fn create_file(&self, name: &str, fs: &Arc<FATFileSystem>) -> Result<FATFile, SystemError> { in create_file() method
H A Dfs.rs1459 d.create_file(name, fs)?; in create()