summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorKaitao Cheng <chengkaitao@kylinos.cn>2026-05-21 06:22:59 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-21 12:47:45 +0300
commitcb339ac61d72f7fb7f57bfc0516b7b2b65bc1bad (patch)
tree690528bd43a62516ba138d8c5369f4f04ac50264 /lib/debugobjects.c
parent3db0419c0147c3b91e2df475a1d34bcf0f645930 (diff)
downloadlinux-cb339ac61d72f7fb7f57bfc0516b7b2b65bc1bad.tar.xz
bpf: refactor __bpf_list_del to take list node pointer
Refactor __bpf_list_del to accept (head, struct list_head *n) instead of (head, bool tail). The caller now passes the specific node to remove: bpf_list_pop_front passes h->next, bpf_list_pop_back passes h->prev. Prepares for introducing bpf_list_del(head, node) kfunc to remove an arbitrary node when the user holds ownership. Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn> Reviewed-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20260521032306.97118-2-kaitao.cheng@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions