Home
last modified time | relevance | path

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

/kernel/
Dtest_kprobes.c14 #define div_factor 3 macro
23 return (value / div_factor); in kprobe_target()
32 preh_val = (rand1 / div_factor); in kp_pre_handler()
43 if (preh_val != (rand1 / div_factor)) { in kp_post_handler()
47 posth_val = preh_val + div_factor; in kp_post_handler()
84 return (value / div_factor) + 1; in kprobe_target2()
89 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2()
96 if (preh_val != (rand1 / div_factor) + 1) { in kp_post_handler2()
100 posth_val = preh_val + div_factor; in kp_post_handler2()
165 krph_val = (rand1 / div_factor); in entry_handler()
[all …]