X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Frculfhash-internal.h;fp=liblttng-ust%2Frculfhash-internal.h;h=cb2f69c8ac476da0ceb03fa1f8e05e281deabd71;hb=d2dd7baae6c00bdf2e08e03161db785f3a5565e4;hp=86eb501f20415195cf94bb0a79e27c1f8400bca2;hpb=ebedc67b171d18b372d9f90329a891a0e934e282;p=lttng-ust.git diff --git a/liblttng-ust/rculfhash-internal.h b/liblttng-ust/rculfhash-internal.h index 86eb501f..cb2f69c8 100644 --- a/liblttng-ust/rculfhash-internal.h +++ b/liblttng-ust/rculfhash-internal.h @@ -28,6 +28,7 @@ #include #include #include +#include "helper.h" #ifdef DEBUG #define dbg_printf(fmt, args...) printf("[debug lttng-ust rculfhash] " fmt, ## args) @@ -139,7 +140,11 @@ struct lttng_ust_lfht { */ }; +LTTNG_HIDDEN extern unsigned int lttng_ust_lfht_fls_ulong(unsigned long x); +LTTNG_HIDDEN +extern int lttng_ust_lfht_get_count_order_u32(uint32_t x); +LTTNG_HIDDEN extern int lttng_ust_lfht_get_count_order_ulong(unsigned long x); #ifdef POISON_FREE