Lines Matching refs:ftrace_hash

1065 static const struct ftrace_hash empty_hash = {
1068 #define EMPTY_HASH ((struct ftrace_hash *)&empty_hash)
1135 ftrace_hash_key(struct ftrace_hash *hash, unsigned long ip) in ftrace_hash_key()
1145 __ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in __ftrace_lookup_ip()
1172 ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in ftrace_lookup_ip()
1180 static void __add_hash_entry(struct ftrace_hash *hash, in __add_hash_entry()
1193 add_hash_entry(struct ftrace_hash *hash, unsigned long ip) in add_hash_entry()
1208 free_hash_entry(struct ftrace_hash *hash, in free_hash_entry()
1217 remove_hash_entry(struct ftrace_hash *hash, in remove_hash_entry()
1224 static void ftrace_hash_clear(struct ftrace_hash *hash) in ftrace_hash_clear()
1265 static void free_ftrace_hash(struct ftrace_hash *hash) in free_ftrace_hash()
1276 struct ftrace_hash *hash; in __free_ftrace_hash_rcu()
1278 hash = container_of(rcu, struct ftrace_hash, rcu); in __free_ftrace_hash_rcu()
1282 static void free_ftrace_hash_rcu(struct ftrace_hash *hash) in free_ftrace_hash_rcu()
1305 static struct ftrace_hash *alloc_ftrace_hash(int size_bits) in alloc_ftrace_hash()
1307 struct ftrace_hash *hash; in alloc_ftrace_hash()
1357 static struct ftrace_hash *
1358 alloc_and_copy_ftrace_hash(int size_bits, struct ftrace_hash *hash) in alloc_and_copy_ftrace_hash()
1361 struct ftrace_hash *new_hash; in alloc_and_copy_ftrace_hash()
1397 struct ftrace_hash *new_hash);
1403 static struct ftrace_hash *__move_hash(struct ftrace_hash *src, int size) in __move_hash()
1406 struct ftrace_hash *new_hash; in __move_hash()
1440 static struct ftrace_hash *
1441 __ftrace_hash_move(struct ftrace_hash *src) in __ftrace_hash_move()
1476 struct ftrace_hash **dst, struct ftrace_hash *src) in ftrace_hash_move()
1478 struct ftrace_hash *new_hash; in ftrace_hash_move()
1741 struct ftrace_hash *hash; in __ftrace_hash_rec_update()
1742 struct ftrace_hash *notrace_hash; in __ftrace_hash_rec_update()
1977 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify()
1978 struct ftrace_hash *new_hash) in __ftrace_hash_update_ipmodify()
2078 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_enable()
2089 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_disable()
2098 struct ftrace_hash *new_hash) in ftrace_hash_ipmodify_update()
2100 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update()
2572 static struct ftrace_hash __rcu *direct_functions = EMPTY_HASH;
3201 static struct ftrace_hash *copy_hash(struct ftrace_hash *src) in copy_hash()
3224 static int append_hash(struct ftrace_hash **hash, struct ftrace_hash *new_hash, in append_hash()
3263 static void remove_hash(struct ftrace_hash *hash, struct ftrace_hash *notrace_hash) in remove_hash()
3291 static int intersect_hash(struct ftrace_hash **hash, struct ftrace_hash *new_hash1, in intersect_hash()
3292 struct ftrace_hash *new_hash2) in intersect_hash()
3325 static bool ops_equal(struct ftrace_hash *A, struct ftrace_hash *B) in ops_equal()
3355 struct ftrace_hash **orig_hash, in __ftrace_hash_move_and_update_ops()
3356 struct ftrace_hash *hash, in __ftrace_hash_move_and_update_ops()
3360 struct ftrace_hash *old_hash; in __ftrace_hash_move_and_update_ops()
3374 static int ftrace_update_ops(struct ftrace_ops *ops, struct ftrace_hash *filter_hash, in ftrace_update_ops()
3375 struct ftrace_hash *notrace_hash) in ftrace_update_ops()
3396 static int add_first_hash(struct ftrace_hash **filter_hash, struct ftrace_hash **notrace_hash, in add_first_hash()
3416 static int add_next_hash(struct ftrace_hash **filter_hash, struct ftrace_hash **notrace_hash, in add_next_hash()
3497 struct ftrace_hash *filter_hash = EMPTY_HASH; in ftrace_startup_subops()
3498 struct ftrace_hash *notrace_hash = EMPTY_HASH; in ftrace_startup_subops()
3499 struct ftrace_hash *save_filter_hash; in ftrace_startup_subops()
3500 struct ftrace_hash *save_notrace_hash; in ftrace_startup_subops()
3582 static int rebuild_hashes(struct ftrace_hash **filter_hash, struct ftrace_hash **notrace_hash, in rebuild_hashes()
3635 struct ftrace_hash *filter_hash = EMPTY_HASH; in ftrace_shutdown_subops()
3636 struct ftrace_hash *notrace_hash = EMPTY_HASH; in ftrace_shutdown_subops()
3686 struct ftrace_hash **orig_subhash, in ftrace_hash_move_and_update_subops()
3687 struct ftrace_hash *hash) in ftrace_hash_move_and_update_subops()
3690 struct ftrace_hash *notrace_hash; in ftrace_hash_move_and_update_subops()
3691 struct ftrace_hash *filter_hash; in ftrace_hash_move_and_update_subops()
3692 struct ftrace_hash *save_hash; in ftrace_hash_move_and_update_subops()
3693 struct ftrace_hash *new_hash; in ftrace_hash_move_and_update_subops()
3908 struct ftrace_hash *hash;
3923 struct ftrace_hash *hash; in t_probe_next()
4585 struct ftrace_hash *hash; in ftrace_regex_open()
4742 enter_record(struct ftrace_hash *hash, struct dyn_ftrace *rec, int clear_filter) in enter_record()
4765 add_rec_by_index(struct ftrace_hash *hash, struct ftrace_glob *func_g, in add_rec_by_index()
4851 match_records(struct ftrace_hash *hash, char *func, int len, char *mod) in match_records()
4901 ftrace_match_records(struct ftrace_hash *hash, char *buff, int len) in ftrace_match_records()
4938 struct ftrace_hash **orig_hash, in ftrace_hash_move_and_update_ops()
4939 struct ftrace_hash *hash, in ftrace_hash_move_and_update_ops()
5015 struct ftrace_hash **orig_hash, *new_hash; in process_mod_list()
5107 ftrace_mod_callback(struct trace_array *tr, struct ftrace_hash *hash, in ftrace_mod_callback()
5174 struct ftrace_hash hash;
5184 struct ftrace_hash *hash; in allocate_ftrace_func_mapper()
5352 struct ftrace_hash **orig_hash; in register_ftrace_function_probe()
5353 struct ftrace_hash *old_hash; in register_ftrace_function_probe()
5354 struct ftrace_hash *hash; in register_ftrace_function_probe()
5498 struct ftrace_hash **orig_hash; in unregister_ftrace_function_probe_func()
5499 struct ftrace_hash *old_hash; in unregister_ftrace_function_probe_func()
5500 struct ftrace_hash *hash = NULL; in unregister_ftrace_function_probe_func()
5673 struct ftrace_hash *hash = iter->hash; in ftrace_process_regex()
5756 __ftrace_match_addr(struct ftrace_hash *hash, unsigned long ip, int remove) in __ftrace_match_addr()
5780 ftrace_match_addr(struct ftrace_hash *hash, unsigned long *ips, in ftrace_match_addr()
5804 struct ftrace_hash **orig_hash; in ftrace_set_hash()
5805 struct ftrace_hash *hash; in ftrace_set_hash()
5889 static void remove_direct_functions_hash(struct ftrace_hash *hash, unsigned long addr) in remove_direct_functions_hash()
5908 struct ftrace_hash *fhp = container_of(rhp, struct ftrace_hash, rcu); in register_ftrace_direct_cb()
5937 struct ftrace_hash *hash, *new_hash = NULL, *free_hash = NULL; in register_ftrace_direct()
6040 struct ftrace_hash *hash = ops->func_hash->filter_hash; in unregister_ftrace_direct()
6066 struct ftrace_hash *hash; in __modify_ftrace_direct()
6378 static int ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer);
6406 struct ftrace_hash *hash; in set_ftrace_early_graph()
6467 struct ftrace_hash **orig_hash; in ftrace_regex_release()
6569 struct ftrace_hash __rcu *ftrace_graph_hash = EMPTY_HASH;
6570 struct ftrace_hash __rcu *ftrace_graph_notrace_hash = EMPTY_HASH;
6580 struct ftrace_hash *hash;
6584 struct ftrace_hash *new_hash;
6688 struct ftrace_hash *new_hash = NULL; in __ftrace_graph_open()
6800 struct ftrace_hash *old_hash, *new_hash; in ftrace_graph_release()
6867 ftrace_graph_set_hash(struct ftrace_hash *hash, char *buffer) in ftrace_graph_set_hash()
7332 clear_mod_from_hash(struct ftrace_page *pg, struct ftrace_hash *hash) in clear_mod_from_hash()
7721 clear_func_from_hash(struct ftrace_init_func *func, struct ftrace_hash *hash) in clear_func_from_hash()
8557 struct ftrace_hash *hash; in prepare_direct_functions_for_ipmodify()
8606 struct ftrace_hash *hash; in cleanup_direct_functions_after_ipmodify()