Searched refs:kind_flag (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_btf.h | 9 #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)
|
/linux-6.1.9/Documentation/bpf/ |
D | btf.rst | 104 * 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 …]
|
/linux-6.1.9/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-6.1.9/tools/lib/bpf/ |
D | libbpf_internal.h | 60 #define BTF_INFO_ENC(kind, kind_flag, vlen) \ argument 61 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf_dumper.c | 471 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()
|