Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c13 struct bpf_timer timer;
33 struct bpf_timer t;
73 static int timer_cb1(void *map, int *key, struct bpf_timer *timer) in timer_cb1()
84 struct bpf_timer *lru_timer; in timer_cb1()
137 struct bpf_timer *arr_timer, *lru_timer; in BPF_PROG2()
178 struct bpf_timer *arr_timer; in timer_cb2()
301 static int timer_cb3(void *map, int *key, struct bpf_timer *timer) in timer_cb3()
321 struct bpf_timer *timer; in BPF_PROG2()
338 static int timer_cb_pinned(void *map, int *key, struct bpf_timer *timer) in timer_cb_pinned()
353 struct bpf_timer *timer; 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 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_failure.c14 struct bpf_timer t;
58 struct bpf_timer *timer; in __flag()
H A Dexceptions_fail.c19 struct bpf_timer timer;
89 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
H A Dtimer_crash.c8 struct bpf_timer timer;
H A Dfree_timer.c11 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;
H A Dwq.c14 struct bpf_timer timer; /* unused */
/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.c1153 BTF_TYPE_EMIT(struct bpf_timer); in bpf_timer_cb()
1330 BUILD_BUG_ON(sizeof(struct bpf_async_kern) > sizeof(struct bpf_timer)); in BPF_CALL_3()
1331 BUILD_BUG_ON(__alignof__(struct bpf_async_kern) != __alignof__(struct bpf_timer)); in BPF_CALL_3()
/linux/include/linux/
H A Dbpf.h350 return sizeof(struct bpf_timer); in btf_field_type_size()
380 return __alignof__(struct bpf_timer); in btf_field_type_align()
/linux/include/uapi/linux/
H A Dbpf.h7326 struct bpf_timer { struct
/linux/tools/include/uapi/linux/
H A Dbpf.h7326 struct bpf_timer { struct