Home
last modified time | relevance | path

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

/Linux-v5.15/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)
/Linux-v5.15/Documentation/bpf/
Dbtf.rst101 * bit 31: kind_flag, currently used by
127 * ``info.kind_flag``: 0
179 * ``info.kind_flag``: 0
191 * ``info.kind_flag``: 0
236 * ``info.kind_flag``: 0 or 1
254 If the type info ``kind_flag`` is not set, the offset contains only bit offset
260 If the ``kind_flag`` is set, the ``btf_member.offset`` contains both member
272 The following kernel patch introduced ``kind_flag`` and explained why both
282 * ``info.kind_flag``: 0
303 * ``info.kind_flag``: 0 for struct, 1 for union
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dsyscall.c21 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
22 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
/Linux-v5.15/tools/lib/bpf/
Dlibbpf_internal.h59 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
60 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
/Linux-v5.15/tools/bpf/bpftool/
Dbtf_dumper.c437 int kind_flag; in btf_dumper_struct() local
445 kind_flag = BTF_INFO_KFLAG(t->info); in btf_dumper_struct()
454 if (kind_flag) { in btf_dumper_struct()