Lines Matching refs:str_off
298 int err, str_off; in init_output_elf() local
362 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
363 if (str_off < 0) in init_output_elf()
364 return str_off; in init_output_elf()
370 sec->shdr->sh_name = str_off; in init_output_elf()
401 str_off = strset__add_str(linker->strtab_strs, sec->sec_name); in init_output_elf()
402 if (str_off < 0) in init_output_elf()
403 return str_off; in init_output_elf()
408 sec->shdr->sh_name = str_off; in init_output_elf()
931 static int check_btf_str_off(__u32 *str_off, void *ctx) in check_btf_str_off() argument
936 s = btf__str_by_offset(btf, *str_off); in check_btf_str_off()
2437 int rec_sz, str_off, i; in linker_append_btf_ext() local
2498 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2499 if (str_off < 0) in linker_append_btf_ext()
2501 dst_rec->file_name_off = str_off; in linker_append_btf_ext()
2504 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2505 if (str_off < 0) in linker_append_btf_ext()
2507 dst_rec->line_off = str_off; in linker_append_btf_ext()
2541 str_off = btf__add_str(linker->btf, s); in linker_append_btf_ext()
2542 if (str_off < 0) in linker_append_btf_ext()
2544 dst_rec->access_str_off = str_off; in linker_append_btf_ext()
2732 int str_off; in emit_btf_ext_data() local
2738 str_off = btf__add_str(linker->btf, sec_name); in emit_btf_ext_data()
2739 if (str_off < 0) in emit_btf_ext_data()
2743 sec_info->sec_name_off = str_off; in emit_btf_ext_data()