Lines Matching refs:func_hash

69 	.func_hash		= &opsname.local_hash,			\
72 .func_hash = val, \
159 ops->func_hash = &ops->local_hash; in ftrace_ops_init()
1332 free_ftrace_hash(ops->func_hash->filter_hash); in ftrace_free_filter()
1333 free_ftrace_hash(ops->func_hash->notrace_hash); in ftrace_free_filter()
1517 hash.filter_hash = rcu_dereference_raw_notrace(ops->func_hash->filter_hash); in ftrace_ops_test()
1518 hash.notrace_hash = rcu_dereference_raw_notrace(ops->func_hash->notrace_hash); in ftrace_ops_test()
1659 hash = ops->func_hash->filter_hash; in __ftrace_hash_rec_update()
1660 other_hash = ops->func_hash->notrace_hash; in __ftrace_hash_rec_update()
1665 hash = ops->func_hash->notrace_hash; in __ftrace_hash_rec_update()
1666 other_hash = ops->func_hash->filter_hash; in __ftrace_hash_rec_update()
1797 if (ops->func_hash != &global_ops.local_hash) in ftrace_hash_rec_update_modify()
1808 if (op->func_hash == &global_ops.local_hash) in ftrace_hash_rec_update_modify()
1900 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_enable()
1911 struct ftrace_hash *hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_disable()
1922 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update()
2130 if (hash_contains_ip(ip, op->func_hash)) in ftrace_find_tramp_ops_any()
2199 hash_contains_ip(ip, op->func_hash)) in ftrace_find_tramp_ops_curr()
2215 if (hash_contains_ip(ip, op->func_hash)) in ftrace_find_tramp_ops_new()
2678 ops->old_hash.filter_hash = ops->func_hash->filter_hash; in ftrace_shutdown()
2679 ops->old_hash.notrace_hash = ops->func_hash->notrace_hash; in ftrace_shutdown()
2773 return ftrace_hash_empty(ops->func_hash->filter_hash) && in ops_traces_mod()
2774 ftrace_hash_empty(ops->func_hash->notrace_hash); in ops_traces_mod()
2796 if (!ftrace_hash_empty(ops->func_hash->filter_hash) && in ops_references_rec()
2797 !ftrace_lookup_ip(ops->func_hash->filter_hash, rec->ip)) in ops_references_rec()
2801 if (ftrace_lookup_ip(ops->func_hash->notrace_hash, rec->ip)) in ops_references_rec()
3122 !(ftrace_lookup_ip(ops->func_hash->filter_hash, rec->ip))) || in t_next()
3125 !ftrace_lookup_ip(ops->func_hash->notrace_hash, rec->ip)) || in t_next()
3174 ftrace_hash_empty(ops->func_hash->filter_hash)) || in t_start()
3176 ftrace_hash_empty(ops->func_hash->notrace_hash))) { in t_start()
3354 mutex_lock(&ops->func_hash->regex_lock); in ftrace_regex_open()
3357 hash = ops->func_hash->notrace_hash; in ftrace_regex_open()
3359 hash = ops->func_hash->filter_hash; in ftrace_regex_open()
3394 mutex_unlock(&ops->func_hash->regex_lock); in ftrace_regex_open()
3697 struct ftrace_hash **orig_hash = &trace_probe_ops.func_hash->filter_hash; in register_ftrace_function_probe()
3715 mutex_lock(&trace_probe_ops.func_hash->regex_lock); in register_ftrace_function_probe()
3791 mutex_unlock(&trace_probe_ops.func_hash->regex_lock); in register_ftrace_function_probe()
3809 struct ftrace_hash **orig_hash = &trace_probe_ops.func_hash->filter_hash; in __unregister_ftrace_function_probe()
3833 mutex_lock(&trace_probe_ops.func_hash->regex_lock); in __unregister_ftrace_function_probe()
3889 mutex_unlock(&trace_probe_ops.func_hash->regex_lock); in __unregister_ftrace_function_probe()
4086 if (ops->func_hash != &global_ops.local_hash) in ftrace_ops_update_code()
4090 if (op->func_hash == &global_ops.local_hash && in ftrace_ops_update_code()
4112 mutex_lock(&ops->func_hash->regex_lock); in ftrace_set_hash()
4115 orig_hash = &ops->func_hash->filter_hash; in ftrace_set_hash()
4117 orig_hash = &ops->func_hash->notrace_hash; in ftrace_set_hash()
4141 old_hash_ops.filter_hash = ops->func_hash->filter_hash; in ftrace_set_hash()
4142 old_hash_ops.notrace_hash = ops->func_hash->notrace_hash; in ftrace_set_hash()
4151 mutex_unlock(&ops->func_hash->regex_lock); in ftrace_set_hash()
4379 mutex_lock(&iter->ops->func_hash->regex_lock); in ftrace_regex_release()
4385 orig_hash = &iter->ops->func_hash->filter_hash; in ftrace_regex_release()
4387 orig_hash = &iter->ops->func_hash->notrace_hash; in ftrace_regex_release()
4391 old_hash_ops.filter_hash = iter->ops->func_hash->filter_hash; in ftrace_regex_release()
4392 old_hash_ops.notrace_hash = iter->ops->func_hash->notrace_hash; in ftrace_regex_release()
4402 mutex_unlock(&iter->ops->func_hash->regex_lock); in ftrace_regex_release()