MOS Source Code
|
Go to the source code of this file.
Classes | |
struct | stdio_t |
A wrapper type for the standard I/O streams. More... | |
Macros | |
#define | PROCESS_MAGIC_PROC MOS_FOURCC('P', 'R', 'O', 'C') |
Typedefs | |
typedef struct _hashmap | hashmap_t |
Variables | |
hashmap_t | process_table |
#define PROCESS_MAGIC_PROC MOS_FOURCC('P', 'R', 'O', 'C') |
Definition at line 9 of file process.h.
Referenced by process_allocate(), and process_is_valid().
should_inline bool process_is_valid | ( | const process_t * | process | ) |
Definition at line 23 of file process.h.
Referenced by process_attach_ref_fd(), process_destroy(), process_detach_fd(), process_do_fork(), process_exit(), process_get(), process_get_fd(), and vsnprintf_do_pointer_kernel().
should_inline stdio_t current_stdio | ( | void | ) |
Definition at line 28 of file process.h.
Referenced by MOS_STATIC_ASSERT().
Definition at line 55 of file process.c.
Referenced by kthread_init(), process_do_fork(), and process_new().
Definition at line 107 of file process.c.
Referenced by process_wait_for_pid().
Definition at line 143 of file process.c.
Referenced by elf_create_process().
Definition at line 162 of file process.c.
Referenced by mmstat_sysfs_pagetable_show(), mmstat_sysfs_vmaps_show(), MOS_STATIC_ASSERT(), and process_wait_for_pid().
fd_t process_attach_ref_fd | ( | process_t * | process, |
io_t * | file, | ||
fd_flags_t | flags ) |
Definition at line 171 of file process.c.
Referenced by fd_manipulate(), io_dup(), ipc_accept(), ipc_connect(), ipc_create(), memfd_create(), MOS_STATIC_ASSERT(), MOS_STATIC_ASSERT(), process_new(), and vfs_ipc_file_read().
Definition at line 192 of file process.c.
Referenced by dentry_from_fd(), io_dup(), io_pread(), io_read(), io_readv(), io_seek(), io_tell(), io_write(), ipc_accept(), mmap_file(), MOS_STATIC_ASSERT(), MOS_STATIC_ASSERT(), and vfs_fstatat().
Definition at line 200 of file process.c.
Referenced by io_close(), io_dup2(), and process_do_execveat().
Definition at line 215 of file process.c.
Referenced by MOS_STATIC_ASSERT().
Definition at line 281 of file process.c.
Referenced by elf_create_process(), exit(), process_do_execveat(), signal_do_coredump(), and signal_do_terminate().
Definition at line 365 of file process.c.
Referenced by dump_process(), and invalid_page_fault().
bool process_register_signal_handler | ( | process_t * | process, |
signal_t | sig, | ||
const sigaction_t * | sigaction ) |
Definition at line 380 of file process.c.
Referenced by MOS_STATIC_ASSERT().
long process_do_execveat | ( | process_t * | process, |
fd_t | dirfd, | ||
const char * | path, | ||
const char *const | argv[], | ||
const char *const | envp[], | ||
int | flags ) |
Definition at line 18 of file execve.c.
Referenced by execveat().
|
extern |
Definition at line 34 of file process.c.
Referenced by kthread_init(), process_destroy(), process_do_fork(), process_get(), process_new(), tasks_init(), and tasks_sysfs_process_list().