| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | timer.c | 17 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 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 | verifier_subprog_insn_stats.c | 8 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 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 | verifier_private_stack.c | 14 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 D | timer_failure.c | 14 struct bpf_timer t; 58 struct bpf_timer *timer; in __flag()
|
| H A D | stream.c | 28 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 D | test_pinning_htab.c | 9 struct bpf_timer timer;
|
| H A D | timer_crash.c | 8 struct bpf_timer timer;
|
| H A D | free_timer.c | 21 struct bpf_timer timer; in timer_cb()
|
| 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 | exceptions_fail.c | 24 struct bpf_timer timer; 107 static int timer_cb(void *map, int *key, struct bpf_timer *timer) in timer_cb()
|
| H A D | timer_mim.c | 12 struct bpf_timer timer;
|
| H A D | verifier_helper_restricted.c | |
| H A D | wq.c | 14 struct bpf_timer timer; /* unused */
|
| /linux/tools/sched_ext/ |
| H A D | scx_central.bpf.c | 81 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 D | scx_qmap.bpf.c | 1139 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 D | bpf_testmod_kfunc.h | 157 struct bpf_timer *timer) __ksym;
|
| H A D | bpf_testmod.c | 1016 struct bpf_timer *timer) in bpf_kfunc_call_stack_arg_timer()
|
| /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 | 1192 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 D | bpf.h | 7595 struct bpf_timer { struct
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 7595 struct bpf_timer { struct
|
| /linux/include/linux/ |
| H A D | bpf.h | 396 return sizeof(struct bpf_timer); in btf_field_type_size() 430 return __alignof__(struct bpf_timer); in btf_field_type_align()
|