Lines Matching refs:sz

272 	__s64 sz;  in bpf_core_parse_spec()  local
329 sz = btf__resolve_size(btf, id); in bpf_core_parse_spec()
330 if (sz < 0) in bpf_core_parse_spec()
331 return sz; in bpf_core_parse_spec()
332 spec->bit_offset = access_idx * sz * 8; in bpf_core_parse_spec()
381 sz = btf__resolve_size(btf, id); in bpf_core_parse_spec()
382 if (sz < 0) in bpf_core_parse_spec()
383 return sz; in bpf_core_parse_spec()
384 spec->bit_offset += access_idx * sz * 8; in bpf_core_parse_spec()
564 int i, sz, matched; in bpf_core_spec_match() local
668 sz = btf__resolve_size(targ_btf, targ_id); in bpf_core_spec_match()
669 if (sz < 0) in bpf_core_spec_match()
670 return sz; in bpf_core_spec_match()
671 targ_spec->bit_offset += local_acc->idx * sz * 8; in bpf_core_spec_match()
690 __s64 sz; in bpf_core_calc_field_relo() local
710 sz = btf__resolve_size(spec->btf, acc->type_id); in bpf_core_calc_field_relo()
711 if (sz < 0) in bpf_core_calc_field_relo()
713 *field_sz = sz; in bpf_core_calc_field_relo()
716 sz = btf__resolve_size(spec->btf, acc->type_id); in bpf_core_calc_field_relo()
717 if (sz < 0) in bpf_core_calc_field_relo()
719 *val = sz; in bpf_core_calc_field_relo()
751 sz = btf__resolve_size(spec->btf, field_type_id); in bpf_core_calc_field_relo()
752 if (sz < 0) in bpf_core_calc_field_relo()
754 byte_sz = sz; in bpf_core_calc_field_relo()
807 __s64 sz; in bpf_core_calc_type_relo() local
833 sz = btf__resolve_size(spec->btf, spec->root_type_id); in bpf_core_calc_type_relo()
834 if (sz < 0) in bpf_core_calc_type_relo()
836 *val = sz; in bpf_core_calc_type_relo()
996 static int insn_bytes_to_bpf_size(__u32 sz) in insn_bytes_to_bpf_size() argument
998 switch (sz) { in insn_bytes_to_bpf_size()