Searched refs:PosixStatfs (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 339 pub struct PosixStatfs { struct 354 impl From<SuperBlock> for PosixStatfs { argument 1365 pub fn statfs(path: *const u8, user_statfs: *mut PosixStatfs) -> Result<usize, SystemError> { in statfs() 1366 let mut writer = UserBufferWriter::new(user_statfs, size_of::<PosixStatfs>(), true)?; in statfs() 1380 let statfs = PosixStatfs::from(inode.fs().super_block()); in statfs() 1385 pub fn fstatfs(fd: i32, user_statfs: *mut PosixStatfs) -> Result<usize, SystemError> { in fstatfs() 1386 let mut writer = UserBufferWriter::new(user_statfs, size_of::<PosixStatfs>(), true)?; in fstatfs() 1393 let statfs = PosixStatfs::from(file.inode().fs().super_block()); in fstatfs()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 9 filesystem::vfs::syscall::{PosixStatfs, PosixStatx}, 793 let statfs = args[1] as *mut PosixStatfs; in handle() 799 let statfs = args[1] as *mut PosixStatfs; in handle()
|