Lines Matching refs:Inode
29 pub type Inode = u64; typedef
31 const INVALID: Inode = 0;
32 const ROOT: Inode = 1;
61 pub inode: Inode,
120 pub fn get(&self, inode: Inode) -> Option<&InodeData> { in get()
127 fn get_mut(&mut self, inode: Inode) -> Option<&mut InodeData> { in get_mut()
134 fn put(&mut self, data: InodeData) -> Inode { in put() argument
135 let inode = self.table.len() as Inode; in put()
142 fn find(&self, parent: Inode, name: &CStr) -> Option<Inode> { in find() argument
152 fn add(&mut self, parent: Inode, name: CString, data: InodeData) -> Inode { in add() argument
247 fn check_dir(it: &InodeTable, parent: Inode, name: &str) -> Inode { in check_dir() argument
260 fn check_file<'a>(it: &'a InodeTable, parent: Inode, name: &str) -> &'a InodeData { in check_file() argument