|
nckernel
0.1
|
#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <stddef.h>#include <list.h>#include <zone.h>#include <cpu_node.h>#include <debug.h>
Go to the source code of this file.
Functions | |
| struct node * | cpu_node_create (int id) |
| int | cpu_node_destroy (struct node *node) |
| struct node * | cpu_node_find (int id) |
| struct node* cpu_node_create | ( | int | id) |
Definition at line 14 of file cpu_node.c.
References cpu_node_find(), node::head, node::id, malloc(), NULL, and node::zone_list.
Referenced by vm_frame_init().


| int cpu_node_destroy | ( | struct node * | node) |
Definition at line 35 of file cpu_node.c.
References destroy_zone(), free(), node::head, zone::head, list_entry, list_for_each_safe, and node::zone_list.

| struct node* cpu_node_find | ( | int | id) |
Definition at line 52 of file cpu_node.c.
References node::head, node::id, list_entry, list_for_each, and NULL.
Referenced by cpu_node_create().

1.8.4