/DragonOS-0.1.8/user/libs/libc/src/sys/ |
D | wait.c | 10 pid_t wait(int *stat_loc) in wait() 12 return waitpid((pid_t)(-1), stat_loc, 0); in wait() 23 pid_t waitpid(pid_t pid, int *stat_loc, int options) in waitpid() 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/user/libs/libc/src/include/export/sys/ |
D | wait.h | 11 pid_t wait(int *stat_loc); 21 pid_t waitpid(pid_t pid, int *stat_loc, int options);
|
D | types.h | 15 typedef int64_t pid_t; typedef
|
/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() 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/kernel/src/libs/ |
D | unistd.c | 9 pid_t fork(void) in fork() 11 return (pid_t)enter_syscall_int(SYS_FORK, 0, 0, 0, 0, 0, 0, 0, 0); in fork() 19 pid_t vfork(void) in vfork() 21 return (pid_t)enter_syscall_int(SYS_VFORK, 0, 0, 0, 0, 0, 0, 0, 0); in vfork()
|
D | mutex.rs | 11 pid_t, process_control_block, process_wakeup, PROC_INTERRUPTIBLE, PROC_RUNNING, 136 fn check_pid_in_wait_list(&self, inner: &MutexInner, pid: pid_t) -> bool { in check_pid_in_wait_list()
|
/DragonOS-0.1.8/kernel/src/common/sys/ |
D | wait.h | 12 pid_t waitpid(pid_t pid, int *stat_loc, int options);
|
D | types.h | 15 typedef int64_t pid_t; typedef
|
/DragonOS-0.1.8/kernel/src/common/ |
D | unistd.h | 21 pid_t fork(void); 28 pid_t vfork(void);
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | unistd.h | 52 pid_t fork(void); 59 pid_t vfork(void); 129 pid_t getpid(void);
|
D | signal.h | 57 pid_t _pid; /* 信号发送者的pid */ 98 int kill(pid_t, int sig);
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | unistd.c | 64 pid_t fork(void) in fork() 66 return (pid_t)syscall_invoke(SYS_FORK, 0, 0, 0, 0, 0, 0, 0, 0); in fork() 82 pid_t vfork(void) in vfork() 84 return (pid_t)syscall_invoke(SYS_VFORK, 0, 0, 0, 0, 0, 0, 0, 0); in vfork() 215 pid_t getpid(void) in getpid()
|
D | signal.c | 64 int kill(pid_t pid, int sig) in kill()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | syscall.rs | 5 include::bindings::bindings::{pid_t, process_do_exit}, 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() argument 37 pid: pid_t, in wait4() argument
|
D | process.h | 97 struct process_control_block *process_find_pcb_by_pid(pid_t pid); 146 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | unistd.md | 29 ``pid_t fork(void)`` : fork 当前进程 31 ``pid_t vfork(void)`` : fork 当前进程,与父进程共享 VM,flags,fd
|
/DragonOS-0.1.8/kernel/src/ktest/ |
D | ktest.c | 11 pid_t ktest_start(int (*func)(void* arg), void* arg) in ktest_start()
|
D | ktest.h | 16 pid_t ktest_start(int (*func)(void* arg), void* arg);
|
D | test-mutex.c | 55 pid_t pid = kernel_thread(ktest_mutex_case1_pid1, 0, 0); in ktest_mutex_case1()
|
/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 14 pid_t pid; in shell_pipe_test()
|
/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()
|
/DragonOS-0.1.8/kernel/src/include/DragonOS/ |
D | signal.h | 72 pid_t _pid; /* 信号发送者的pid */
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | syscall.rs | 9 include::bindings::bindings::{pid_t, verify_area, NULL}, 44 pub fn kill(pid: pid_t, sig: c_int) -> Result<usize, SystemError> { in kill() argument
|
/DragonOS-0.1.8/docs/kernel/ktest/ |
D | ktest-framework.md | 68 `pid_t ktest_start(uint64_t (*func)(uint64_t arg), uint64_t arg)`
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 18 include::bindings::bindings::{pid_t, process_find_pcb_by_pid}, 658 pub extern "C" fn rs_procfs_register_pid(pid: pid_t) -> u64 { in rs_procfs_register_pid() 668 pub fn procfs_register_pid(pid: pid_t) -> Result<(), SystemError> { in procfs_register_pid() 684 pub extern "C" fn rs_procfs_unregister_pid(pid: pid_t) -> u64 { in rs_procfs_unregister_pid() 694 pub fn procfs_unregister_pid(pid: pid_t) -> Result<(), SystemError> { in procfs_unregister_pid()
|