Home
last modified time | relevance | path

Searched defs:inode (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs130 let inode: SpinLockGuard<RamFSInode> = self.0.lock(); in read_at() localVariable
163 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in write_at() localVariable
184 let inode: SpinLockGuard<RamFSInode> = self.0.lock(); in poll() localVariable
205 let inode = self.0.lock(); in metadata() localVariable
213 let mut inode = self.0.lock(); in set_metadata() localVariable
225 let mut inode = self.0.lock(); in resize() localVariable
242 let mut inode = self.0.lock(); in create_with_data() localVariable
290 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in link() localVariable
318 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in unlink() localVariable
341 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in rmdir() localVariable
[all …]
/DragonOS-0.1.5/kernel/src/driver/tty/
Dtty.c14 long tty_open(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in tty_open()
27 long tty_close(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in tty_close()
42 long tty_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint64_t arg) in tty_ioctl()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dcore.rs193 let inode: Result<Arc<dyn IndexNode>, i32> = ROOT_INODE().lookup(path); in do_open() localVariable
195 let inode: Arc<dyn IndexNode> = if inode.is_err() { in do_open() localVariable
207 let inode: Arc<dyn IndexNode> = parent_inode.create(filename, FileType::File, 0o777)?; in do_open() localVariable
300 let inode: Result<Arc<dyn IndexNode>, i32> = ROOT_INODE().lookup(path); in do_mkdir() localVariable
329 let inode: Result<Arc<dyn IndexNode>, i32> = ROOT_INODE().lookup(path); in do_remove_dir() localVariable
365 let inode: Result<Arc<dyn IndexNode>, i32> = ROOT_INODE().lookup(path); in do_unlink_at() localVariable
Dfile.rs82 inode: Arc<dyn IndexNode>, field
222 let inode: &Arc<dyn IndexNode> = &self.inode; in readdir() localVariable
263 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode() method
Dsyscall.rs197 let inode = match ROOT_INODE().lookup(&path) { in sys_chdir() localVariable
Dmount.rs93 let inode: Arc<MountFSInode> = Arc::new(self); in wrap() localVariable
Dmod.rs407 let inode = result.find(&name)?; in lookup_follow_symlink() localVariable
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.c49 long ps2_keyboard_open(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in ps2_keyboard_open()
62 long ps2_keyboard_close(struct vfs_index_node_t *inode, struct vfs_file_t *filp) in ps2_keyboard_close()
77 long ps2_keyboard_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint… in ps2_keyboard_ioctl()
Dps2_keyboard.rs33 let inode = PS2KeyBoardInode { in new() localVariable
133 let mut inode = self.0.lock(); in set_metadata() localVariable
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs324 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in open() localVariable
374 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in read_at() localVariable
422 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in poll() localVariable
443 let inode = self.0.lock(); in metadata() localVariable
450 let mut inode = self.0.lock(); in set_metadata() localVariable
462 let mut inode = self.0.lock(); in resize() localVariable
479 let mut inode = self.0.lock(); in create_with_data() localVariable
532 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in link() localVariable
560 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in unlink() localVariable
589 let inode = self.0.lock(); in find() localVariable
[all …]
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs35 let inode = NullInode { in new() localVariable
96 let mut inode = self.0.lock(); in set_metadata() localVariable
Dzero_dev.rs35 let inode = ZeroInode { in new() localVariable
96 let mut inode = self.0.lock(); in set_metadata() localVariable
Dmod.rs347 let inode = self.0.lock(); in find() localVariable
372 let inode: SpinLockGuard<DevFSInode> = self.0.lock(); in get_entry_name() localVariable
426 let mut inode = self.0.lock(); in set_metadata() localVariable
439 let inode: SpinLockGuard<DevFSInode> = self.0.lock(); in poll() localVariable
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_inode.rs39 let inode = AhciInode { in new() localVariable
101 let mut inode = self.0.lock(); in set_metadata() localVariable
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs173 let inode: Arc<LockedFATInode> = Arc::new(LockedFATInode(SpinLock::new(FATInode { in new() localVariable
1401 let inode: SpinLockGuard<FATInode> = self.0.lock(); in poll() localVariable