函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:04:26 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_map_show_fdinfo
函数原型:static void bpf_map_show_fdinfo(struct seq_file *m, struct file *filp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct file * | filp |
395 | 如果map_type恒等于BPF_MAP_TYPE_PROG_ARRAY则 |
401 | seq_printf(m, "map_type:\t%u\nkey_size:\t%u\nvalue_size:\t%u\nmax_entries:\t%u\nmap_flags:\t%#x\nmemlock:\t%llu\nmap_id:\t%u\nfrozen:\t%u\n", map_type, key_size, value_size, max_entries, map_flags, pages * 1ULL << PAGE_SHIFT determines the page size , id, READ_ONCE( write-once; write-protected by freeze_mutex )) |
418 | 如果type则 |
419 | seq_printf(m, "owner_prog_type:\t%u\n", type) |
420 | seq_printf(m, "owner_jited:\t%u\n", jited) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |