Home
last modified time | relevance | path

Searched refs:HASH_SIZE (Results 1 – 2 of 2) sorted by relevance

/tools/include/linux/
Dhashtable.h24 #define HASH_SIZE(name) (ARRAY_SIZE(name)) macro
25 #define HASH_BITS(name) ilog2(HASH_SIZE(name))
49 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable))
87 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable))
106 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
120 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
/tools/mm/
Dpage-types.c198 #define HASH_SIZE (1 << HASH_SHIFT) macro
199 #define HASH_MASK (HASH_SIZE - 1)
203 static unsigned long nr_pages[HASH_SIZE];
204 static uint64_t page_flags[HASH_SIZE];