2 #ifdef JEMALLOC_H_TYPES
4 typedef struct ckh_s ckh_t;
5 typedef struct ckhc_s ckhc_t;
8 typedef void ckh_hash_t (
const void *,
size_t[2]);
9 typedef bool ckh_keycomp_t (
const void *,
const void *);
20 #define LG_CKH_BUCKET_CELLS (LG_CACHELINE - LG_SIZEOF_PTR - 1)
24 #ifdef JEMALLOC_H_STRUCTS
52 unsigned lg_minbuckets;
53 unsigned lg_curbuckets;
57 ckh_keycomp_t *keycomp;
65 #ifdef JEMALLOC_H_EXTERNS
67 bool ckh_new(tsd_t *tsd, ckh_t *ckh,
size_t minitems, ckh_hash_t *hash,
68 ckh_keycomp_t *keycomp);
71 bool ckh_iter(ckh_t *ckh,
size_t *tabind,
void **
key,
void **data);
72 bool ckh_insert(tsd_t *tsd, ckh_t *ckh,
const void *
key,
const void *data);
73 bool ckh_remove(tsd_t *tsd, ckh_t *ckh,
const void *searchkey,
void **
key,
75 bool ckh_search(ckh_t *ckh,
const void *searchkey,
void **
key,
void **data);
83 #ifdef JEMALLOC_H_INLINES
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
#define ckh_pointer_keycomp
#define ckh_string_keycomp