]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place
authorHou Tao <houtao1@huawei.com>
Tue, 1 Apr 2025 06:22:46 +0000 (14:22 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 10 Apr 2025 03:12:53 +0000 (20:12 -0700)
commit5771e306b6cd8ce5b9935d006765f887f145e6d5
treec22d5e34610701e5630b9fae0d5f07a0a4adec25
parentba2b31b0f39fca12abbd21c53a92838bbc026023
bpf: Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place

Rename __htab_percpu_map_update_elem to htab_map_update_elem_in_place,
and add a new percpu argument for the helper to support in-place update
for both per-cpu htab and htab of maps.

Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20250401062250.543403-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/hashtab.c