函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:36:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_array_seq_show

函数原型:static void btf_array_seq_show(const struct btf *btf, const struct btf_type *t, u32 type_id, void *data, u8 bits_offset, struct seq_file *m)

返回类型:void

参数:

类型参数名称
const struct btf *btf
const struct btf_type *t
u32type_id
void *data
u8bits_offset
struct seq_file *m
2076  array等于btf_type_array(t)
2081  elem_type_id等于type
2082  elem_type等于btf_type_id_size(btf, & elem_type_id, & elem_size)
2083  elem_ops等于btf_type_ops(elem_type)
2084  seq_puts(m, "[")
2085 i小于nelems循环
2086  如果iseq_puts(m, ",")
2089  seq_show(btf, elem_type, elem_type_id, data, bits_offset, m)
2091  data加等于elem_size
2093  seq_puts(m, "]")