函数逻辑报告 |
Source Code:kernel\bpf\cgroup.c |
Create Date:2022-07-27 14:46:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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.
函数原型:int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, enum bpf_attach_type type)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup * | cgrp | |
struct bpf_prog * | prog | |
enum bpf_attach_type | type |
437 | 如果flags按位与BPF_F_ALLOW_MULTI则 |
443 | 否则 |
449 | 如果flags按位与BPF_F_ALLOW_MULTI则 |
463 | 否则 |
469 | prog = NULL |
472 | err等于update_effective_progs(cgrp, type) |
477 | 删除链表项 |
487 | bpf_prog_put(old_prog) |
489 | 返回:0 |
491 | cleanup : |
494 | 返回:err |
名称 | 描述 |
---|---|
cgroup_bpf_detach |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |