Home
last modified time | relevance | path

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

/kernel/trace/
Dtracing_map.c518 u32 idx, key_hash, test_key; in __tracing_map_insert() local
523 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert()
524 if (key_hash == 0) in __tracing_map_insert()
525 key_hash = 1; in __tracing_map_insert()
526 idx = key_hash >> (32 - (map->map_bits + 1)); in __tracing_map_insert()
533 if (test_key && test_key == key_hash) { in __tracing_map_insert()
566 if (!cmpxchg(&entry->key, 0, key_hash)) { in __tracing_map_insert()