Searched refs:KernCallbackData (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | callback.rs | 15 fn open(&self, data: KernCallbackData) -> Result<(), SystemError>; in open() 19 data: KernCallbackData, in read() argument 26 data: KernCallbackData, in write() argument 31 fn poll(&self, data: KernCallbackData) -> Result<PollStatus, SystemError>; in poll() 36 pub struct KernCallbackData<'a> { struct 42 impl<'a> KernCallbackData<'a> { implementation
|
H A D | mod.rs | 22 use self::callback::{KernCallbackData, KernFSCallback, KernInodePrivateData}; 165 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in open() 354 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in read_at() 378 KernCallbackData::new(self.self_ref.upgrade().unwrap(), self.private_data.lock()); in write_at()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 14 callback::{KernCallbackData, KernFSCallback, KernInodePrivateData}, 290 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() 296 data: KernCallbackData, in read() argument 305 data: KernCallbackData, in write() argument 313 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() 322 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() 328 data: KernCallbackData, in read() argument 337 _data: KernCallbackData, in write() argument 345 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll() 354 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() [all …]
|