Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
gang.c File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include "spufs.h"

Go to the source code of this file.

Functions

struct spu_gangalloc_spu_gang (void)
 
struct spu_gangget_spu_gang (struct spu_gang *gang)
 
int put_spu_gang (struct spu_gang *gang)
 
void spu_gang_add_ctx (struct spu_gang *gang, struct spu_context *ctx)
 
void spu_gang_remove_ctx (struct spu_gang *gang, struct spu_context *ctx)
 

Function Documentation

struct spu_gang* alloc_spu_gang ( void  )
read

Definition at line 28 of file gang.c.

struct spu_gang* get_spu_gang ( struct spu_gang gang)
read

Definition at line 54 of file gang.c.

int put_spu_gang ( struct spu_gang gang)

Definition at line 60 of file gang.c.

void spu_gang_add_ctx ( struct spu_gang gang,
struct spu_context ctx 
)

Definition at line 65 of file gang.c.

void spu_gang_remove_ctx ( struct spu_gang gang,
struct spu_context ctx 
)

Definition at line 74 of file gang.c.