Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\local_storage.c Create Date:2022-07-28 13:14:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_cgroup_storage_unlink

Proto:void bpf_cgroup_storage_unlink(struct bpf_cgroup_storage *storage)

Type:void

Parameter:

TypeParameterName
struct bpf_cgroup_storage *storage
587  If Not storage Then Return
590  map = map
592  spin_lock_bh( & lock)
593  root = root
594  rb_erase( & node, root)
596  deletes entry from list
597  spin_unlock_bh( & lock)
Caller
NameDescribe
cgroup_bpf_releasegroup_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify
__cgroup_bpf_attach__cgroup_bpf_attach() - Attach the program to a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to attach*@type: Type of attach operation*@flags: Option flags
__cgroup_bpf_detach__cgroup_bpf_detach() - Detach the program from a cgroup, and* propagate the change to descendants*@cgrp: The cgroup which descendants to traverse*@prog: A program to detach or NULL*@type: Type of detach operation* Must be called with cgroup_mutex held.