Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_btf.h9 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
10 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
21 #define BTF_FWD_ENC(name, kind_flag) \ argument
22 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FWD, kind_flag, 0), 0)
/openbmc/linux/Documentation/bpf/
H A Dbtf.rst104 * bit 31: kind_flag, currently used by
130 * ``info.kind_flag``: 0
182 * ``info.kind_flag``: 0
194 * ``info.kind_flag``: 0
239 * ``info.kind_flag``: 0 or 1
257 If the type info ``kind_flag`` is not set, the offset contains only bit offset
263 If the ``kind_flag`` is set, the ``btf_member.offset`` contains both member
275 The following kernel patch introduced ``kind_flag`` and explained why both
285 * ``info.kind_flag``: 0 for unsigned, 1 for signed
310 * ``info.kind_flag``: 0 for struct, 1 for union
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsyscall.c21 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
22 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
/openbmc/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c471 int kind_flag; in btf_dumper_struct() local
479 kind_flag = BTF_INFO_KFLAG(t->info); in btf_dumper_struct()
488 if (kind_flag) { in btf_dumper_struct()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_internal.h75 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument
76 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))