Symbol: ch_table
usr.sbin/bgpd/chash.c
518
ch_sub_alloc(const struct ch_type *type, struct ch_table *t,
usr.sbin/bgpd/chash.c
534
ch_sub_free(const struct ch_type *type, struct ch_table *t,
usr.sbin/bgpd/chash.c
550
ch_table_resize(const struct ch_type *type, struct ch_table *t)
usr.sbin/bgpd/chash.c
594
ch_table_fill(struct ch_table *t, uint64_t idx, struct ch_group *table,
usr.sbin/bgpd/chash.c
613
ch_table_buddy(struct ch_table *t, uint64_t idx, uint32_t local_level)
usr.sbin/bgpd/chash.c
637
ch_table_grow(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
687
ch_table_compact(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
731
_ch_init(const struct ch_type *type, struct ch_table *t)
usr.sbin/bgpd/chash.c
754
_ch_destroy(const struct ch_type *type, struct ch_table *t)
usr.sbin/bgpd/chash.c
773
_ch_insert(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
807
_ch_remove(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
840
_ch_find(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
856
_ch_locate(const struct ch_type *type, struct ch_table *t, uint64_t h,
usr.sbin/bgpd/chash.c
872
_ch_first(const struct ch_type *type, struct ch_table *t, struct ch_iter *it)
usr.sbin/bgpd/chash.c
887
_ch_next(const struct ch_type *type, struct ch_table *t, struct ch_iter *it)
usr.sbin/bgpd/chash.h
100
_ch_destroy(_name##_CH_TYPE, &head->ch_table); \
usr.sbin/bgpd/chash.h
109
p = _ch_insert(_name##_CH_TYPE, &head->ch_table, h, elm); \
usr.sbin/bgpd/chash.h
122
return _ch_remove(_name##_CH_TYPE, &head->ch_table, h, elm); \
usr.sbin/bgpd/chash.h
130
return _ch_find(_name##_CH_TYPE, &head->ch_table, h, key); \
usr.sbin/bgpd/chash.h
137
return _ch_locate(_name##_CH_TYPE, &head->ch_table, hash, \
usr.sbin/bgpd/chash.h
144
return _ch_first(_name##_CH_TYPE, &head->ch_table, iter); \
usr.sbin/bgpd/chash.h
150
return _ch_next(_name##_CH_TYPE, &head->ch_table, iter); \
usr.sbin/bgpd/chash.h
156
_ch_get_stats(stats, &head->ch_table.ch_counts); \
usr.sbin/bgpd/chash.h
62
struct ch_table ch_table; \
usr.sbin/bgpd/chash.h
71
int _ch_init(const struct ch_type *, struct ch_table *);
usr.sbin/bgpd/chash.h
72
void _ch_destroy(const struct ch_type *, struct ch_table *);
usr.sbin/bgpd/chash.h
73
void *_ch_insert(const struct ch_type *, struct ch_table *, uint64_t, void *);
usr.sbin/bgpd/chash.h
74
void *_ch_remove(const struct ch_type *, struct ch_table *, uint64_t,
usr.sbin/bgpd/chash.h
76
void *_ch_find(const struct ch_type *, struct ch_table *, uint64_t,
usr.sbin/bgpd/chash.h
78
void *_ch_locate(const struct ch_type *, struct ch_table *, uint64_t,
usr.sbin/bgpd/chash.h
80
void *_ch_first(const struct ch_type *, struct ch_table *, struct ch_iter *);
usr.sbin/bgpd/chash.h
81
void *_ch_next(const struct ch_type *, struct ch_table *, struct ch_iter *);
usr.sbin/bgpd/chash.h
94
return _ch_init(_name##_CH_TYPE, &head->ch_table); \