Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
namedb.h File Reference
#include <core/parent.h>

Go to the source code of this file.

Data Structures

struct  nouveau_namedb
 

Macros

#define nouveau_namedb_create(p, e, c, v, s, m, d)
 
#define nouveau_namedb_init(p)   nouveau_parent_init(&(p)->base)
 
#define nouveau_namedb_fini(p, s)   nouveau_parent_fini(&(p)->base, (s))
 
#define nouveau_namedb_destroy(p)   nouveau_parent_destroy(&(p)->base)
 
#define _nouveau_namedb_dtor   _nouveau_parent_dtor
 
#define _nouveau_namedb_init   _nouveau_parent_init
 
#define _nouveau_namedb_fini   _nouveau_parent_fini
 

Functions

int nouveau_namedb_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, u32 pclass, struct nouveau_oclass *, u32 engcls, int size, void **)
 
int _nouveau_namedb_ctor (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, void *, u32, struct nouveau_object **)
 
int nouveau_namedb_insert (struct nouveau_namedb *, u32 name, struct nouveau_object *, struct nouveau_handle *)
 
void nouveau_namedb_remove (struct nouveau_handle *)
 
struct nouveau_handlenouveau_namedb_get (struct nouveau_namedb *, u32)
 
struct nouveau_handlenouveau_namedb_get_class (struct nouveau_namedb *, u16)
 
struct nouveau_handlenouveau_namedb_get_vinst (struct nouveau_namedb *, u64)
 
struct nouveau_handlenouveau_namedb_get_cinst (struct nouveau_namedb *, u32)
 
void nouveau_namedb_put (struct nouveau_handle *)
 

Macro Definition Documentation

#define _nouveau_namedb_dtor   _nouveau_parent_dtor

Definition at line 42 of file namedb.h.

#define _nouveau_namedb_fini   _nouveau_parent_fini

Definition at line 44 of file namedb.h.

#define _nouveau_namedb_init   _nouveau_parent_init

Definition at line 43 of file namedb.h.

#define nouveau_namedb_create (   p,
  e,
  c,
  v,
  s,
  m,
  d 
)
Value:
nouveau_namedb_create_((p), (e), (c), (v), (s), (m), \
sizeof(**d), (void **)d)

Definition at line 24 of file namedb.h.

#define nouveau_namedb_destroy (   p)    nouveau_parent_destroy(&(p)->base)

Definition at line 31 of file namedb.h.

#define nouveau_namedb_fini (   p,
  s 
)    nouveau_parent_fini(&(p)->base, (s))

Definition at line 29 of file namedb.h.

#define nouveau_namedb_init (   p)    nouveau_parent_init(&(p)->base)

Definition at line 27 of file namedb.h.

Function Documentation

int _nouveau_namedb_ctor ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
void ,
u32  ,
struct nouveau_object **   
)

Definition at line 189 of file namedb.c.

int nouveau_namedb_create_ ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
u32  pclass,
struct nouveau_oclass ,
u32  engcls,
int  size,
void **   
)

Definition at line 167 of file namedb.c.

struct nouveau_handle* nouveau_namedb_get ( struct nouveau_namedb ,
u32   
)
read

Definition at line 116 of file namedb.c.

struct nouveau_handle* nouveau_namedb_get_cinst ( struct nouveau_namedb ,
u32   
)
read

Definition at line 149 of file namedb.c.

struct nouveau_handle* nouveau_namedb_get_class ( struct nouveau_namedb ,
u16   
)
read

Definition at line 127 of file namedb.c.

struct nouveau_handle* nouveau_namedb_get_vinst ( struct nouveau_namedb ,
u64   
)
read

Definition at line 138 of file namedb.c.

int nouveau_namedb_insert ( struct nouveau_namedb ,
u32  name,
struct nouveau_object ,
struct nouveau_handle  
)

Definition at line 88 of file namedb.c.

void nouveau_namedb_put ( struct nouveau_handle )

Definition at line 160 of file namedb.c.

void nouveau_namedb_remove ( struct nouveau_handle )

Definition at line 105 of file namedb.c.