#include <linux/types.h>
#include <linux/spinlock.h>
Go to the source code of this file.
|
hashbin_t * | hashbin_new (int type) |
|
int | hashbin_delete (hashbin_t *hashbin, FREE_FUNC func) |
|
int | hashbin_clear (hashbin_t *hashbin, FREE_FUNC free_func) |
|
void | hashbin_insert (hashbin_t *hashbin, irda_queue_t *entry, long hashv, const char *name) |
|
void * | hashbin_remove (hashbin_t *hashbin, long hashv, const char *name) |
|
void * | hashbin_remove_first (hashbin_t *hashbin) |
|
void * | hashbin_remove_this (hashbin_t *hashbin, irda_queue_t *entry) |
|
void * | hashbin_find (hashbin_t *hashbin, long hashv, const char *name) |
|
void * | hashbin_lock_find (hashbin_t *hashbin, long hashv, const char *name) |
|
void * | hashbin_find_next (hashbin_t *hashbin, long hashv, const char *name, void **pnext) |
|
irda_queue_t * | hashbin_get_first (hashbin_t *hashbin) |
|
irda_queue_t * | hashbin_get_next (hashbin_t *hashbin) |
|
#define HASHBIN_GET_SIZE |
( |
|
hashbin | ) |
hashbin->hb_size |
#define HB_LOCK 1 /* Prevent concurent write with global lock */ |
#define HB_NOLOCK 0 /* No concurent access prevention */ |