Go to the source code of this file.
|
| struct data _data | __agent_data ("kthread") |
| | The section used for this agent is .kthread_data'. More...
|
| |
| | __agent_text ("kthread") |
| | Allocates a memory region with size of _data.args.vmalloc_size, deploy the main agent in that memory region and creates kthread that execute the main agent. More...
|
| |
| | __agent_trampoline ("kthread") |
| | The trampoline of the agent. More...
|
| |
◆ kthread_create_on_node_fn
| typedef void*() kthread_create_on_node_fn(int(*threadfn)(void *data), void *data, int node, const char namefmt[],...) |
◆ vmalloc_exec_fn
| typedef void*() vmalloc_exec_fn(unsigned long size) |
◆ wake_up_process_fn
| typedef int() wake_up_process_fn(void *p) |
◆ __agent_data()
| struct data _data __agent_data |
( |
"kthread" |
| ) |
|
The section used for this agent is .kthread_data'.
◆ __agent_text()
| __agent_text |
( |
"kthread" |
| ) |
|
Allocates a memory region with size of _data.args.vmalloc_size, deploy the main agent in that memory region and creates kthread that execute the main agent.
If an error occurs, the Intocore is notified.
The section used for this function is .kthread_text'.
Definition at line 35 of file kthread.c.
◆ __agent_trampoline()
| __agent_trampoline |
( |
"kthread" |
| ) |
|
The trampoline of the agent.
Calls the kthread function and generates the 'exit' asm-code.
The section used for this function is .kthread_trampoline'.
Definition at line 71 of file kthread.c.