Searched refs:bpf_timer (Results 1 – 17 of 17) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | timer.c | 13 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 D | timer_lockup.c | 13 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 D | async_stack_depth.c | 8 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 D | timer_failure.c | 14 struct bpf_timer t; 58 struct bpf_timer *timer; in __flag()
|
H A D | exceptions_fail.c | 19 struct bpf_timer timer; 89 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
|
H A D | timer_crash.c | 8 struct bpf_timer timer;
|
H A D | free_timer.c | 11 struct bpf_timer timer;
|
H A D | timer_mim_reject.c | 12 struct bpf_timer timer;
|
H A D | test_helper_restricted.c | 7 struct bpf_timer t;
|
H A D | timer_mim.c | 12 struct bpf_timer timer;
|
H A D | verifier_helper_restricted.c | 21 struct bpf_timer t;
|
H A D | wq.c | 14 struct bpf_timer timer; /* unused */
|
/linux/Documentation/bpf/ |
H A D | bpf_design_QA.rst | 309 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 D | helpers.c | 1153 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 D | bpf.h | 350 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 D | bpf.h | 7326 struct bpf_timer { struct
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7326 struct bpf_timer { struct
|