Logo Search packages:      
Sourcecode: linux version File versions  Download package

drm_memory_debug.h File Reference

Detailed Description

Memory management wrappers for DRM.

Rickard E. (Rik) Faith <faith@valinux.com>

Gareth Hughes <gareth@valinux.com>

Definition in file drm_memory_debug.h.

#include "drmP.h"

Go to the source code of this file.


struct  drm_mem_stats


typedef struct drm_mem_stats drm_mem_stats_t


static DEFINE_SPINLOCK (drm_mem_lock)
static int drm__mem_info (char *buf, char **start, off_t offset, int request, int *eof, void *data)
void * drm_alloc (size_t size, int area)
void * drm_calloc (size_t nmemb, size_t size, int area)
void drm_free (void *pt, size_t size, int area)
int drm_mem_info (char *buf, char **start, off_t offset, int len, int *eof, void *data)
void drm_mem_init (void)
void * drm_realloc (void *oldpt, size_t oldsize, size_t size, int area)


static drm_mem_stats_t drm_mem_stats []
static unsigned long drm_ram_available = 0
static unsigned long drm_ram_used = 0

Generated by  Doxygen 1.6.0   Back to index