Lines Matching refs:sec
51 struct section *sec; member
69 struct section *sec; member
104 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() argument
106 u32 ol, oh, idx = sec->idx; in sec_offset_hash()
120 return sec_offset_hash(reloc->sec, reloc->offset); in reloc_hash()
127 int elf_write_insn(struct elf *elf, struct section *sec,
135 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
136 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
138 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset);
139 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset);
140 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec,
142 struct symbol *find_func_containing(struct section *sec, unsigned long offset);
143 int elf_rebuild_reloc_section(struct elf *elf, struct section *sec);
145 #define for_each_sec(file, sec) \ argument
146 list_for_each_entry(sec, &file->elf->sections, list)