Anton Protopopov 76145f7255 bpf: Refactor check_pseudo_btf_id
Introduce a helper to add btfs to the env->used_maps array. Use it
to simplify the check_pseudo_btf_id() function. This new helper will
also be re-used in a consequent patch.

Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241213130934.1087929-4-aspsk@isovalent.com
2024-12-13 14:45:58 -08:00
..
2024-11-21 08:11:04 -08:00
2024-11-21 08:11:04 -08:00
2024-08-30 08:55:26 -07:00
2024-08-30 08:55:26 -07:00
2024-12-13 14:45:58 -08:00
2024-11-22 20:36:11 -08:00
2024-11-21 08:11:04 -08:00
2022-05-10 11:20:45 -07:00
2024-08-30 08:55:26 -07:00
2024-08-30 08:57:47 -07:00
2024-10-22 15:42:56 -07:00
2024-11-22 13:27:01 -08:00
2024-11-18 10:30:29 -08:00
2023-10-23 15:01:53 -07:00
2024-12-13 14:45:58 -08:00