Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/process/
Dptrace.h13 unsigned long r9; member
Dproc.S17 popq %r9
Dprocess.c149 tmp.r9 = O_RDONLY; in process_open_exec_file()
177 tmp_use_fs.r9 = 0; in process_load_elf_file()
183 tmp_use_fs.r9 = (uint64_t)buf; in process_load_elf_file()
188 tmp_use_fs.r9 = 0; in process_load_elf_file()
239 tmp_use_fs.r9 = pos; in process_load_elf_file()
245 tmp_use_fs.r9 = (uint64_t)buf; in process_load_elf_file()
250 tmp_use_fs.r9 = 0; in process_load_elf_file()
332 tmp_use_fs.r9 = pos; in process_load_elf_file()
346 tmp_use_fs.r9 = (uint64_t)buf3; in process_load_elf_file()
353 tmp_use_fs.r9 = 0; in process_load_elf_file()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs37 let flags = regs.r9; in sys_open()
71 let buf_vaddr = regs.r9 as usize; in sys_read()
100 let buf_vaddr = regs.r9 as usize; in sys_write()
129 let offset = regs.r9 as i64; in sys_lseek()
230 let dirent = match unsafe { (regs.r9 as usize as *mut Dirent).as_mut() } { in sys_getdents()
275 let mode = regs.r9; in sys_mkdir()
307 let ptr = regs.r9 as usize as *const c_char; in sys_unlink_at()
430 let nfd = regs.r9 as i32; in sys_dup2()
/DragonOS-0.1.7/kernel/src/
Dhead.S308 leaq GDT_END(%rip), %r9
310 subq %r8, %r9
311 movq %r9, %r13 // GDT size
314 leaq IDT_END(%rip), %r9
316 subq %r8, %r9
317 movq %r9, %r12 // IDT size
/DragonOS-0.1.7/kernel/src/syscall/
Dsyscall.c168 printk_color(regs->r9, regs->r10, (char *)regs->r8); in sys_put_string()
300 char **argv = (char **)regs->r9; in sys_execve()
338 int *status = (int *)regs->r9; in sys_wait4()
387 struct timespec *rmtp = (struct timespec *)regs->r9; in sys_nanosleep()
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs26 let socket_type = regs.r9 as usize; in sys_socket()
79 let level = regs.r9 as usize; in sys_setsockopt()
120 let level = regs.r9 as usize; in sys_getsockopt()
216 let addr = regs.r9 as usize; in sys_connect()
244 let addr = regs.r9 as usize; in sys_bind()
271 let buf = regs.r9 as usize; in sys_sendto()
326 let buf = regs.r9 as usize; in sys_recvfrom()
397 let msg = regs.r9 as usize; in sys_recvmsg()
445 let backlog = regs.r9 as usize; in sys_listen()
469 let how = regs.r9 as usize; in sys_shutdown()
[all …]
/DragonOS-0.1.7/kernel/src/exception/
Dentry.S39 popq %r9
93 pushq %r9
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs72 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
840 let act = regs.r9 as usize as *mut user_sigaction; in sys_sigaction()