Lines Matching refs:str_off

361 	int err, str_off;  in init_output_elf()  local
409 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
410 if (str_off < 0) in init_output_elf()
411 return str_off; in init_output_elf()
417 sec->shdr->sh_name = str_off; in init_output_elf()
450 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
451 if (str_off < 0) in init_output_elf()
452 return str_off; in init_output_elf()
457 sec->shdr->sh_name = str_off; in init_output_elf()
1073 static int check_btf_str_off(__u32 *str_off, void *ctx) in check_btf_str_off() argument
1078 s = btf__str_by_offset(btf, *str_off); in check_btf_str_off()
1097 __u32 *type_id, *str_off; in linker_sanity_check_btf() local
1112 while ((str_off = btf_field_iter_next(&it))) { in linker_sanity_check_btf()
1113 if (!btf__str_by_offset(obj->btf, *str_off)) in linker_sanity_check_btf()
2636 int rec_sz, str_off, i; in linker_append_btf_ext() local
2697 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2698 if (str_off < 0) in linker_append_btf_ext()
2700 dst_rec->file_name_off = str_off; in linker_append_btf_ext()
2703 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2704 if (str_off < 0) in linker_append_btf_ext()
2706 dst_rec->line_off = str_off; in linker_append_btf_ext()
2740 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2741 if (str_off < 0) in linker_append_btf_ext()
2743 dst_rec->access_str_off = str_off; in linker_append_btf_ext()
2946 int str_off; in emit_btf_ext_data() local
2952 str_off = btf__add_str(linker->btf, sec_name); in emit_btf_ext_data()
2953 if (str_off < 0) in emit_btf_ext_data()
2957 sec_info->sec_name_off = str_off; in emit_btf_ext_data()