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

Go to the source code of this file.

Functions

int nouveau_object_create_ (struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, u32 pclass, int size, void **pobject)
 
void nouveau_object_destroy (struct nouveau_object *object)
 
int nouveau_object_init (struct nouveau_object *object)
 
int nouveau_object_fini (struct nouveau_object *object, bool suspend)
 
int nouveau_object_ctor (struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, struct nouveau_object **pobject)
 
void nouveau_object_ref (struct nouveau_object *obj, struct nouveau_object **ref)
 
int nouveau_object_new (struct nouveau_object *client, u32 _parent, u32 _handle, u16 _oclass, void *data, u32 size, struct nouveau_object **pobject)
 
int nouveau_object_del (struct nouveau_object *client, u32 _parent, u32 _handle)
 
int nouveau_object_inc (struct nouveau_object *object)
 
int nouveau_object_dec (struct nouveau_object *object, bool suspend)
 
void nouveau_object_debug (void)
 

Variables

struct nouveau_ofuncs nouveau_object_ofuncs
 

Function Documentation

int nouveau_object_create_ ( struct nouveau_object parent,
struct nouveau_object engine,
struct nouveau_oclass oclass,
u32  pclass,
int  size,
void **  pobject 
)

Definition at line 37 of file object.c.

int nouveau_object_ctor ( struct nouveau_object parent,
struct nouveau_object engine,
struct nouveau_oclass oclass,
void data,
u32  size,
struct nouveau_object **  pobject 
)

Definition at line 133 of file object.c.

void nouveau_object_debug ( void  )

Definition at line 452 of file object.c.

int nouveau_object_dec ( struct nouveau_object object,
bool  suspend 
)

Definition at line 429 of file object.c.

int nouveau_object_del ( struct nouveau_object client,
u32  _parent,
u32  _handle 
)

Definition at line 276 of file object.c.

void nouveau_object_destroy ( struct nouveau_object object)

Definition at line 82 of file object.c.

int nouveau_object_fini ( struct nouveau_object object,
bool  suspend 
)

Definition at line 113 of file object.c.

int nouveau_object_inc ( struct nouveau_object object)

Definition at line 302 of file object.c.

int nouveau_object_init ( struct nouveau_object object)

Definition at line 101 of file object.c.

int nouveau_object_new ( struct nouveau_object client,
u32  _parent,
u32  _handle,
u16  _oclass,
void data,
u32  size,
struct nouveau_object **  pobject 
)

Definition at line 188 of file object.c.

void nouveau_object_ref ( struct nouveau_object obj,
struct nouveau_object **  ref 
)

Definition at line 170 of file object.c.

Variable Documentation

struct nouveau_ofuncs nouveau_object_ofuncs
Initial value:
= {
.ctor = _nouveau_object_ctor,
.dtor = _nouveau_object_dtor,
.init = _nouveau_object_init,
.fini = _nouveau_object_fini,
}

Definition at line 125 of file object.c.