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()
925 static int check_btf_str_off(__u32 *str_off, void *ctx) in check_btf_str_off() argument
930 s = btf__str_by_offset(btf, *str_off); in check_btf_str_off()
2433 int rec_sz, str_off, i; in linker_append_btf_ext() local
2494 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2495 if (str_off < 0) in linker_append_btf_ext()
2497 dst_rec->file_name_off = str_off; in linker_append_btf_ext()
2500 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2501 if (str_off < 0) in linker_append_btf_ext()
2503 dst_rec->line_off = str_off; in linker_append_btf_ext()
2537 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2538 if (str_off < 0) in linker_append_btf_ext()
2540 dst_rec->access_str_off = str_off; in linker_append_btf_ext()
2730 int str_off; in emit_btf_ext_data() local
2736 str_off = btf__add_str(linker->btf, sec_name); in emit_btf_ext_data()
2737 if (str_off < 0) in emit_btf_ext_data()
2741 sec_info->sec_name_off = str_off; in emit_btf_ext_data()