Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
drm_hashtab.c File Reference
#include <drm/drmP.h>
#include <drm/drm_hashtab.h>
#include <linux/hash.h>
#include <linux/slab.h>
#include <linux/export.h>

Go to the source code of this file.

Functions

int drm_ht_create (struct drm_open_hash *ht, unsigned int order)
 
 EXPORT_SYMBOL (drm_ht_create)
 
void drm_ht_verbose_list (struct drm_open_hash *ht, unsigned long key)
 
int drm_ht_insert_item (struct drm_open_hash *ht, struct drm_hash_item *item)
 
 EXPORT_SYMBOL (drm_ht_insert_item)
 
int drm_ht_just_insert_please (struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add)
 
 EXPORT_SYMBOL (drm_ht_just_insert_please)
 
int drm_ht_find_item (struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item)
 
 EXPORT_SYMBOL (drm_ht_find_item)
 
int drm_ht_remove_key (struct drm_open_hash *ht, unsigned long key)
 
int drm_ht_remove_item (struct drm_open_hash *ht, struct drm_hash_item *item)
 
 EXPORT_SYMBOL (drm_ht_remove_item)
 
void drm_ht_remove (struct drm_open_hash *ht)
 
 EXPORT_SYMBOL (drm_ht_remove)
 

Function Documentation

int drm_ht_create ( struct drm_open_hash ht,
unsigned int  order 
)

Definition at line 41 of file drm_hashtab.c.

int drm_ht_find_item ( struct drm_open_hash ht,
unsigned long  key,
struct drm_hash_item **  item 
)

Definition at line 154 of file drm_hashtab.c.

int drm_ht_insert_item ( struct drm_open_hash ht,
struct drm_hash_item item 
)

Definition at line 97 of file drm_hashtab.c.

int drm_ht_just_insert_please ( struct drm_open_hash ht,
struct drm_hash_item item,
unsigned long  seed,
int  bits,
int  shift,
unsigned long  add 
)

Definition at line 129 of file drm_hashtab.c.

void drm_ht_remove ( struct drm_open_hash ht)

Definition at line 187 of file drm_hashtab.c.

int drm_ht_remove_item ( struct drm_open_hash ht,
struct drm_hash_item item 
)

Definition at line 180 of file drm_hashtab.c.

int drm_ht_remove_key ( struct drm_open_hash ht,
unsigned long  key 
)

Definition at line 168 of file drm_hashtab.c.

void drm_ht_verbose_list ( struct drm_open_hash ht,
unsigned long  key 
)

Definition at line 59 of file drm_hashtab.c.

EXPORT_SYMBOL ( drm_ht_create  )
EXPORT_SYMBOL ( drm_ht_insert_item  )
EXPORT_SYMBOL ( drm_ht_just_insert_please  )
EXPORT_SYMBOL ( drm_ht_find_item  )
EXPORT_SYMBOL ( drm_ht_remove_item  )
EXPORT_SYMBOL ( drm_ht_remove  )