Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs127 fdata: InodeInfo, field
147 let pid = self.fdata.pid; in open_status()
347 fdata: InodeInfo { in new()
379 meminfo_file.0.lock().fdata.pid = Pid::new(0); in new()
380 meminfo_file.0.lock().fdata.ftype = ProcFileType::ProcMeminfo; in new()
392 kmsg_file.0.lock().fdata.pid = Pid::new(1); in new()
393 kmsg_file.0.lock().fdata.ftype = ProcFileType::ProcKmsg; in new()
423 status_file.0.lock().fdata.pid = pid; in register_pid()
424 status_file.0.lock().fdata.ftype = ProcFileType::ProcStatus; in register_pid()
466 let file_size = match inode.fdata.ftype { in open()
[all …]