Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | cpu_rmap |
Macros | |
#define | CPU_RMAP_DIST_INF 0xffff |
Functions | |
struct cpu_rmap * | alloc_cpu_rmap (unsigned int size, gfp_t flags) |
int | cpu_rmap_add (struct cpu_rmap *rmap, void *obj) |
int | cpu_rmap_update (struct cpu_rmap *rmap, u16 index, const struct cpumask *affinity) |
#define CPU_RMAP_DIST_INF 0xffff |
Definition at line 33 of file cpu_rmap.h.
alloc_cpu_rmap - allocate CPU affinity reverse-map : Number of objects to be mapped : Allocation flags e.g. GFP_KERNEL
Definition at line 30 of file cpu_rmap.c.
cpu_rmap_add - add object to a rmap : CPU rmap allocated with alloc_cpu_rmap() : Object to add to rmap
Return index of object.
Definition at line 113 of file cpu_rmap.c.