Home
last modified time | relevance | path

Searched refs:bpf_timer_start (Results 1 – 11 of 11) 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 Dverifier_private_stack.c319 bpf_timer_start(arr_timer, 0, 0); in private_stack_async_callback_1()
342 bpf_timer_start(arr_timer, 0, 0); in private_stack_async_callback_2()
H A Dtimer_failure.c64 bpf_timer_start(timer, 1000, 0); in __flag()
H A Dfree_timer.c42 bpf_timer_start(&value->timer, 100000, BPF_F_TIMER_CPU_PIN); in start_cb()
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.c292 bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); in central_timerfn()
319 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); in BPF_STRUCT_OPS_SLEEPABLE()
329 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, 0); in BPF_STRUCT_OPS_SLEEPABLE()
H A Dscx_qmap.bpf.c841 bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in monitor_timerfn()
869 return bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in BPF_STRUCT_OPS_SLEEPABLE()
/linux/kernel/bpf/
H A Dhelpers.c1417 BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, timer, u64, nsecs, u64, flags) in BPF_CALL_3() argument
1449 .func = bpf_timer_start,