Lines Matching refs:sec
51 struct section *sec; member
73 struct section *sec; member
108 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() argument
110 u32 ol, oh, idx = sec->idx; in sec_offset_hash()
124 return sec_offset_hash(reloc->sec, reloc->offset); in reloc_hash()
130 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset,
132 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec,
136 int elf_write_insn(struct elf *elf, struct section *sec,
144 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
145 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
147 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset);
148 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset);
149 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec,
151 struct symbol *find_func_containing(struct section *sec, unsigned long offset);
153 #define for_each_sec(file, sec) \ argument
154 list_for_each_entry(sec, &file->elf->sections, list)