Home
last modified time | relevance | path

Searched refs:off (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.5/kernel/src/process/
Dprocess.c309 for (uint64_t off = 0; off < map_size; off += PAGE_4K_SIZE) in process_load_elf_file() local
314 … int val = mm_create_vma(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, VM_USER | VM_ACCESS_FLAGS, in process_load_elf_file()
320 mm_map(current_pcb->mm, virt_base + off, PAGE_4K_SIZE, paddr); in process_load_elf_file()
323 memset((void *)(virt_base + off), 0, PAGE_4K_SIZE); in process_load_elf_file()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs734 for off in &offsets.as_slice()[..offsets.len() - 1] {
738 let bytes_offset = fs.cluster_bytes_offset(off.0) + off.1;
814 for off in offsets { in remove_dir_entries()
815 let disk_bytes_offset = fs.cluster_bytes_offset(off.0) + off.1; in remove_dir_entries()
2315 if let Some(off) = self.end_offset { in next()
2317 self.fin = off == self.current_offset; in next()
Dfs.rs1292 if let Some(off) = self.offset { in flush()
1293 let in_block_offset = off % LBA_SIZE as u64; in flush()
1295 let lba = off as usize / LBA_SIZE; in flush()
1321 if let Some(off) = self.offset { in update()
1322 let in_block_offset = off % LBA_SIZE as u64; in update()
1324 let lba = off as usize / LBA_SIZE; in update()