Lines Matching refs:size_bits
1100 if (hash->size_bits > 0) in ftrace_hash_key()
1101 return hash_long(ip, hash->size_bits); in ftrace_hash_key()
1191 int size = 1 << hash->size_bits; in ftrace_hash_clear()
1263 static struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash() argument
1272 size = 1 << size_bits; in alloc_ftrace_hash()
1280 hash->size_bits = size_bits; in alloc_ftrace_hash()
1316 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash() argument
1324 new_hash = alloc_ftrace_hash(size_bits); in alloc_and_copy_ftrace_hash()
1335 size = 1 << hash->size_bits; in alloc_and_copy_ftrace_hash()
1386 size = 1 << src->size_bits; in dup_hash()
2467 direct_functions->count > 2 * (1 << direct_functions->size_bits)) { in ftrace_add_rec_direct()
3327 size = 1 << hash->size_bits; in t_probe_next()
3336 size = 1 << hash->size_bits; in t_probe_next()
3925 const int size_bits = FTRACE_HASH_DEFAULT_BITS; in ftrace_regex_open() local
3928 iter->hash = alloc_ftrace_hash(size_bits); in ftrace_regex_open()
3931 iter->hash = alloc_and_copy_ftrace_hash(size_bits, hash); in ftrace_regex_open()
4617 size = 1 << mapper->hash.size_bits; in free_ftrace_func_mapper()
4735 size = 1 << hash->size_bits; in register_ftrace_function_probe()
4878 size = 1 << hash->size_bits; in unregister_ftrace_function_probe_func()
5590 size = 1 << hash->size_bits; in remove_direct_functions_hash()
5644 size = 1 << hash->size_bits; in register_ftrace_direct_multi()
5748 size = 1 << hash->size_bits; in __modify_ftrace_direct_multi()
6210 for (i = idx; i < 1 << fgd->hash->size_bits; i++) { in __g_next()
6296 const int size_bits = FTRACE_HASH_DEFAULT_BITS; in __ftrace_graph_open() local
6302 new_hash = alloc_ftrace_hash(size_bits); in __ftrace_graph_open()
6304 new_hash = alloc_and_copy_ftrace_hash(size_bits, in __ftrace_graph_open()
8109 size = 1 << hash->size_bits; in prepare_direct_functions_for_ipmodify()
8158 size = 1 << hash->size_bits; in cleanup_direct_functions_after_ipmodify()