Home
last modified time | relevance | path

Searched refs:bpf_timer (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c17 struct bpf_timer timer;
37 struct bpf_timer t;
81 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1()
92 struct bpf_timer *lru_timer; in timer_cb1()
145 struct bpf_timer *arr_timer, *lru_timer; in BPF_PROG2()
175 static int timer_error(void *map, int *key, struct bpf_timer *timer) in timer_cb2()
184 struct bpf_timer *arr_timer; in timer_cb2()
209 struct bpf_timer *arr_timer; in timer_cb2()
332 static int timer_cb3(void *map, int *key, struct bpf_timer *timer) in BPF_PROG2()
352 struct bpf_timer *time in test_pinned_timer()
[all...]
H A Dtimer_lockup.c13 struct bpf_timer t;
35 struct bpf_timer *timer; in timer_cb1()
47 struct bpf_timer *timer; in timer_cb2()
60 struct bpf_timer *timer; in timer1_prog()
76 struct bpf_timer *timer; in timer2_prog()
H A Dverifier_subprog_insn_stats.c8 struct bpf_timer timer;
105 static int stats_async_leaf(void *map, __u32 *key, struct bpf_timer *timer) in stats_async_leaf()
156 static int stats_async_nested_leaf(void *map, __u32 *key, struct bpf_timer *timer) in stats_async_nested_leaf()
162 static int stats_async_outer(void *map, __u32 *key, struct bpf_timer *timer) in stats_async_outer()
H A Dasync_stack_depth.c8 struct bpf_timer timer;
19 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
26 static int bad_timer_cb(void *map, int *key, struct bpf_timer *timer) in bad_timer_cb()
H A Dverifier_private_stack.c14 struct bpf_timer t;
296 __noinline static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1()
302 __noinline static int timer_cb2(void *map, int *key, struct bpf_timer *timer) in timer_cb2()
318 struct bpf_timer *arr_timer; in private_stack_async_callback_1()
347 struct bpf_timer *arr_timer; in __load_if_JITed()
H A Dtimer_failure.c14 struct bpf_timer t;
58 struct bpf_timer *timer; in __flag()
H A Dstream.c28 struct bpf_timer timer;
357 static __noinline int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
377 struct bpf_timer *arr_timer; in stream_arena_callback_fault()
H A Dtest_pinning_htab.c9 struct bpf_timer timer;
H A Dtimer_crash.c8 struct bpf_timer timer;
H A Dfree_timer.c21 struct bpf_timer timer; in timer_cb()
H A Dtimer_mim_reject.c12 struct bpf_timer timer;
H A Dtest_helper_restricted.c7 struct bpf_timer t;
H A Dexceptions_fail.c24 struct bpf_timer timer;
107 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
H A Dtimer_mim.c12 struct bpf_timer timer;
H A Dverifier_helper_restricted.c
H A Dwq.c14 struct bpf_timer timer; /* unused */
/linux/tools/sched_ext/
H A Dscx_central.bpf.c81 struct bpf_timer timer;
189 struct bpf_timer *timer; in start_central_timer()
297 static int central_timerfn(void *map, int *key, struct bpf_timer *timer) in central_timerfn()
347 struct bpf_timer *timer; in BPF_STRUCT_OPS_SLEEPABLE()
H A Dscx_qmap.bpf.c1139 struct bpf_timer timer;
1216 static int monitor_timerfn(void *map, int *key, struct bpf_timer *timer) in monitor_timerfn()
1255 struct bpf_timer timer;
1269 static int lowpri_timerfn(void *map, int *key, struct bpf_timer *timer) in lowpri_timerfn()
1278 struct bpf_timer timer;
1749 static int round_robin_timerfn(void *map, int *key, struct bpf_timer *timer) in round_robin_timerfn()
1785 struct bpf_timer *timer; in BPF_STRUCT_OPS_SLEEPABLE()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod_kfunc.h157 struct bpf_timer *timer) __ksym;
H A Dbpf_testmod.c1016 struct bpf_timer *timer) in bpf_kfunc_call_stack_arg_timer()
/linux/Documentation/bpf/
H A Dbpf_design_QA.rst309 Q: Users are allowed to embed bpf_spin_lock, bpf_timer fields in their BPF map
315 A: It depends. For bpf_spin_lock, bpf_timer: YES, for kptr and everything else:
318 For struct types that have been added already, like bpf_spin_lock and bpf_timer,
/linux/kernel/bpf/
H A Dhelpers.c1192 BTF_TYPE_EMIT(struct bpf_timer); in bpf_timer_cb()
1399 BUILD_BUG_ON(sizeof(struct bpf_async_kern) > sizeof(struct bpf_timer)); in BPF_CALL_3()
1400 BUILD_BUG_ON(__alignof__(struct bpf_async_kern) != __alignof__(struct bpf_timer)); in BPF_CALL_3()
4742 __bpf_kfunc int bpf_timer_cancel_async(struct bpf_timer *timer) in bpf_timer_cancel_async()
/linux/tools/include/uapi/linux/
H A Dbpf.h7595 struct bpf_timer { struct
/linux/include/uapi/linux/
H A Dbpf.h7595 struct bpf_timer { struct
/linux/include/linux/
H A Dbpf.h396 return sizeof(struct bpf_timer); in btf_field_type_size()
430 return __alignof__(struct bpf_timer); in btf_field_type_align()

12