Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c12 struct bpf_timer timer;
32 struct bpf_timer t;
69 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1()
80 struct bpf_timer *lru_timer; in timer_cb1()
133 struct bpf_timer *arr_timer, *lru_timer; in BPF_PROG2()
174 struct bpf_timer *arr_timer; in timer_cb2()
297 static int timer_cb3(void *map, int *key, struct bpf_timer *timer) in timer_cb3()
317 struct bpf_timer *timer; in BPF_PROG2()
H A Dtimer_failure.c14 struct bpf_timer t;
24 static int timer_cb_ret1(void *map, int *key, struct bpf_timer *timer) in timer_cb_ret1()
37 struct bpf_timer *timer; in BPF_PROG2()
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 Dtimer_crash.c8 struct bpf_timer timer;
H A Dtimer_mim_reject.c12 struct bpf_timer timer;
H A Dtest_helper_restricted.c7 struct bpf_timer t;
H A Dtimer_mim.c12 struct bpf_timer timer;
H A Dverifier_helper_restricted.c21 struct bpf_timer t;
/openbmc/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,
/openbmc/linux/kernel/bpf/
H A Dhelpers.c1140 BTF_TYPE_EMIT(struct bpf_timer); in bpf_timer_cb()
1244 BUILD_BUG_ON(sizeof(struct bpf_async_kern) > sizeof(struct bpf_timer)); in BPF_CALL_3()
1245 BUILD_BUG_ON(__alignof__(struct bpf_async_kern) != __alignof__(struct bpf_timer)); in BPF_CALL_3()
/openbmc/linux/include/linux/
H A Dbpf.h336 return sizeof(struct bpf_timer); in btf_field_type_size()
362 return __alignof__(struct bpf_timer); in btf_field_type_align()
/openbmc/linux/include/uapi/linux/
H A Dbpf.h7143 struct bpf_timer { struct
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h7143 struct bpf_timer { struct