Home
last modified time | relevance | path

Searched refs:preh_val (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/kernel/
Dtest_kprobes.c25 static u32 rand1, preh_val, posth_val; variable
41 preh_val = (rand1 / div_factor); in kp_pre_handler()
52 if (preh_val != (rand1 / div_factor)) { in kp_post_handler()
56 posth_val = preh_val + div_factor; in kp_post_handler()
78 if (preh_val == 0) { in test_kprobe()
98 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2()
105 if (preh_val != (rand1 / div_factor) + 1) { in kp_post_handler2()
109 posth_val = preh_val + div_factor; in kp_post_handler2()
132 preh_val = 0; in test_kprobes()
136 if (preh_val == 0) { in test_kprobes()
[all …]