Home
last modified time | relevance | path

Searched refs:options (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.8/user/libs/libc/src/
Dfcntl.c12 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/
Dwait.c12 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/
Dwait.c23 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/
Dirqflags.rs8 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/
Dsyscall.rs10 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/
Dwait.h12 pid_t waitpid(pid_t pid, int *stat_loc, int options);
/DragonOS-0.1.8/kernel/src/syscall/
Dsyscall.c85 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()
Dmod.rs588 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/
Dwait.h21 pid_t waitpid(pid_t pid, int *stat_loc, int options);
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dfcntl.h73 int open(const char * path, int options, ...);
/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/
Dmod.rs44 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dfcntl.md8 ``int open(const char * path,int options, ...)``
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs196 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/
Dbochsrc4 display_library: x#, options="gui_debug"
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs159 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()