|
Linux Kernel
3.7.1
|
#include <linux/fs.h>#include <linux/mm.h>#include <linux/slab.h>#include <linux/atomic.h>#include <linux/sched.h>#include <asm/spu.h>#include <asm/spu_csa.h>#include "spufs.h"#include "sputrace.h"Go to the source code of this file.
Functions | |
| struct spu_context * | alloc_spu_context (struct spu_gang *gang) |
| void | destroy_spu_context (struct kref *kref) |
| struct spu_context * | get_spu_context (struct spu_context *ctx) |
| int | put_spu_context (struct spu_context *ctx) |
| void | spu_forget (struct spu_context *ctx) |
| void | spu_unmap_mappings (struct spu_context *ctx) |
| int | spu_acquire_saved (struct spu_context *ctx) |
| void | spu_release_saved (struct spu_context *ctx) |
Variables | |
| atomic_t | nr_spu_contexts = ATOMIC_INIT(0) |
|
read |
|
read |
| int put_spu_context | ( | struct spu_context * | ctx | ) |
| int spu_acquire_saved | ( | struct spu_context * | ctx | ) |
| void spu_forget | ( | struct spu_context * | ctx | ) |
| void spu_release_saved | ( | struct spu_context * | ctx | ) |
| void spu_unmap_mappings | ( | struct spu_context * | ctx | ) |
| atomic_t nr_spu_contexts = ATOMIC_INIT(0) |
1.8.2