Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Dbtf_dumper.c348 int nr_bits = BTF_INT_BITS(int_type); in btf_dumper_int_bits()
369 nr_bits = BTF_INT_BITS(*int_type); in btf_dumper_int()
385 if (BTF_INT_BITS(*int_type) == 64) in btf_dumper_int()
387 else if (BTF_INT_BITS(*int_type) == 32) in btf_dumper_int()
389 else if (BTF_INT_BITS(*int_type) == 16) in btf_dumper_int()
391 else if (BTF_INT_BITS(*int_type) == 8) in btf_dumper_int()
398 if (BTF_INT_BITS(*int_type) == 64) in btf_dumper_int()
400 else if (BTF_INT_BITS(*int_type) == 32) in btf_dumper_int()
402 else if (BTF_INT_BITS(*int_type) == 16) in btf_dumper_int()
404 else if (BTF_INT_BITS(*int_type) == 8) in btf_dumper_int()
Dbtf.c134 jsonw_uint_field(w, "nr_bits", BTF_INT_BITS(v)); in dump_btf_type()
138 t->size, BTF_INT_OFFSET(v), BTF_INT_BITS(v), in dump_btf_type()
/tools/include/uapi/linux/
Dbtf.h88 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) macro
/tools/lib/bpf/
Dbtf.h343 return BTF_INT_BITS(*(__u32 *)(t + 1)); in btf_int_bits()