Lines Matching refs:size_bits
1129 unsigned long size_bits; member
1225 if (hash->size_bits > 0) in ftrace_lookup_ip()
1226 key = hash_long(ip, hash->size_bits); in ftrace_lookup_ip()
1245 if (hash->size_bits) in __add_hash_entry()
1246 key = hash_long(entry->ip, hash->size_bits); in __add_hash_entry()
1291 int size = 1 << hash->size_bits; in ftrace_hash_clear()
1336 static struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash() argument
1345 size = 1 << size_bits; in alloc_ftrace_hash()
1353 hash->size_bits = size_bits; in alloc_ftrace_hash()
1359 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash() argument
1367 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1375 size = 1 << hash->size_bits; in alloc_and_copy_ftrace_hash()
1441 size = 1 << src->size_bits; in ftrace_hash_move()
3362 const int size_bits = FTRACE_HASH_DEFAULT_BITS; in ftrace_regex_open() local
3365 iter->hash = alloc_ftrace_hash(size_bits); in ftrace_regex_open()
3367 iter->hash = alloc_and_copy_ftrace_hash(size_bits, hash); in ftrace_regex_open()