Searched refs:kind_flag (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_btf.h | 7 #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/ |
D | btf.rst | 101 * 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/ |
D | syscall.c | 21 #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/ |
D | libbpf_internal.h | 59 #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/ |
D | btf_dumper.c | 437 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()
|