Home
last modified time | relevance | path

Searched refs:HASH_BITS (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/hardware/mpp/include/
H A Dmpp_hash.h276 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
281 #define hash_add(hashtable, node, key) hlist_add_head(node, &(hashtable)[hash_min(key, HASH_BITS(hashtable))])
287 * This has to be a macro since HASH_BITS() will not work on pointers since
317 hlist_for_each_entry((obj), &(name)[hash_min((key), HASH_BITS(name))], (member))
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpp_hash.h272 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
279 hlist_add_head(node, &(hashtable)[hash_min(key, HASH_BITS(hashtable))])
285 * This has to be a macro since HASH_BITS() will not work on pointers since
317 hlist_for_each_entry((obj), &(name)[hash_min(key, HASH_BITS(name))], member)
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpp_hash.h277 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
284 hlist_add_head(node, &(hashtable)[hash_min(key, HASH_BITS(hashtable))])
290 * This has to be a macro since HASH_BITS() will not work on pointers since
322 hlist_for_each_entry((obj), &(name)[hash_min((key), HASH_BITS(name))], (member))
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpp_hash.h268 #define HASH_BITS(name) ilog2(HASH_SIZE(name)) macro
275 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
281 * This has to be a macro since HASH_BITS() will not work on pointers since
313 hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member)

Completed in 4 milliseconds