Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Delf.rs325 let nbyte = self.elf_page_offset(elf_bss); in pad_zero() localVariable
326 if nbyte > 0 { in pad_zero()
327 let nbyte = Self::ELF_PAGE_SIZE - nbyte; in pad_zero() localVariable
328 unsafe { clear_user(elf_bss, nbyte).map_err(|_| SystemError::EFAULT) }?; in pad_zero()
538 let nbyte = self.elf_page_offset(elf_bss); in load() localVariable
539 if nbyte > 0 { in load()
540 let nbyte = min(Self::ELF_PAGE_SIZE - nbyte, elf_brk - elf_bss); in load() localVariable
544 clear_user(elf_bss + load_bias, nbyte).ok(); in load()