Lines Matching refs:alloc
1 use alloc::{
286 fn list(&self) -> Result<alloc::vec::Vec<alloc::string::String>, system_error::SystemError> { in list()
438 fn set_fs(&self, fs: alloc::sync::Weak<crate::filesystem::devfs::DevFS>) { in set_fs()
456 fn parent(&self) -> Option<alloc::sync::Weak<dyn KObject>> { in parent()
460 fn set_parent(&self, parent: Option<alloc::sync::Weak<dyn KObject>>) { in set_parent()
478 fn name(&self) -> alloc::string::String { in name()
482 fn set_name(&self, _name: alloc::string::String) { in set_name()
516 fn set_bus(&self, bus: Option<alloc::sync::Weak<dyn crate::driver::base::device::bus::Bus>>) { in set_bus()
536 driver: Option<alloc::sync::Weak<dyn crate::driver::base::device::driver::Driver>>, in set_driver()
557 fn dev_parent(&self) -> Option<alloc::sync::Weak<dyn crate::driver::base::device::Device>> { in dev_parent()
563 _dev_parent: Option<alloc::sync::Weak<dyn crate::driver::base::device::Device>>, in set_dev_parent()