Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/driver/tty/
Dtty.c16 filp->private_data = &tty_private_data; in tty_open()
29 filp->private_data = NULL; in tty_close()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dfile.rs91 pub private_data: FilePrivateData, field
107 private_data: FilePrivateData::default(), in new()
110 f.inode.open(&mut f.private_data)?; in new()
131 .read_at(self.offset, len, buf, &mut self.private_data)?; in read()
270 let r: Result<(), i32> = self.inode.close(&mut self.private_data); in drop()
DVFS.h108 void *private_data; member
/DragonOS-0.1.5/kernel/src/common/
Dblk_types.h85 void *private_data; member
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs330 let mut private_data = ProcfsFilePrivateData::new(); in open() localVariable
333 ProcFileType::ProcStatus => inode.open_status(&mut private_data)?, in open()
338 *data = FilePrivateData::Procfs(private_data); in open()
352 let private_data = match data { in close() localVariable
359 drop(private_data); in close()
382 let private_data = match data { in read_at() localVariable
391 ProcFileType::ProcStatus => return inode.read_status(offset, len, buf, private_data), in read_at()
/DragonOS-0.1.5/kernel/src/mm/
Dmm-types.h135 void *private_data; member