Searched refs:KernInodePrivateData (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/ |
D | callback.rs | 38 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()
|
D | mod.rs | 21 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/ |
D | dir.rs | 12 kernfs::{callback::KernInodePrivateData, KernFSInode}, 70 Some(KernInodePrivateData::SysFS(sysfs_dir_priv)), in create_dir()
|
D | file.rs | 13 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()
|
D | group.rs | 9 kernfs::{callback::KernInodePrivateData, KernFSInode}, 77 let private_data = KernInodePrivateData::SysFS(SysFSKernPrivateData::Dir( in do_create_group()
|