Lines Matching refs:old_hash
1942 struct ftrace_hash *old_hash, in __ftrace_hash_update_ipmodify() argument
1969 if (!new_hash || !old_hash) in __ftrace_hash_update_ipmodify()
1979 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify()
2027 in_old = !!ftrace_lookup_ip(old_hash, rec->ip); in __ftrace_hash_update_ipmodify()
2066 struct ftrace_hash *old_hash = ops->func_hash->filter_hash; in ftrace_hash_ipmodify_update() local
2068 if (ftrace_hash_empty(old_hash)) in ftrace_hash_ipmodify_update()
2069 old_hash = NULL; in ftrace_hash_ipmodify_update()
2074 return __ftrace_hash_update_ipmodify(ops, old_hash, new_hash); in ftrace_hash_ipmodify_update()
2445 if (hash_contains_ip(ip, &removed_ops->old_hash)) in ftrace_find_tramp_ops_curr()
2486 hash_contains_ip(ip, &op->old_hash)) in ftrace_find_tramp_ops_curr()
2929 struct ftrace_ops_hash *old_hash) in ftrace_run_modify_code() argument
2932 ops->old_hash.filter_hash = old_hash->filter_hash; in ftrace_run_modify_code()
2933 ops->old_hash.notrace_hash = old_hash->notrace_hash; in ftrace_run_modify_code()
2935 ops->old_hash.filter_hash = NULL; in ftrace_run_modify_code()
2936 ops->old_hash.notrace_hash = NULL; in ftrace_run_modify_code()
3109 ops->old_hash.filter_hash = ops->func_hash->filter_hash; in ftrace_shutdown()
3110 ops->old_hash.notrace_hash = ops->func_hash->notrace_hash; in ftrace_shutdown()
3130 ops->old_hash.filter_hash = NULL; in ftrace_shutdown()
3131 ops->old_hash.notrace_hash = NULL; in ftrace_shutdown()
4347 struct ftrace_ops_hash *old_hash) in ftrace_ops_update_code() argument
4355 ftrace_run_modify_code(ops, FTRACE_UPDATE_CALLS, old_hash); in ftrace_ops_update_code()
4370 ftrace_run_modify_code(op, FTRACE_UPDATE_CALLS, old_hash); in ftrace_ops_update_code()
4383 struct ftrace_hash *old_hash; in ftrace_hash_move_and_update_ops() local
4386 old_hash = *orig_hash; in ftrace_hash_move_and_update_ops()
4392 free_ftrace_hash_rcu(old_hash); in ftrace_hash_move_and_update_ops()
4803 struct ftrace_hash *old_hash; in register_ftrace_function_probe() local
4850 old_hash = *orig_hash; in register_ftrace_function_probe()
4851 hash = alloc_and_copy_ftrace_hash(FTRACE_HASH_DEFAULT_BITS, old_hash); in register_ftrace_function_probe()
4870 if (ftrace_lookup_ip(old_hash, entry->ip)) in register_ftrace_function_probe()
4932 if (ftrace_lookup_ip(old_hash, entry->ip)) in register_ftrace_function_probe()
4949 struct ftrace_hash *old_hash; in unregister_ftrace_function_probe_func() local
4994 old_hash = *orig_hash; in unregister_ftrace_function_probe_func()
4996 if (ftrace_hash_empty(old_hash)) in unregister_ftrace_function_probe_func()
4999 old_hash_ops.filter_hash = old_hash; in unregister_ftrace_function_probe_func()
5004 hash = alloc_and_copy_ftrace_hash(FTRACE_HASH_DEFAULT_BITS, old_hash); in unregister_ftrace_function_probe_func()
6214 struct ftrace_hash *old_hash, *new_hash; in ftrace_graph_release() local
6248 old_hash = rcu_dereference_protected(ftrace_graph_hash, in ftrace_graph_release()
6252 old_hash = rcu_dereference_protected(ftrace_graph_notrace_hash, in ftrace_graph_release()
6267 if (old_hash != EMPTY_HASH) in ftrace_graph_release()
6270 free_ftrace_hash(old_hash); in ftrace_graph_release()