函数逻辑报告 |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-27 14:31:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_cgroup_storage_link
函数原型:void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage, struct cgroup *cgroup, enum bpf_attach_type type)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_cgroup_storage * | storage | |
struct cgroup * | cgroup | |
enum bpf_attach_type | type |
568 | 如果非storage则返回 |
571 | program attach type 等于type |
576 | spin_lock_bh( & lock) |
577 | WARN_ON(cgroup_storage_insert(map, storage)) |
578 | 添加链表项 |
579 | spin_unlock_bh( & lock) |
名称 | 描述 |
---|---|
__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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |