Lines Matching refs:size_bits
1139 unsigned long size_bits; member
1235 if (hash->size_bits > 0) in ftrace_lookup_ip()
1236 key = hash_long(ip, hash->size_bits); in ftrace_lookup_ip()
1255 if (hash->size_bits) in __add_hash_entry()
1256 key = hash_long(entry->ip, hash->size_bits); in __add_hash_entry()
1301 int size = 1 << hash->size_bits; in ftrace_hash_clear()
1346 static struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash() argument
1355 size = 1 << size_bits; in alloc_ftrace_hash()
1363 hash->size_bits = size_bits; in alloc_ftrace_hash()
1369 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash() argument
1377 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1385 size = 1 << hash->size_bits; in alloc_and_copy_ftrace_hash()
1451 size = 1 << src->size_bits; in ftrace_hash_move()
3372 const int size_bits = FTRACE_HASH_DEFAULT_BITS; in ftrace_regex_open() local
3375 iter->hash = alloc_ftrace_hash(size_bits); in ftrace_regex_open()
3377 iter->hash = alloc_and_copy_ftrace_hash(size_bits, hash); in ftrace_regex_open()