Commit 2ab256e
bpf: add is_async_callback_calling_insn() helper
Currently we have a special case for BPF_FUNC_timer_set_callback,
let's introduce a helper we can extend for the kfunc that will come in
a later patch
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240221-hid-bpf-sleepable-v3-3-1fb378ca6301@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent dfe6625 commit 2ab256e
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
531 | 536 | | |
532 | 537 | | |
533 | 538 | | |
| |||
9445 | 9450 | | |
9446 | 9451 | | |
9447 | 9452 | | |
9448 | | - | |
9449 | | - | |
9450 | | - | |
| 9453 | + | |
9451 | 9454 | | |
9452 | 9455 | | |
9453 | 9456 | | |
| |||
15588 | 15591 | | |
15589 | 15592 | | |
15590 | 15593 | | |
15591 | | - | |
| 15594 | + | |
15592 | 15595 | | |
15593 | 15596 | | |
15594 | 15597 | | |
| |||
0 commit comments