Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ceph_hash.h File Reference

Go to the source code of this file.

Macros

#define CEPH_STR_HASH_LINUX   0x1 /* linux dcache hash */
 
#define CEPH_STR_HASH_RJENKINS   0x2 /* robert jenkins' */
 

Functions

unsigned ceph_str_hash_linux (const char *s, unsigned len)
 
unsigned ceph_str_hash_rjenkins (const char *s, unsigned len)
 
unsigned ceph_str_hash (int type, const char *s, unsigned len)
 
const charceph_str_hash_name (int type)
 

Macro Definition Documentation

#define CEPH_STR_HASH_LINUX   0x1 /* linux dcache hash */

Definition at line 4 of file ceph_hash.h.

#define CEPH_STR_HASH_RJENKINS   0x2 /* robert jenkins' */

Definition at line 5 of file ceph_hash.h.

Function Documentation

unsigned ceph_str_hash ( int  type,
const char s,
unsigned  len 
)
unsigned ceph_str_hash_linux ( const char s,
unsigned  len 
)
const char* ceph_str_hash_name ( int  type)

Definition at line 110 of file ceph_hash.c.

unsigned ceph_str_hash_rjenkins ( const char s,
unsigned  len 
)