Home
last modified time | relevance | path

Searched refs:KernInodePrivateData (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dcallback.rs38 private_data: SpinLockGuard<'a, Option<KernInodePrivateData>>,
45 private_data: SpinLockGuard<'a, Option<KernInodePrivateData>>, in new() argument
59 pub fn private_data(&self) -> &Option<KernInodePrivateData> { in private_data() argument
64 pub fn private_data_mut(&mut self) -> &mut Option<KernInodePrivateData> { in private_data_mut() argument
87 pub enum KernInodePrivateData { enum
91 impl KernInodePrivateData { implementation
95 KernInodePrivateData::SysFS(private_data) => { in callback_read()
104 KernInodePrivateData::SysFS(private_data) => { in callback_write()
Dmod.rs21 use self::callback::{KernCallbackData, KernFSCallback, KernInodePrivateData};
118 private_data: SpinLock<Option<KernInodePrivateData>>,
377 private_data: Option<KernInodePrivateData>, in new() argument
436 private_data: Option<KernInodePrivateData>, in add_dir() argument
468 private_data: Option<KernInodePrivateData>, in add_file() argument
492 private_data: Option<KernInodePrivateData>, in inner_create() argument
601 pub fn private_data_mut(&self) -> SpinLockGuard<Option<KernInodePrivateData>> { in private_data_mut() argument
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Ddir.rs12 kernfs::{callback::KernInodePrivateData, KernFSInode},
70 Some(KernInodePrivateData::SysFS(sysfs_dir_priv)), in create_dir()
Dfile.rs13 callback::{KernCallbackData, KernFSCallback, KernInodePrivateData},
123 if let Some(KernInodePrivateData::SysFS(SysFSKernPrivateData::Dir(dt))) = x.as_ref() { in add_file_with_mode()
159 Some(KernInodePrivateData::SysFS(sys_priv)), in add_file_with_mode()
241 if let Some(KernInodePrivateData::SysFS(SysFSKernPrivateData::Dir(dt))) = x.as_ref() { in add_bin_file_with_mode()
271 Some(KernInodePrivateData::SysFS(sys_priv)), in add_bin_file_with_mode()
Dgroup.rs9 kernfs::{callback::KernInodePrivateData, KernFSInode},
77 let private_data = KernInodePrivateData::SysFS(SysFSKernPrivateData::Dir( in do_create_group()