Searched refs:PosixKstat (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 94 pub struct PosixKstat { struct 124 impl PosixKstat { impl 1288 fn do_fstat(fd: i32) -> Result<PosixKstat, SystemError> { in do_fstat() argument 1297 let mut kstat = PosixKstat::new(); in do_fstat() 1333 pub fn fstat(fd: i32, usr_kstat: *mut PosixKstat) -> Result<usize, SystemError> { in fstat() 1334 let mut writer = UserBufferWriter::new(usr_kstat, size_of::<PosixKstat>(), true)?; in fstat() 1341 pub fn stat(path: *const u8, user_kstat: *mut PosixKstat) -> Result<usize, SystemError> { in stat() 1353 pub fn lstat(path: *const u8, user_kstat: *mut PosixKstat) -> Result<usize, SystemError> { in lstat()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 31 syscall::{ModeType, PosixKstat, UtimensFlags}, 652 let kstat: *mut PosixKstat = args[1] as *mut PosixKstat; in handle() 656 match verify_area(vaddr, core::mem::size_of::<PosixKstat>()) { in handle() 765 let kstat = args[1] as *mut PosixKstat; in handle() 772 let kstat = args[1] as *mut PosixKstat; in handle()
|