Searched refs:Dirent (Results 1 – 3 of 3) sorted by relevance
11 use super::{Dirent, FileType, IndexNode, Metadata};245 pub fn readdir(&mut self, dirent: &mut Dirent) -> Result<u64, SystemError> { in readdir()284 return Ok((name_bytes.len() + ::core::mem::size_of::<Dirent>() in readdir()
18 Dirent, FileType, IndexNode, ROOT_INODE,310 unsafe { (buf.as_mut_ptr() as *mut Dirent).as_mut() }.ok_or(SystemError::EFAULT)?; in getdents()
545 pub struct Dirent { struct