Searched refs:lseek (Results 1 – 9 of 9) sorted by relevance
/DragonOS/user/apps/http_server/ |
H A D | main.c | 85 int content_length = lseek(fd, 0, SEEK_END); in send_file() 88 lseek(fd, 0, SEEK_SET); in send_file()
|
/DragonOS/docs/kernel/filesystem/vfs/ |
H A D | design.md | 21 │ │ lseek │
|
/DragonOS/kernel/src/mm/ |
H A D | syscall.rs | 621 let old_pos = file.lseek(SeekFrom::SeekCurrent(0)).unwrap(); in msync() 622 file.lseek(SeekFrom::SeekSet(fstart as i64)).unwrap(); in msync() 626 file.lseek(SeekFrom::SeekSet(old_pos as i64)).unwrap(); in msync()
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 168 param.file_mut().lseek(SeekFrom::SeekSet(0))?; in load_binary_file()
|
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 340 file.lseek(SeekFrom::SeekSet(offset_in_file as i64))?; in do_load_file() 447 file.lseek(SeekFrom::SeekSet(shoff as i64)) in parse_segments() 479 file.lseek(SeekFrom::SeekSet(phoff as i64)) in parse_segments()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 220 file.lseek(SeekFrom::SeekEnd(0))?; in do_sys_openat2()
|
H A D | file.rs | 387 pub fn lseek(&self, origin: SeekFrom) -> Result<usize, SystemError> { in lseek() method
|
H A D | syscall.rs | 604 pub fn lseek(fd: i32, offset: i64, seek: u32) -> Result<usize, SystemError> { in lseek() method 621 return file.lseek(seek); in lseek()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 186 Self::lseek(fd, offset, whence) in handle()
|