Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c88 if (bpf_timer_start(timer, 1ull << 35, 0) != 0) in timer_cb1()
95 if (bpf_timer_start(lru_timer, 0, 0) != 0) in timer_cb1()
154 bpf_timer_start(arr_timer, 0 /* call timer_cb1 asap */, 0); in BPF_PROG2()
176 bpf_timer_start(&val->timer, 1000, 0); in timer_cb2()
207 if (bpf_timer_start(&val->timer, 1000, 0) != -EINVAL) in timer_cb2()
238 bpf_timer_start(&val->timer, 1000, 0); in bpf_timer_test()
245 bpf_timer_start(&val->timer, 1000, 0); in bpf_timer_test()
306 bpf_timer_start(timer, bpf_ktime_get_boot_ns() + 1000, in timer_cb3()
310 bpf_timer_start(timer, bpf_ktime_get_boot_ns() + (1ull << 35), in timer_cb3()
330 bpf_timer_start(timer, bpf_ktime_get_boot_ns() + 1000, in BPF_PROG2()
[all …]
H A Dtimer_mim.c45 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb2()
56 if (bpf_timer_start(&val->timer, 1000, 0)) in timer_cb1()
85 if (bpf_timer_start(&val->timer, 0, 0)) in BPF_PROG()
H A Dtimer_lockup.c67 bpf_timer_start(timer, 1, BPF_F_TIMER_CPU_PIN); in timer1_prog()
83 bpf_timer_start(timer, 1, BPF_F_TIMER_CPU_PIN); in timer2_prog()
H A Dtimer_failure.c64 bpf_timer_start(timer, 1000, 0); in __flag()
H A Dtimer_mim_reject.c71 if (bpf_timer_start(&val->timer, 0, 0)) in BPF_PROG()
H A Dtest_helper_restricted.c42 bpf_timer_start(&timer->t, 10E9, 0); in timer_work()
/linux/tools/sched_ext/
H A Dscx_central.bpf.c297 bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); in central_timerfn()
324 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); in BPF_STRUCT_OPS_SLEEPABLE()
334 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, 0); in BPF_STRUCT_OPS_SLEEPABLE()
H A Dscx_qmap.bpf.c775 bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in monitor_timerfn()
802 return bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in BPF_STRUCT_OPS_SLEEPABLE()
/linux/kernel/bpf/
H A Dhelpers.c1412 BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, timer, u64, nsecs, u64, flags) in BPF_CALL_3() argument
1444 .func = bpf_timer_start,