Lines Matching refs:ftrace_hash
1059 static const struct ftrace_hash empty_hash = {
1062 #define EMPTY_HASH ((struct ftrace_hash *)&empty_hash)
1129 ftrace_hash_key(struct ftrace_hash *hash, unsigned long ip) in ftrace_hash_key()
1139 __ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in __ftrace_lookup_ip()
1166 ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in ftrace_lookup_ip()
1174 static void __add_hash_entry(struct ftrace_hash *hash, in __add_hash_entry()
1186 static int add_hash_entry(struct ftrace_hash *hash, unsigned long ip) in add_hash_entry()
1201 free_hash_entry(struct ftrace_hash *hash, in free_hash_entry()
1210 remove_hash_entry(struct ftrace_hash *hash, in remove_hash_entry()
1217 static void ftrace_hash_clear(struct ftrace_hash *hash) in ftrace_hash_clear()
1258 static void free_ftrace_hash(struct ftrace_hash *hash) in free_ftrace_hash()
1269 struct ftrace_hash *hash; in __free_ftrace_hash_rcu()
1271 hash = container_of(rcu, struct ftrace_hash, rcu); in __free_ftrace_hash_rcu()
1275 static void free_ftrace_hash_rcu(struct ftrace_hash *hash) in free_ftrace_hash_rcu()
1294 static struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash()
1296 struct ftrace_hash *hash; in alloc_ftrace_hash()
1346 static struct ftrace_hash *
1347 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash()
1350 struct ftrace_hash *new_hash; in alloc_and_copy_ftrace_hash()
1390 struct ftrace_hash *new_hash);
1392 static struct ftrace_hash *dup_hash(struct ftrace_hash *src, int size) in dup_hash()
1395 struct ftrace_hash *new_hash; in dup_hash()
1428 static struct ftrace_hash *
1429 __ftrace_hash_move(struct ftrace_hash *src) in __ftrace_hash_move()
1444 struct ftrace_hash **dst, struct ftrace_hash *src) in ftrace_hash_move()
1446 struct ftrace_hash *new_hash; in ftrace_hash_move()
1701 struct ftrace_hash *hash; in __ftrace_hash_rec_update()
1702 struct ftrace_hash *other_hash; in __ftrace_hash_rec_update()
1943 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify()
1944 struct ftrace_hash *new_hash) in __ftrace_hash_update_ipmodify()
2045 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_enable()
2056 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_disable()
2065 struct ftrace_hash *new_hash) in ftrace_hash_ipmodify_update()
2067 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update()
2539 static struct ftrace_hash *direct_functions = EMPTY_HASH;
2560 struct ftrace_hash **free_hash) in ftrace_add_rec_direct()
2566 struct ftrace_hash *new_hash; in ftrace_add_rec_direct()
3378 struct ftrace_hash *hash;
3393 struct ftrace_hash *hash; in t_probe_next()
4053 struct ftrace_hash *hash; in ftrace_regex_open()
4210 enter_record(struct ftrace_hash *hash, struct dyn_ftrace *rec, int clear_filter) in enter_record()
4233 add_rec_by_index(struct ftrace_hash *hash, struct ftrace_glob *func_g, in add_rec_by_index()
4319 match_records(struct ftrace_hash *hash, char *func, int len, char *mod) in match_records()
4375 ftrace_match_records(struct ftrace_hash *hash, char *buff, int len) in ftrace_match_records()
4412 struct ftrace_hash **orig_hash, in ftrace_hash_move_and_update_ops()
4413 struct ftrace_hash *hash, in ftrace_hash_move_and_update_ops()
4417 struct ftrace_hash *old_hash; in ftrace_hash_move_and_update_ops()
4501 struct ftrace_hash **orig_hash, *new_hash; in process_mod_list()
4593 ftrace_mod_callback(struct trace_array *tr, struct ftrace_hash *hash, in ftrace_mod_callback()
4657 struct ftrace_hash hash;
4667 struct ftrace_hash *hash; in allocate_ftrace_func_mapper()
4836 struct ftrace_hash **orig_hash; in register_ftrace_function_probe()
4837 struct ftrace_hash *old_hash; in register_ftrace_function_probe()
4838 struct ftrace_hash *hash; in register_ftrace_function_probe()
4982 struct ftrace_hash **orig_hash; in unregister_ftrace_function_probe_func()
4983 struct ftrace_hash *old_hash; in unregister_ftrace_function_probe_func()
4984 struct ftrace_hash *hash = NULL; in unregister_ftrace_function_probe_func()
5165 struct ftrace_hash *hash = iter->hash; in ftrace_process_regex()
5253 __ftrace_match_addr(struct ftrace_hash *hash, unsigned long ip, int remove) in __ftrace_match_addr()
5273 ftrace_match_addr(struct ftrace_hash *hash, unsigned long *ips, in ftrace_match_addr()
5297 struct ftrace_hash **orig_hash; in ftrace_set_hash()
5298 struct ftrace_hash *hash; in ftrace_set_hash()
5372 static void remove_direct_functions_hash(struct ftrace_hash *hash, unsigned long addr) in remove_direct_functions_hash()
5413 struct ftrace_hash *hash, *free_hash = NULL; in register_ftrace_direct()
5488 struct ftrace_hash *hash = ops->func_hash->filter_hash; in unregister_ftrace_direct()
5514 struct ftrace_hash *hash; in __modify_ftrace_direct()
5795 static int ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer);
5824 struct ftrace_hash *hash; in set_ftrace_early_graph()
5877 struct ftrace_hash **orig_hash; in ftrace_regex_release()
5979 struct ftrace_hash __rcu *ftrace_graph_hash = EMPTY_HASH;
5980 struct ftrace_hash __rcu *ftrace_graph_notrace_hash = EMPTY_HASH;
5990 struct ftrace_hash *hash;
5994 struct ftrace_hash *new_hash;
6098 struct ftrace_hash *new_hash = NULL; in __ftrace_graph_open()
6210 struct ftrace_hash *old_hash, *new_hash; in ftrace_graph_release()
6277 ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer) in ftrace_graph_set_hash()
6698 clear_mod_from_hash(struct ftrace_page *pg, struct ftrace_hash *hash) in clear_mod_from_hash()
7087 clear_func_from_hash(struct ftrace_init_func *func, struct ftrace_hash *hash) in clear_func_from_hash()
7919 struct ftrace_hash *hash; in prepare_direct_functions_for_ipmodify()
7968 struct ftrace_hash *hash; in cleanup_direct_functions_after_ipmodify()