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.c96 if (bpf_timer_start(timer, 1ull << 35, 0) != 0) in timer_cb1()
103 if (bpf_timer_start(lru_timer, 0, 0) != 0) in timer_cb1()
162 bpf_timer_start(arr_timer, 0 /* call timer_cb1 asap */, 0); in BPF_PROG2()
192 bpf_timer_start(arr_timer, 100000 /* 100us */, 0); in timer_cb2()
207 bpf_timer_start(&val->timer, 1000, 0); in timer_cb2()
238 if (bpf_timer_start(&val->timer, 1000, 0) != -EINVAL) in bpf_timer_test()
269 bpf_timer_start(&val->timer, 1000, 0); in BPF_PROG2()
276 bpf_timer_start(&val->timer, 1000, 0); in BPF_PROG2()
337 bpf_timer_start(timer, bpf_ktime_get_boot_ns() + 1000,
341 bpf_timer_start(time in timer_cb_pinned()
[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.c52 bpf_timer_start(&value->timer, 100000, BPF_F_TIMER_CPU_PIN); in overwrite_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()
321 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, BPF_F_TIMER_CPU_PIN); in BPF_STRUCT_OPS_SLEEPABLE()
324 * kernel which doesn't have it, bpf_timer_start() will return -EINVAL. in BPF_STRUCT_OPS_SLEEPABLE()
331 ret = bpf_timer_start(timer, TIMER_INTERVAL_NS, 0); in BPF_STRUCT_OPS_SLEEPABLE()
334 scx_bpf_error("bpf_timer_start failed (%d)", ret); in BPF_STRUCT_OPS_SLEEPABLE()
H A Dscx_qmap.bpf.c855 bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in monitor_timerfn()
887 return bpf_timer_start(timer, ONE_SEC_IN_NS, 0); in BPF_STRUCT_OPS()
/linux/kernel/bpf/
H A Dhelpers.c1505 BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, async, u64, nsecs, u64, flags) in BPF_CALL_3() argument
1542 .func = bpf_timer_start,