Lines Matching refs:uint64_t
18 extern uint64_t sys_clock(struct pt_regs *regs);
19 extern uint64_t sys_mstat(struct pt_regs *regs);
20 extern uint64_t sys_open(struct pt_regs *regs);
21 extern uint64_t sys_unlink_at(struct pt_regs *regs);
22 extern uint64_t sys_kill(struct pt_regs *regs);
23 extern uint64_t sys_sigaction(struct pt_regs * regs);
24 extern uint64_t sys_rt_sigreturn(struct pt_regs * regs);
135 uint64_t sys_close(struct pt_regs *regs) in sys_close()
152 uint64_t sys_read(struct pt_regs *regs) in sys_read()
159 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_read()
176 uint64_t ret = 0; in sys_read()
192 uint64_t sys_write(struct pt_regs *regs) in sys_write()
199 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_write()
215 uint64_t ret = 0; in sys_write()
230 uint64_t sys_lseek(struct pt_regs *regs) in sys_lseek()
237 uint64_t retval = 0; in sys_lseek()
254 uint64_t sys_fork(struct pt_regs *regs) in sys_fork()
258 uint64_t sys_vfork(struct pt_regs *regs) in sys_vfork()
272 uint64_t sys_brk(struct pt_regs *regs) in sys_brk()
274 uint64_t new_brk = PAGE_2M_ALIGN(regs->r8); in sys_brk()
310 uint64_t sys_sbrk(struct pt_regs *regs) in sys_sbrk()
312 uint64_t retval = current_pcb->mm->brk_end; in sys_sbrk()
316 uint64_t new_brk = PAGE_2M_ALIGN(retval + regs->r8); in sys_sbrk()
329 uint64_t new_brk = mm_do_brk(current_pcb->mm->brk_end, (int64_t)regs->r8); // 调整堆内存空间 in sys_sbrk()
340 uint64_t sys_reboot(struct pt_regs *regs) in sys_reboot()
367 uint64_t sys_chdir(struct pt_regs *regs) in sys_chdir()
425 uint64_t sys_getdents(struct pt_regs *regs) in sys_getdents()
441 uint64_t retval = 0; in sys_getdents()
455 uint64_t sys_execve(struct pt_regs *regs) in sys_execve()
482 uint64_t retval = do_execve(regs, path, argv, NULL); in sys_execve()
497 uint64_t sys_wait4(struct pt_regs *regs) in sys_wait4()
499 uint64_t pid = regs->r8; in sys_wait4()
539 uint64_t sys_exit(struct pt_regs *regs) in sys_exit()
544 uint64_t sys_nanosleep(struct pt_regs *regs) in sys_nanosleep()