Lines Matching refs:key_size
414 elt->key = kzalloc(map->key_size, GFP_KERNEL); in tracing_map_elt_alloc()
505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match() argument
509 if (memcmp(key, test_key, key_size)) in keys_match()
523 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert()
536 keys_match(key, val->key, map->key_size)) { in __tracing_map_insert()
576 memcpy(elt->key, key, map->key_size); in __tracing_map_insert()
769 unsigned int key_size, in tracing_map_create() argument
798 map->key_size = key_size; in tracing_map_create()
853 if (memcmp(a->key, b->key, a->elt->map->key_size)) in cmp_entries_dup()
967 int n_entries, unsigned int key_size) in detect_dups() argument
981 if (!memcmp(sort_entries[i]->key, key, key_size)) { in detect_dups()
1113 detect_dups(entries, n_entries, map->key_size); in tracing_map_sort_entries()