Lines Matching defs:bpf_async_kern
1132 * That space is used to keep 'struct bpf_async_kern'.
1156 struct bpf_async_kern {
1299 static void bpf_async_cancel_and_free(struct bpf_async_kern *async);
1302 static int __bpf_async_init(struct bpf_async_kern *async, struct bpf_map *map, u64 flags,
1357 /* Lost the race to initialize this bpf_async_kern, drop the allocated object */
1378 BPF_CALL_3(bpf_timer_init, struct bpf_async_kern *, timer, struct bpf_map *, map,
1384 BUILD_BUG_ON(sizeof(struct bpf_async_kern) > sizeof(struct bpf_timer));
1385 BUILD_BUG_ON(__alignof__(struct bpf_async_kern) != __alignof__(struct bpf_timer));
1474 static int __bpf_async_set_callback(struct bpf_async_kern *async, void *callback_fn,
1486 BPF_CALL_3(bpf_timer_set_callback, struct bpf_async_kern *, timer, void *, callback_fn,
1505 BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, async, u64, nsecs, u64, flags)
1550 BPF_CALL_1(bpf_timer_cancel, struct bpf_async_kern *, async)
1668 static void bpf_async_cancel_and_free(struct bpf_async_kern *async)
3295 struct bpf_async_kern *async = (struct bpf_async_kern *)wq;
3298 BUILD_BUG_ON(sizeof(struct bpf_async_kern) > sizeof(struct bpf_wq));
3299 BUILD_BUG_ON(__alignof__(struct bpf_async_kern) != __alignof__(struct bpf_wq));
3309 struct bpf_async_kern *async = (struct bpf_async_kern *)wq;
3336 struct bpf_async_kern *async = (struct bpf_async_kern *)wq;
4622 struct bpf_async_kern *async = (void *)timer;