Home
last modified time | relevance | path

Searched refs:byte_sz (Results 1 - 3 of 3) sorted by relevance

/third_party/libbpf/src/
H A Drelo_core.c90 case BPF_CORE_FIELD_BYTE_SIZE: return "byte_sz"; in core_relo_kind_str()
686 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; in bpf_core_calc_field_relo() local
737 byte_sz = mt->size; in bpf_core_calc_field_relo()
738 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
740 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) { in bpf_core_calc_field_relo()
741 if (byte_sz >= 8) { in bpf_core_calc_field_relo()
747 byte_sz *= 2; in bpf_core_calc_field_relo()
748 byte_off = bit_off / 8 / byte_sz * byte_sz; in bpf_core_calc_field_relo()
[all...]
H A Dbtf.h176 LIBBPF_API int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding);
177 LIBBPF_API int btf__add_float(struct btf *btf, const char *name, size_t byte_sz);
214 LIBBPF_API int btf__add_datasec(struct btf *btf, const char *name, __u32 byte_sz);
216 __u32 offset, __u32 byte_sz);
H A Dbtf.c2019 int btf__add_int(struct btf *btf, const char *name, size_t byte_sz, int encoding) argument
2027 /* byte_sz must be power of 2 */
2028 if (!byte_sz || (byte_sz & (byte_sz - 1)) || byte_sz > 16)
2052 t->size = byte_sz;
2054 *(__u32 *)(t + 1) = (encoding << 24) | (byte_sz * 8);
2067 int btf__add_float(struct btf *btf, const char *name, size_t byte_sz) argument
2076 /* byte_sz mus
2233 btf__add_struct(struct btf *btf, const char *name, __u32 byte_sz) global() argument
2251 btf__add_union(struct btf *btf, const char *name, __u32 byte_sz) global() argument
2326 btf_add_enum_common(struct btf *btf, const char *name, __u32 byte_sz, bool is_signed, __u8 kind) global() argument
2371 btf__add_enum(struct btf *btf, const char *name, __u32 byte_sz) global() argument
2450 btf__add_enum64(struct btf *btf, const char *name, __u32 byte_sz, bool is_signed) global() argument
2790 btf__add_datasec(struct btf *btf, const char *name, __u32 byte_sz) global() argument
2829 btf__add_datasec_var_info(struct btf *btf, int var_type_id, __u32 offset, __u32 byte_sz) global() argument
[all...]

Completed in 9 milliseconds