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:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_cgroup_storage_free

Proto:void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage)

Type:void

Parameter:

TypeParameterName
struct bpf_cgroup_storage *storage
547  If Not storage Then Return
550  map = map
552  bpf_cgroup_storage_calculate_size(map, & pages)
553  bpf_map_uncharge_memlock(map, pages)
555  stype = cgroup_storage_type(map)
556  If stype == BPF_CGROUP_STORAGE_SHARED Then all_rcu() - Queue an RCU callback for invocation after a grace period
558  Else all_rcu() - Queue an RCU callback for invocation after a grace period
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.