Function report |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-28 13:14:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_cgroup_storage_link
Proto:void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage, struct cgroup *cgroup, enum bpf_attach_type type)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_cgroup_storage * | storage | |
struct cgroup * | cgroup | |
enum bpf_attach_type | type |
568 | If Not storage Then Return |
571 | program attach type = type |
576 | spin_lock_bh( & lock) |
577 | WARN_ON(cgroup_storage_insert(map, storage)) |
579 | spin_unlock_bh( & lock) |
Name | Describe |
---|---|
__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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |