Home
last modified time | relevance | path

Searched refs:kind_flag (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_btf.h7 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
8 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
19 #define BTF_FWD_ENC(name, kind_flag) \ argument
20 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FWD, kind_flag, 0), 0)
/kernel/linux/linux-5.10/Documentation/bpf/
Dbtf.rst100 * bit 31: kind_flag, currently used by
126 * ``info.kind_flag``: 0
178 * ``info.kind_flag``: 0
190 * ``info.kind_flag``: 0
235 * ``info.kind_flag``: 0 or 1
253 If the type info ``kind_flag`` is not set, the offset contains only bit offset
259 If the ``kind_flag`` is set, the ``btf_member.offset`` contains both member
271 The following kernel patch introduced ``kind_flag`` and explained why both
281 * ``info.kind_flag``: 0
302 * ``info.kind_flag``: 0 for struct, 1 for union
[all …]
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf_internal.h23 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
24 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dbtf_dumper.c435 int kind_flag; in btf_dumper_struct() local
443 kind_flag = BTF_INFO_KFLAG(t->info); in btf_dumper_struct()
452 if (kind_flag) { in btf_dumper_struct()