Lines Matching refs:sec_hdr
1113 GElf_Shdr sec_hdr; member
1733 GElf_Shdr sec_hdr; in bpf_fill_section_data() local
1742 if (gelf_getshdr(sec_fd, &sec_hdr) != &sec_hdr) in bpf_fill_section_data()
1746 sec_hdr.sh_name); in bpf_fill_section_data()
1747 if (!sec_name || !sec_hdr.sh_size) in bpf_fill_section_data()
1754 memcpy(&data->sec_hdr, &sec_hdr, sizeof(sec_hdr)); in bpf_fill_section_data()
1877 ctx->sym_num = data->sec_hdr.sh_size / data->sec_hdr.sh_entsize; in bpf_fetch_symtab()
1905 if (data.sec_hdr.sh_type == SHT_PROGBITS && in bpf_fetch_ancillary()
1908 else if (data.sec_hdr.sh_type == SHT_PROGBITS && in bpf_fetch_ancillary()
1911 else if (data.sec_hdr.sh_type == SHT_SYMTAB && in bpf_fetch_ancillary()
1914 else if (data.sec_hdr.sh_type == SHT_STRTAB && in bpf_fetch_ancillary()
1954 !(data.sec_hdr.sh_type == SHT_PROGBITS && in bpf_fetch_prog()
1955 data.sec_hdr.sh_flags & SHF_EXECINSTR && in bpf_fetch_prog()
1989 GElf_Shdr *rhdr = &data_relo->sec_hdr; in bpf_apply_relo_data()
2057 if (ret < 0 || data_relo.sec_hdr.sh_type != SHT_REL) in bpf_fetch_prog_relo()
2060 idx = data_relo.sec_hdr.sh_info; in bpf_fetch_prog_relo()
2064 !(data_insn.sec_hdr.sh_type == SHT_PROGBITS && in bpf_fetch_prog_relo()
2065 data_insn.sec_hdr.sh_flags & SHF_EXECINSTR && in bpf_fetch_prog_relo()