/DragonOS-0.1.8/user/libs/libc/src/ |
D | fcntl.c | 12 int open(const char *path, int options, ...) in open() argument 14 return syscall_invoke(SYS_OPEN, (uint64_t)path, options, 0, 0, 0, 0, 0, 0); in open()
|
/DragonOS-0.1.8/kernel/src/libs/sys/ |
D | wait.c | 12 pid_t waitpid(pid_t pid, int *stat_loc, int options) in waitpid() argument 14 …return (pid_t)enter_syscall_int(SYS_WAIT4, (uint64_t)pid, (uint64_t)stat_loc, options, 0, 0, 0, 0,… in waitpid()
|
/DragonOS-0.1.8/user/libs/libc/src/sys/ |
D | wait.c | 23 pid_t waitpid(pid_t pid, int *stat_loc, int options) in waitpid() argument 25 …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.8/kernel/src/arch/x86_64/asm/ |
D | irqflags.rs | 8 asm!("pushfq; pop {}; cli", out(reg) x, options(nomem, preserves_flags)); in local_irq_save() 17 asm!("push {}; popfq", in(reg) x, options(nomem, preserves_flags)); in local_irq_restore()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | syscall.rs | 10 fn c_sys_wait4(pid: pid_t, wstatus: *mut c_int, options: c_int, rusage: *mut c_void) -> c_int; in c_sys_wait4() 39 options: c_int, in wait4() 42 let ret = unsafe { c_sys_wait4(pid, wstatus, options, rusage) }; in wait4()
|
/DragonOS-0.1.8/kernel/src/common/sys/ |
D | wait.h | 12 pid_t waitpid(pid_t pid, int *stat_loc, int options);
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | syscall.c | 85 uint64_t c_sys_wait4(pid_t pid, int *status, int options, void *rusage) in c_sys_wait4() argument 101 if (options != 0) in c_sys_wait4()
|
D | mod.rs | 588 let options = args[2] as c_int; in handle() localVariable 600 Self::wait4(pid, wstatus, options, rusage) in handle()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/sys/ |
D | wait.h | 21 pid_t waitpid(pid_t pid, int *stat_loc, int options);
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | fcntl.h | 73 int open(const char * path, int options, ...);
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/ |
D | mod.rs | 44 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | fcntl.md | 8 ``int open(const char * path,int options, ...)``
|
/DragonOS-0.1.8/kernel/src/net/ |
D | socket.rs | 196 pub options: SocketOptions, field 205 options: SocketOptions, in new() 212 options, in new() 245 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() 271 options, in new() 302 if !self.metadata.options.contains(SocketOptions::BLOCK) { in read() 428 pub fn new(options: SocketOptions) -> Self { in new() 448 options, in new() 656 pub fn new(options: SocketOptions) -> Self { in new() 670 options, in new() [all …]
|
/DragonOS-0.1.8/ |
D | bochsrc | 4 display_library: x#, options="gui_debug"
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 159 asm!("invlpg [{0}]", in(reg) address.data(), options(nostack, preserves_flags)); in invalidate_page() 175 asm!("mov {}, cr3", out(reg) paddr, options(nomem, nostack, preserves_flags)); in table() 183 asm!("mov cr3, {}", in(reg) table.data(), options(nostack, preserves_flags)); in set_table()
|