Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 26) sorted by relevance

12

/DragonOS-0.1.7/user/libs/libc/src/sys/
Dwait.c10 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.7/user/libs/libc/src/include/export/sys/
Dwait.h11 pid_t wait(int *stat_loc);
21 pid_t waitpid(pid_t pid, int *stat_loc, int options);
Dtypes.h15 typedef int64_t pid_t; typedef
/DragonOS-0.1.7/kernel/src/libs/sys/
Dwait.c12 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.7/kernel/src/libs/
Dunistd.c9 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()
Dmutex.rs11 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.7/kernel/src/common/sys/
Dwait.h12 pid_t waitpid(pid_t pid, int *stat_loc, int options);
Dtypes.h15 typedef int64_t pid_t; typedef
/DragonOS-0.1.7/kernel/src/common/
Dunistd.h21 pid_t fork(void);
28 pid_t vfork(void);
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Dunistd.h52 pid_t fork(void);
59 pid_t vfork(void);
123 pid_t getpid(void);
Dsignal.h57 pid_t _pid; /* 信号发送者的pid */
98 int kill(pid_t, int sig);
/DragonOS-0.1.7/user/libs/libc/src/
Dunistd.c64 pid_t fork(void) in fork()
66 return (pid_t)syscall_invoke(SYS_FORK, 0, 0, 0, 0, 0, 0, 0, 0); in fork()
81 pid_t vfork(void) in vfork()
83 return (pid_t)syscall_invoke(SYS_VFORK, 0, 0, 0, 0, 0, 0, 0, 0); in vfork()
213 pid_t getpid(void) in getpid()
Dsignal.c64 int kill(pid_t pid, int sig) in kill()
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Dunistd.md29 ``pid_t fork(void)`` : fork 当前进程
31 ``pid_t vfork(void)`` : fork 当前进程,与父进程共享 VM,flags,fd
/DragonOS-0.1.7/kernel/src/ktest/
Dktest.c11 pid_t ktest_start(int (*func)(void* arg), void* arg) in ktest_start()
Dktest.h16 pid_t ktest_start(int (*func)(void* arg), void* arg);
Dtest-mutex.c55 pid_t pid = kernel_thread(ktest_mutex_case1_pid1, 0, 0); in ktest_mutex_case1()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.h97 struct process_control_block *process_find_pcb_by_pid(pid_t pid);
157 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
Dkthread.c194 pid_t pid = kernel_thread(kthread, create, CLONE_FS | CLONE_SIGNAL); in __create_kthread()
Dprocess.c676 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) in kernel_thread()
753 struct process_control_block *process_find_pcb_by_pid(pid_t pid) in process_find_pcb_by_pid()
/DragonOS-0.1.7/user/apps/shell/
Dcmd_test.c14 pid_t pid; in shell_pipe_test()
/DragonOS-0.1.7/kernel/src/include/DragonOS/
Dsignal.h72 pid_t _pid; /* 信号发送者的pid */
/DragonOS-0.1.7/docs/kernel/ktest/
Dktest-framework.md68 `pid_t ktest_start(uint64_t (*func)(uint64_t arg), uint64_t arg)`
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs17 include::bindings::bindings::{pid_t, process_find_pcb_by_pid},
655 pub extern "C" fn rs_procfs_register_pid(pid: pid_t) -> u64 { in rs_procfs_register_pid()
665 pub fn procfs_register_pid(pid: pid_t) -> Result<(), SystemError> { in procfs_register_pid()
681 pub extern "C" fn rs_procfs_unregister_pid(pid: pid_t) -> u64 { in rs_procfs_unregister_pid()
691 pub fn procfs_unregister_pid(pid: pid_t) -> Result<(), SystemError> { in procfs_unregister_pid()
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs15 pid_t, process_control_block, process_do_exit, process_find_pcb_by_pid, pt_regs,
71 let pid: pid_t = regs.r8 as pid_t; in sys_kill()
115 pid: pid_t, in signal_kill_something_info() argument
130 pid: pid_t, in signal_kill_proc_info() argument

12