Searched refs:private_data (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.5/kernel/src/driver/tty/ |
D | tty.c | 16 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/ |
D | file.rs | 91 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()
|
D | VFS.h | 108 void *private_data; member
|
/DragonOS-0.1.5/kernel/src/common/ |
D | blk_types.h | 85 void *private_data; member
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 330 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/ |
D | mm-types.h | 135 void *private_data; member
|