Lines Matching refs:notrace_hash
1072 .local_hash.notrace_hash = EMPTY_HASH,
1297 free_ftrace_hash(ops->func_hash->notrace_hash); in ftrace_free_filter()
1519 (ftrace_hash_empty(hash->notrace_hash) || in hash_contains_ip()
1520 !__ftrace_lookup_ip(hash->notrace_hash, ip)); in hash_contains_ip()
1552 rcu_assign_pointer(hash.notrace_hash, ops->func_hash->notrace_hash); in ftrace_ops_test()
1738 struct ftrace_hash *notrace_hash; in __ftrace_hash_rec_update() local
1754 notrace_hash = ops->func_hash->notrace_hash; in __ftrace_hash_rec_update()
1771 if (!notrace_hash || !ftrace_lookup_ip(notrace_hash, rec->ip)) in __ftrace_hash_rec_update()
1775 in_notrace_hash = !!ftrace_lookup_ip(notrace_hash, rec->ip); in __ftrace_hash_rec_update()
2962 ops->old_hash.notrace_hash = old_hash->notrace_hash; in ftrace_run_modify_code()
2965 ops->old_hash.notrace_hash = NULL; in ftrace_run_modify_code()
3139 ops->old_hash.notrace_hash = ops->func_hash->notrace_hash; in ftrace_shutdown()
3160 ops->old_hash.notrace_hash = NULL; in ftrace_shutdown()
3335 size_bits = subops->func_hash->notrace_hash->size_bits; in intersect_hashes()
3336 new_hash = alloc_and_copy_ftrace_hash(size_bits, ops->func_hash->notrace_hash); in intersect_hashes()
3344 ret = intersect_hash(&new_hash, next_hash, subops->func_hash->notrace_hash); in intersect_hashes()
3397 old_hash_ops.notrace_hash = ops->func_hash->notrace_hash; in __ftrace_hash_move_and_update_ops()
3407 struct ftrace_hash *notrace_hash) in ftrace_update_ops() argument
3418 if (!ops_equal(notrace_hash, ops->func_hash->notrace_hash)) { in ftrace_update_ops()
3419 ret = __ftrace_hash_move_and_update_ops(ops, &ops->func_hash->notrace_hash, in ftrace_update_ops()
3420 notrace_hash, 0); in ftrace_update_ops()
3441 struct ftrace_hash *notrace_hash; in ftrace_startup_subops() local
3459 if (!ops->func_hash->notrace_hash) in ftrace_startup_subops()
3460 ops->func_hash->notrace_hash = EMPTY_HASH; in ftrace_startup_subops()
3463 if (!subops->func_hash->notrace_hash) in ftrace_startup_subops()
3464 subops->func_hash->notrace_hash = EMPTY_HASH; in ftrace_startup_subops()
3470 notrace_hash = copy_hash(subops->func_hash->notrace_hash); in ftrace_startup_subops()
3471 if (!filter_hash || !notrace_hash) { in ftrace_startup_subops()
3473 free_ftrace_hash(notrace_hash); in ftrace_startup_subops()
3478 save_notrace_hash = ops->func_hash->notrace_hash; in ftrace_startup_subops()
3481 ops->func_hash->notrace_hash = notrace_hash; in ftrace_startup_subops()
3487 ops->func_hash->notrace_hash = save_notrace_hash; in ftrace_startup_subops()
3489 free_ftrace_hash(notrace_hash); in ftrace_startup_subops()
3523 if (ftrace_hash_empty(ops->func_hash->notrace_hash) || in ftrace_startup_subops()
3524 ftrace_hash_empty(subops->func_hash->notrace_hash)) { in ftrace_startup_subops()
3525 notrace_hash = EMPTY_HASH; in ftrace_startup_subops()
3529 notrace_hash = alloc_ftrace_hash(size_bits); in ftrace_startup_subops()
3530 if (!notrace_hash) { in ftrace_startup_subops()
3535 ret = intersect_hash(¬race_hash, ops->func_hash->filter_hash, in ftrace_startup_subops()
3539 free_ftrace_hash(notrace_hash); in ftrace_startup_subops()
3546 ret = ftrace_update_ops(ops, filter_hash, notrace_hash); in ftrace_startup_subops()
3548 free_ftrace_hash(notrace_hash); in ftrace_startup_subops()
3573 struct ftrace_hash *notrace_hash; in ftrace_shutdown_subops() local
3596 free_ftrace_hash(ops->func_hash->notrace_hash); in ftrace_shutdown_subops()
3598 ops->func_hash->notrace_hash = EMPTY_HASH; in ftrace_shutdown_subops()
3607 notrace_hash = intersect_hashes(ops); in ftrace_shutdown_subops()
3608 if (!filter_hash || !notrace_hash) { in ftrace_shutdown_subops()
3610 free_ftrace_hash(notrace_hash); in ftrace_shutdown_subops()
3615 ret = ftrace_update_ops(ops, filter_hash, notrace_hash); in ftrace_shutdown_subops()
3623 free_ftrace_hash(notrace_hash); in ftrace_shutdown_subops()
3655 orig_hash = &ops->func_hash->notrace_hash; in ftrace_hash_move_and_update_subops()
3688 ftrace_hash_empty(ops->func_hash->notrace_hash); in ops_traces_mod()
4560 hash = ops->func_hash->notrace_hash; in ftrace_regex_open()
4972 orig_hash = &ops->func_hash->notrace_hash; in process_mod_list()
5499 old_hash_ops.notrace_hash = NULL; in unregister_ftrace_function_probe_func()
5764 orig_hash = &ops->func_hash->notrace_hash; in ftrace_set_hash()
6448 orig_hash = &iter->ops->func_hash->notrace_hash; in ftrace_regex_release()
7192 if (ftrace_lookup_ip(ops->func_hash->notrace_hash, ip)) in ops_references_ip()
7263 clear_mod_from_hash(pg, tr->ops->func_hash->notrace_hash); in clear_mod_from_hashes()
7644 clear_func_from_hash(func, tr->ops->func_hash->notrace_hash); in clear_func_from_hashes()