Lines Matching refs:r8
121 printk_color(regs->r9, regs->r10, (char *)regs->r8); in sys_put_string()
137 int fd_num = (int)regs->r8; in sys_close()
154 int fd_num = (int)regs->r8; in sys_read()
194 int fd_num = (int)regs->r8; in sys_write()
232 int fd_num = (int)regs->r8; in sys_lseek()
274 uint64_t new_brk = PAGE_2M_ALIGN(regs->r8); in sys_brk()
279 if ((int64_t)regs->r8 == -1) in sys_brk()
284 if ((int64_t)regs->r8 == -2) in sys_brk()
313 if ((int64_t)regs->r8 > 0) in sys_sbrk()
316 uint64_t new_brk = PAGE_2M_ALIGN(retval + regs->r8); in sys_sbrk()
325 … if ((__int128_t)current_pcb->mm->brk_end + (__int128_t)regs->r8 < current_pcb->mm->brk_start) in sys_sbrk()
329 uint64_t new_brk = mm_do_brk(current_pcb->mm->brk_end, (int64_t)regs->r8); // 调整堆内存空间 in sys_sbrk()
369 char *dest_path = (char *)regs->r8; in sys_chdir()
427 int fd = (int)regs->r8; in sys_getdents()
458 char *user_path = (char *)regs->r8; in sys_execve()
499 uint64_t pid = regs->r8; in sys_wait4()
541 return process_do_exit(regs->r8); in sys_exit()
546 const struct timespec *rqtp = (const struct timespec *)regs->r8; in sys_nanosleep()