Searched refs:create_file (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/driver/base/device/ |
H A D | driver.rs | 261 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 D | bus.rs | 390 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 D | dd.rs | 446 .create_file(device, &DeviceAttrStateSynced) in really_probe() 493 .create_file(device, &DeviceAttrCoredump) in add_to_sysfs()
|
H A D | mod.rs | 535 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 D | sysfs.rs | 79 sysfs_instance().create_file(&hotplug_kobj, &AttrForceRemove)?; in acpi_sysfs_init()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 105 pub fn create_file( in create_file() method
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | entry.rs | 547 pub fn create_file(&self, name: &str, fs: &Arc<FATFileSystem>) -> Result<FATFile, SystemError> { in create_file() method
|
H A D | fs.rs | 1459 d.create_file(name, fs)?; in create()
|