Lines Matching refs:str_off

297 	int err, str_off;  in init_output_elf()  local
361 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
362 if (str_off < 0) in init_output_elf()
363 return str_off; in init_output_elf()
369 sec->shdr->sh_name = str_off; in init_output_elf()
400 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
401 if (str_off < 0) in init_output_elf()
402 return str_off; in init_output_elf()
407 sec->shdr->sh_name = str_off; in init_output_elf()
944 static int check_btf_str_off(__u32 *str_off, void *ctx) in check_btf_str_off() argument
949 s = btf__str_by_offset(btf, *str_off); in check_btf_str_off()
968 __u32 *type_id, *str_off; in linker_sanity_check_btf() local
983 while ((str_off = btf_field_iter_next(&it))) { in linker_sanity_check_btf()
984 if (!btf__str_by_offset(obj->btf, *str_off)) in linker_sanity_check_btf()
2478 int rec_sz, str_off, i; in linker_append_btf_ext() local
2539 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2540 if (str_off < 0) in linker_append_btf_ext()
2542 dst_rec->file_name_off = str_off; in linker_append_btf_ext()
2545 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2546 if (str_off < 0) in linker_append_btf_ext()
2548 dst_rec->line_off = str_off; in linker_append_btf_ext()
2582 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2583 if (str_off < 0) in linker_append_btf_ext()
2585 dst_rec->access_str_off = str_off; in linker_append_btf_ext()
2775 int str_off; in emit_btf_ext_data() local
2781 str_off = btf__add_str(linker->btf, sec_name); in emit_btf_ext_data()
2782 if (str_off < 0) in emit_btf_ext_data()
2786 sec_info->sec_name_off = str_off; in emit_btf_ext_data()