Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/libs/libc/src/
Dunistd.c17 return syscall_invoke(SYS_CLOSE, fd, 0, 0, 0, 0, 0, 0, 0); in close()
30 return (ssize_t)syscall_invoke(SYS_READ, fd, (uint64_t)buf, count, 0, 0, 0, 0, 0); in read()
43 return (ssize_t)syscall_invoke(SYS_WRITE, fd, (uint64_t)buf, count, 0, 0, 0, 0, 0); in write()
56 return (off_t)syscall_invoke(SYS_LSEEK, fd, offset, whence, 0, 0, 0, 0, 0); in lseek()
66 return (pid_t)syscall_invoke(SYS_FORK, 0, 0, 0, 0, 0, 0, 0, 0); in fork()
76 return (pid_t)syscall_invoke(SYS_VFORK, 0, 0, 0, 0, 0, 0, 0, 0); in vfork()
90 uint64_t x = (uint64_t)syscall_invoke(SYS_BRK, (uint64_t)end_brk, 0, 0, 0, 0, 0, 0, 0); in brk()
103 void *retval = (void *)syscall_invoke(SYS_SBRK, (uint64_t)increment, 0, 0, 0, 0, 0, 0, 0); in sbrk()
128 return syscall_invoke(SYS_CHDIR, (uint64_t)dest_path, 0, 0, 0, 0, 0, 0, 0); in chdir()
146 int retval = syscall_invoke(SYS_EXECVE, (uint64_t)path, (uint64_t)argv, 0, 0, 0, 0, 0, 0); in execv()
[all …]
Dtime.c15 return syscall_invoke(SYS_NANOSLEEP, (uint64_t)rqtp, (uint64_t)rmtp, 0, 0, 0, 0, 0, 0); in nanosleep()
41 return (clock_t)syscall_invoke(SYS_CLOCK, 0,0,0,0,0,0,0,0); in clock()
Dsignal.c43 …return syscall_invoke(SYS_SIGACTION, (uint64_t)signum, (uint64_t)act, (uint64_t)oldact, 0, 0, 0, 0… in sigaction()
66 syscall_invoke(SYS_KILL, pid, sig, 0, 0, 0, 0, 0, 0); in kill()
Dfcntl.c14 return syscall_invoke(SYS_OPEN, (uint64_t)path, options, 0, 0, 0, 0, 0, 0); in open()
Dstdlib.c60 syscall_invoke(SYS_EXIT, status, 0, 0, 0, 0, 0, 0, 0); in exit()
Ddirent.c59 return syscall_invoke(SYS_GET_DENTS, fd, (uint64_t)dirent, count, 0, 0, 0, 0, 0); in getdents()
Dprintf.c37 return syscall_invoke(SYS_PUT_STRING, (uint64_t)str, front_color, bg_color, 0, 0, 0, 0, 0); in put_string()
/DragonOS-0.1.5/user/libs/libc/src/sys/
Dstat.c6 return syscall_invoke(SYS_MKDIR, (uint64_t)path, (uint64_t)mode, 0, 0, 0, 0, 0, 0); in mkdir()
17 return syscall_invoke(SYS_MSTAT, (uint64_t)stat, 0, 0, 0, 0, 0, 0, 0); in mstat()
22 return syscall_invoke(SYS_PIPE, (uint64_t)fd, 0, 0,0,0,0,0,0); in pipe()
Dwait.c25 …return (pid_t)syscall_invoke(SYS_WAIT4, (uint64_t)pid, (uint64_t)stat_loc, options, 0, 0, 0, 0, 0); in waitpid()
/DragonOS-0.1.5/user/libs/libsystem/
Dsyscall.c4 long syscall_invoke(uint64_t syscall_id, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3… in syscall_invoke() function
Dsyscall.h50 long syscall_invoke(uint64_t syscall_id, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3…
/DragonOS-0.1.5/user/apps/shell/
Dcmd.c548 return syscall_invoke(SYS_REBOOT, 0, 0, 0, 0, 0, 0, 0, 0); in shell_cmd_reboot()