Lines Matching refs:shdr
605 Elf64_Shdr *shdr; member
3263 Elf64_Shdr *shdr; in elf_sec_hdr() local
3268 shdr = elf64_getshdr(scn); in elf_sec_hdr()
3269 if (!shdr) { in elf_sec_hdr()
3275 return shdr; in elf_sec_hdr()
3503 sec_desc->shdr = sh; in bpf_object__elf_collect()
3508 sec_desc->shdr = sh; in bpf_object__elf_collect()
3539 sec_desc->shdr = sh; in bpf_object__elf_collect()
3544 sec_desc->shdr = sh; in bpf_object__elf_collect()
4236 bpf_object__collect_prog_relos(struct bpf_object *obj, Elf64_Shdr *shdr, Elf_Data *data) in bpf_object__collect_prog_relos() argument
4239 size_t sec_idx = shdr->sh_info, sym_idx; in bpf_object__collect_prog_relos()
4258 relo_sec_name = elf_sec_str(obj, shdr->sh_name); in bpf_object__collect_prog_relos()
4265 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_prog_relos()
6597 Elf64_Shdr *shdr, Elf_Data *data);
6600 Elf64_Shdr *shdr, Elf_Data *data) in bpf_object__collect_map_relos() argument
6622 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_map_relos()
6742 Elf64_Shdr *shdr; in bpf_object__collect_relos() local
6749 shdr = sec_desc->shdr; in bpf_object__collect_relos()
6751 idx = shdr->sh_info; in bpf_object__collect_relos()
6753 if (shdr->sh_type != SHT_REL) { in bpf_object__collect_relos()
6759 err = bpf_object__collect_st_ops_relos(obj, shdr, data); in bpf_object__collect_relos()
6761 err = bpf_object__collect_map_relos(obj, shdr, data); in bpf_object__collect_relos()
6763 err = bpf_object__collect_prog_relos(obj, shdr, data); in bpf_object__collect_relos()
9126 Elf64_Shdr *shdr, Elf_Data *data) in bpf_object__collect_st_ops_relos() argument
9142 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_st_ops_relos()
9158 map = find_struct_ops_map_by_offset(obj, shdr->sh_info, rel->r_offset); in bpf_object__collect_st_ops_relos()