Home
last modified time | relevance | path

Searched refs:rel (Results 1 – 104 of 104) sorted by relevance

/linux-4.4.14/arch/um/kernel/
Ddyn.lds.S29 .rel.init : { *(.rel.init) }
31 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
33 .rel.fini : { *(.rel.fini) }
35 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) }
37 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
39 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) }
41 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) }
43 .rel.ctors : { *(.rel.ctors) }
45 .rel.dtors : { *(.rel.dtors) }
47 .rel.got : { *(.rel.got) }
[all …]
Duml.lds.S49 .rel.plt : {
50 *(.rel.plt)
52 *(.rel.iplt)
/linux-4.4.14/arch/m68k/kernel/
Dmodule.c29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local
35 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
38 + rel[i].r_offset; in apply_relocate()
42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
44 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
55 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
75 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
78 + rel[i].r_offset; in apply_relocate_add()
82 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dmodule.c106 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local
112 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
115 + rel[i].r_offset; in apply_relocate()
119 + ELF32_R_SYM(rel[i].r_info); in apply_relocate()
121 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate()
132 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
146 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
153 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
156 + rel[i].r_offset; in apply_relocate_add()
161 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
[all …]
Dmachine_kexec_64.c412 Elf64_Rela *rel; in arch_kexec_apply_relocations_add() local
423 rel = (void *)sechdrs[relsec].sh_offset; in arch_kexec_apply_relocations_add()
447 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in arch_kexec_apply_relocations_add()
459 location = (void *)(section->sh_offset + rel[i].r_offset); in arch_kexec_apply_relocations_add()
462 address = section->sh_addr + rel[i].r_offset; in arch_kexec_apply_relocations_add()
471 ELF64_R_SYM(rel[i].r_info); in arch_kexec_apply_relocations_add()
503 value += rel[i].r_addend; in arch_kexec_apply_relocations_add()
505 switch (ELF64_R_TYPE(rel[i].r_info)) { in arch_kexec_apply_relocations_add()
527 ELF64_R_TYPE(rel[i].r_info)); in arch_kexec_apply_relocations_add()
535 (int)ELF64_R_TYPE(rel[i].r_info), value); in arch_kexec_apply_relocations_add()
/linux-4.4.14/arch/mn10300/kernel/
Dmodule.c63 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
72 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
75 + rel[i].r_offset; in apply_relocate_add()
80 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
83 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
86 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
146 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
152 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/unicore32/kernel/
Dmodule.c39 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local
42 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate()
47 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
58 if (rel->r_offset < 0 || rel->r_offset > in apply_relocate()
62 module->name, relindex, i, rel->r_offset, in apply_relocate()
67 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
69 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
104 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/linux-4.4.14/arch/score/kernel/
Dmodule.c37 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local
40 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate()
45 r_offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
55 if ((rel->r_offset < 0) || in apply_relocate()
56 (rel->r_offset > dstsec->sh_size - sizeof(u32))) { in apply_relocate()
59 me->name, relindex, i, rel->r_offset, in apply_relocate()
64 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
65 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
120 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/linux-4.4.14/arch/openrisc/kernel/
Dmodule.c27 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
34 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
37 + rel[i].r_offset; in apply_relocate_add()
42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
43 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
45 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
64 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/sh/kernel/
Dmodule.c44 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
52 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
55 + rel[i].r_offset; in apply_relocate_add()
59 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
60 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
71 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
105 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/mips/include/asm/
Dmodule.h50 #define ELF_MIPS_R_SYM(rel) ELF32_R_SYM(rel.r_info) argument
51 #define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE(rel.r_info) argument
68 #define ELF_MIPS_R_SYM(rel) (rel.r_sym) argument
69 #define ELF_MIPS_R_TYPE(rel) (rel.r_type) argument
Duasm.h280 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);
281 void uasm_resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab);
282 void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, long off);
284 void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab,
286 int uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr);
/linux-4.4.14/arch/mips/mm/
Duasm.c441 void ISAFUNC(uasm_r_mips_pc16)(struct uasm_reloc **rel, u32 *addr, int lid) in ISAFUNC()
443 (*rel)->addr = addr; in ISAFUNC()
444 (*rel)->type = R_MIPS_PC16; in ISAFUNC()
445 (*rel)->lab = lid; in ISAFUNC()
446 (*rel)++; in ISAFUNC()
450 static inline void __resolve_relocs(struct uasm_reloc *rel,
453 void ISAFUNC(uasm_resolve_relocs)(struct uasm_reloc *rel, in ISAFUNC()
458 for (; rel->lab != UASM_LABEL_INVALID; rel++) in ISAFUNC()
460 if (rel->lab == l->lab) in ISAFUNC()
461 __resolve_relocs(rel, l); in ISAFUNC()
[all …]
Duasm-micromips.c209 __resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab) in __resolve_relocs() argument
212 long raddr = (long)rel->addr; in __resolve_relocs()
214 switch (rel->type) { in __resolve_relocs()
217 *rel->addr |= (build_bimm(laddr - (raddr + 4)) << 16); in __resolve_relocs()
219 *rel->addr |= build_bimm(laddr - (raddr + 4)); in __resolve_relocs()
225 rel->type); in __resolve_relocs()
Duasm-mips.c232 __resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab) in __resolve_relocs() argument
235 long raddr = (long)rel->addr; in __resolve_relocs()
237 switch (rel->type) { in __resolve_relocs()
239 *rel->addr |= build_bimm(laddr - (raddr + 4)); in __resolve_relocs()
244 rel->type); in __resolve_relocs()
/linux-4.4.14/arch/tile/kernel/
Dmodule.c129 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
136 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
139 + rel[i].r_offset; in apply_relocate_add()
145 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
146 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
148 switch (ELF_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
215 sym->st_value + rel[i].r_addend, in apply_relocate_add()
216 rel[i].r_offset, location); in apply_relocate_add()
227 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/c6x/kernel/
Dmodule.c51 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() local
61 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
64 + rel[i].r_offset - offset; in apply_relocate_add()
69 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
72 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
74 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
117 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/arm/kernel/
Dmodule-plts.c78 static int duplicate_rel(Elf32_Addr base, const Elf32_Rel *rel, int num, in duplicate_rel() argument
85 if (rel[i].r_info != rel[num].r_info) in duplicate_rel()
94 loc1 = (u32 *)(base + rel[i].r_offset); in duplicate_rel()
95 loc2 = (u32 *)(base + rel[num].r_offset); in duplicate_rel()
103 static unsigned int count_plts(Elf32_Addr base, const Elf32_Rel *rel, int num) in count_plts() argument
113 switch (ELF32_R_TYPE(rel[i].r_info)) { in count_plts()
117 if (!duplicate_rel(base, rel, i, in count_plts()
124 if (!duplicate_rel(base, rel, i, in count_plts()
Dmodule.c61 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local
64 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate()
74 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
84 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
87 rel->r_offset, dstsec->sh_size); in apply_relocate()
91 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
93 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate()
136 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
169 if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS) in apply_relocate()
240 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate()
[all …]
/linux-4.4.14/arch/x86/tools/
Drelocs.c505 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() local
506 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
507 rel->r_info = elf_xword_to_cpu(rel->r_info); in read_relocs()
509 rel->r_addend = elf_xword_to_cpu(rel->r_addend); in read_relocs()
583 Elf_Rel *rel; in print_absolute_relocs() local
586 rel = &sec->reltab[j]; in print_absolute_relocs()
587 sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in print_absolute_relocs()
618 rel->r_offset, in print_absolute_relocs()
619 rel->r_info, in print_absolute_relocs()
620 rel_type(ELF_R_TYPE(rel->r_info)), in print_absolute_relocs()
[all …]
/linux-4.4.14/tools/testing/selftests/timers/
Dnanosleep.c114 struct timespec now, target, rel; in nanosleep_test() local
130 rel.tv_sec = 0; in nanosleep_test()
131 rel.tv_nsec = 0; in nanosleep_test()
132 rel = timespec_add(rel, ns); in nanosleep_test()
134 clock_nanosleep(clockid, 0, &rel, NULL); in nanosleep_test()
/linux-4.4.14/arch/x86/realmode/
Dinit.c32 const u32 *rel; in setup_real_mode() local
50 rel = (u32 *) real_mode_relocs; in setup_real_mode()
53 count = *rel++; in setup_real_mode()
55 u16 *seg = (u16 *) (base + *rel++); in setup_real_mode()
60 count = *rel++; in setup_real_mode()
62 u32 *ptr = (u32 *) (base + *rel++); in setup_real_mode()
/linux-4.4.14/arch/mips/kernel/
Dvpe.c237 int rel; in apply_r_mips_gprel16() local
240 rel = (int)v - gp_addr; in apply_r_mips_gprel16()
244 rel = (int)(short)((int)v + gp_offs + in apply_r_mips_gprel16()
248 if ((rel > 32768) || (rel < -32768)) { in apply_r_mips_gprel16()
250 rel); in apply_r_mips_gprel16()
254 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_gprel16()
262 int rel; in apply_r_mips_pc16() local
263 rel = (((unsigned int)v - (unsigned int)location)); in apply_r_mips_pc16()
264 rel >>= 2; /* because the offset is in _instructions_ not bytes. */ in apply_r_mips_pc16()
265 rel -= 1; /* and one instruction less due to the branch delay slot. */ in apply_r_mips_pc16()
[all …]
Dmodule-rela.c111 Elf_Mips_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() local
121 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
124 + rel[i].r_offset; in apply_relocate_add()
127 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate_add()
137 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
139 res = reloc_handlers_rela[ELF_MIPS_R_TYPE(rel[i])](me, location, v); in apply_relocate_add()
Dmodule.c199 Elf_Mips_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate() local
210 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate()
213 + rel[i].r_offset; in apply_relocate()
216 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate()
228 res = reloc_handlers_rel[ELF_MIPS_R_TYPE(rel[i])](me, location, v); in apply_relocate()
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c140 intel_pt_insn->rel = insn->immediate.value; in intel_pt_insn_decoder()
143 intel_pt_insn->rel = in intel_pt_insn_decoder()
147 intel_pt_insn->rel = bswap_32(insn->immediate.value); in intel_pt_insn_decoder()
150 intel_pt_insn->rel = 0; in intel_pt_insn_decoder()
154 intel_pt_insn->rel = insn->immediate.value; in intel_pt_insn_decoder()
202 intel_pt_insn->rel > 0 ? "+" : "", in intel_pt_insn_desc()
203 intel_pt_insn->rel); in intel_pt_insn_desc()
Dintel-pt-insn-decoder.h49 int32_t rel; member
Dintel-pt-decoder.c901 intel_pt_insn->rel) { in intel_pt_walk_insn()
916 intel_pt_insn->rel; in intel_pt_walk_insn()
1117 intel_pt_insn.rel; in intel_pt_walk_tnt()
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c89 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
94 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
99 + rel[i].r_offset; in apply_relocate_add()
109 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
110 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
112 switch (ELF_R_TYPE(rel[i].r_info) & 0xff) { in apply_relocate_add()
138 (ELF_R_TYPE(rel[i].r_info) >> 8)) in apply_relocate_add()
175 (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); in apply_relocate_add()
/linux-4.4.14/arch/blackfin/kernel/
Dmodule.c156 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
163 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
166 rel[i].r_offset; in apply_relocate_add()
171 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
173 value += rel[i].r_addend; in apply_relocate_add()
178 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
184 location, value, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
186 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
204 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
209 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/arch/avr32/kernel/
Dmodule.c152 Elf32_Rela *rel = (void *)relsec->sh_addr; in apply_relocate_add() local
156 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rela); i++, rel++) { in apply_relocate_add()
163 location = (void *)dstsec->sh_addr + rel->r_offset; in apply_relocate_add()
164 sym = (Elf32_Sym *)symsec->sh_addr + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
165 relocation = sym->st_value + rel->r_addend; in apply_relocate_add()
167 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); in apply_relocate_add()
170 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
191 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add()
276 rel->r_offset, relocation); in apply_relocate_add()
285 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate_add()
Dvmlinux.lds.S71 *(.data.rel*)
/linux-4.4.14/arch/m32r/kernel/
Dmodule.c78 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
90 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
93 + rel[i].r_offset; in apply_relocate_add()
97 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
98 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
198 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dgen-insn-x86-dat.awk22 rel = 0
51 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch
55 rel = 0
71 rel = $i
Dinsn-x86.c133 if (intel_pt_insn.rel != dat->expected_rel) { in test_data_item()
135 intel_pt_insn.rel, dat->expected_rel, dat->asm_rep); in test_data_item()
/linux-4.4.14/arch/arm64/include/asm/
Datomic_ll_sc.h58 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op) \ argument
69 " st" #rel "xr %w1, %w0, %2\n" \
121 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op) \ argument
132 " st" #rel "xr %w1, %0, %2\n" \
189 #define __CMPXCHG_CASE(w, sz, name, mb, acq, rel, cl) \ argument
202 " st" #rel "xr" #sz "\t%w[tmp], %" #w "[new], %[v]\n" \
235 #define __CMPXCHG_DBL(name, mb, rel, cl) \ argument
252 " st" #rel "xp %w0, %5, %6, %2\n" \
Dcmpxchg.h33 #define __XCHG_CASE(w, sz, name, mb, nop_lse, acq, acq_lse, rel, cl) \ argument
43 " st" #rel "xr" #sz "\t%w1, %" #w "3, %2\n" \
49 " swp" #acq_lse #rel #sz "\t%" #w "3, %" #w "0, %2\n" \
/linux-4.4.14/arch/h8300/include/asm/
Dflat.h20 #define flat_get_relocate_addr(rel) (rel & ~0x00000001) argument
25 #define flat_put_addr_at_rp(rp, addr, rel) \ argument
/linux-4.4.14/arch/metag/kernel/
Dmodule.c205 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
213 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
216 + rel[i].r_offset; in apply_relocate_add()
220 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
221 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
223 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
279 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/linux-4.4.14/drivers/bluetooth/
Dhci_bcsp.c60 struct sk_buff_head rel; /* Reliable packets queue */ member
161 skb_queue_tail(&bcsp->rel, skb); in bcsp_enqueue()
183 int rel, i; in bcsp_prepare_pkt() local
188 rel = 1; /* reliable channel */ in bcsp_prepare_pkt()
192 rel = 1; /* reliable channel */ in bcsp_prepare_pkt()
196 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt()
200 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt()
204 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt()
242 if (rel) { in bcsp_prepare_pkt()
311 skb = skb_dequeue(&bcsp->rel); in bcsp_dequeue()
[all …]
Dhci_h5.c69 struct sk_buff_head rel; /* Reliable packets queue */ member
162 skb_queue_head(&h5->rel, skb); in h5_timed_event()
181 skb_queue_purge(&h5->rel); in h5_peer_reset()
206 skb_queue_head_init(&h5->rel); in h5_open()
233 skb_queue_purge(&h5->rel); in h5_close()
568 skb_queue_tail(&h5->rel, skb); in h5_enqueue()
716 skb = skb_dequeue(&h5->rel); in h5_dequeue()
727 skb_queue_head(&h5->rel, skb); in h5_dequeue()
/linux-4.4.14/arch/arm64/kernel/
Dmodule.c218 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
220 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
223 + rel[i].r_offset; in apply_relocate_add()
227 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add()
230 val = sym->st_value + rel[i].r_addend; in apply_relocate_add()
236 switch (ELF64_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
395 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add()
408 me->name, (int)ELF64_R_TYPE(rel[i].r_info), val); in apply_relocate_add()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c545 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
558 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
561 + rel[i].r_offset; in apply_relocate_add()
566 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add()
576 addend = rel[i].r_addend; in apply_relocate_add()
579 #define r(t) ELF32_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add()
596 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add()
666 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
682 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local
694 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add()
[all …]
/linux-4.4.14/arch/ia64/sn/kernel/
Dpio_phys.S47 st8.rel [r32]=r33
63 st8.rel [r32]=r33
64 (p9) st8.rel [r34]=r35
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dclk.h108 int nvkm_clk_astate(struct nvkm_clk *, int req, int rel, bool wait);
109 int nvkm_clk_dstate(struct nvkm_clk *, int req, int rel);
110 int nvkm_clk_tstate(struct nvkm_clk *, int req, int rel);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c436 nvkm_clk_astate(struct nvkm_clk *clk, int req, int rel, bool wait) in nvkm_clk_astate() argument
438 if (!rel) clk->astate = req; in nvkm_clk_astate()
439 if ( rel) clk->astate += rel; in nvkm_clk_astate()
446 nvkm_clk_tstate(struct nvkm_clk *clk, int req, int rel) in nvkm_clk_tstate() argument
448 if (!rel) clk->tstate = req; in nvkm_clk_tstate()
449 if ( rel) clk->tstate += rel; in nvkm_clk_tstate()
456 nvkm_clk_dstate(struct nvkm_clk *clk, int req, int rel) in nvkm_clk_dstate() argument
458 if (!rel) clk->dstate = req; in nvkm_clk_dstate()
459 if ( rel) clk->dstate += rel; in nvkm_clk_dstate()
/linux-4.4.14/arch/xtensa/include/asm/
Dflat.h9 #define flat_get_relocate_addr(rel) (rel) argument
/linux-4.4.14/arch/c6x/include/asm/
Dflat.h9 #define flat_get_relocate_addr(rel) (rel) argument
/linux-4.4.14/arch/m68k/include/asm/
Dflat.h13 #define flat_get_relocate_addr(rel) (rel) argument
/linux-4.4.14/arch/arm/include/asm/
Dflat.h13 #define flat_get_relocate_addr(rel) (rel) argument
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dptc_deadlock.S47 (p8) st8.rel [scr2]=scr1;;
63 st8.rel [ptc0]=data0 // Write PTC0 & wait for completion.
74 (p7) st8.rel [ptc1]=data1;; // Now write PTC1.
/linux-4.4.14/arch/microblaze/include/asm/
Dflat.h87 #define flat_get_relocate_addr(rel) (rel & 0x7fffffff) argument
/linux-4.4.14/arch/sh/include/asm/
Dflat.h20 #define flat_get_relocate_addr(rel) (rel) argument
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_debugfs.c62 int rel; in qxl_debugfs_buffers_info() local
66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
71 bo->pin_count, rel); in qxl_debugfs_buffers_info()
/linux-4.4.14/arch/arm/vdso/
Dvdso.lds.S58 .rel.plt : { *(.rel.plt) }
/linux-4.4.14/arch/x86/kernel/kprobes/
Dopt.c332 long rel; in arch_prepare_optimized_kprobe() local
345 rel = (long)op->optinsn.insn - (long)op->kp.addr + RELATIVEJUMP_SIZE; in arch_prepare_optimized_kprobe()
346 if (abs(rel) > 0x7fffffff) { in arch_prepare_optimized_kprobe()
390 s32 rel = (s32)((long)op->optinsn.insn - in arch_optimize_kprobes() local
400 *(s32 *)(&insn_buf[1]) = rel; in arch_optimize_kprobes()
/linux-4.4.14/samples/bpf/
Dbpf_load.c202 GElf_Rel rel; in parse_relo_and_apply() local
205 gelf_getrel(data, i, &rel); in parse_relo_and_apply()
207 insn_idx = rel.r_offset / sizeof(struct bpf_insn); in parse_relo_and_apply()
209 gelf_getsym(symbols, GELF_R_SYM(rel.r_info), &sym); in parse_relo_and_apply()
/linux-4.4.14/scripts/
Drecordmcount.h396 Elf_Rel rel; in nop_mcount() local
397 rel = *(Elf_Rel *)relp; in nop_mcount()
398 Elf_r_info(&rel, Elf_r_sym(relp), rel_type_nop); in nop_mcount()
400 uwrite(fd_map, &rel, sizeof(rel)); in nop_mcount()
/linux-4.4.14/sound/core/seq/
Dseq_prioq.c185 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() local
186 if (rel < 0) in snd_seq_prioq_cell_in()
189 else if (rel == 0 && prior) in snd_seq_prioq_cell_in()
/linux-4.4.14/arch/ia64/include/asm/
Dspinlock.h187 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
198 ia64_fetchadd(-1, (int *) __read_lock_ptr, rel); \
/linux-4.4.14/kernel/gcov/
Dfs.c332 const char *rel; in get_link_target() local
336 rel = filename + strlen(objtree) + 1; in get_link_target()
338 result = link_target(srctree, rel, ext->ext); in get_link_target()
340 result = link_target(objtree, rel, ext->ext); in get_link_target()
/linux-4.4.14/drivers/scsi/libfc/
Dfc_exch.c1032 goto rel; in fc_seq_lookup_recip()
1056 goto rel; in fc_seq_lookup_recip()
1106 goto rel; in fc_seq_lookup_recip()
1119 rel: in fc_seq_lookup_recip()
1539 goto rel; in fc_exch_recv_seq_resp()
1545 goto rel; in fc_exch_recv_seq_resp()
1550 goto rel; in fc_exch_recv_seq_resp()
1559 goto rel; in fc_exch_recv_seq_resp()
1602 rel: in fc_exch_recv_seq_resp()
1974 goto rel; in fc_exch_els_rec()
[all …]
/linux-4.4.14/arch/ia64/kernel/
Dkprobes.c84 s64 rel = ((s64) to - (s64) from) >> 4; in set_brl_inst() local
89 brl->quad0.slot1_p0 = ((rel >> 20) & 0x7fffffffff) << 2; in set_brl_inst()
90 brl->quad1.slot1_p1 = (((rel >> 20) & 0x7fffffffff) << 2) >> (64 - 46); in set_brl_inst()
92 brl->quad1.slot2 = BRL_INST(rel >> 59, rel & 0xfffff); in set_brl_inst()
Dfsys.S234 .pred.rel.mutex p8,p9
249 (p7) cmpxchg8.rel r3 = [r19],r2,ar.ccv
Dminstate.h246 .pred.rel "mutex", pKStk, pUStk
Dentry.S704 .pred.rel.mutex pUStk,pKStk
848 .pred.rel.mutex pUStk,pKStk
941 .pred.rel.mutex pUStk,pKStk
Divt.S142 .pred.rel "mutex", p6, p7
472 .pred.rel "mutex", p6, p7
Dhead.S383 .pred.rel.mutex isBP,isAP
/linux-4.4.14/arch/s390/net/
Dbpf_jit_comp.c226 int rel = (jit->labels[label] - jit->prg) >> 1; \
227 _EMIT6(op1 | reg(b1, b2) << 16 | (rel & 0xffff), \
235 int rel = (jit->labels[label] - jit->prg) >> 1; \
237 (rel & 0xffff), op2 | (imm & 0xff) << 8); \
245 int rel = (addrs[i + off + 1] - (addrs[i + 1] - 6)) / 2;\
246 _EMIT6(op1 | reg(b1, b2) << 16 | (rel & 0xffff), op2 | mask); \
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c418 struct vmw_resource_relocation *rel; in vmw_resource_relocation_add() local
420 rel = kmalloc(sizeof(*rel), GFP_KERNEL); in vmw_resource_relocation_add()
421 if (unlikely(rel == NULL)) { in vmw_resource_relocation_add()
426 rel->res = res; in vmw_resource_relocation_add()
427 rel->offset = offset; in vmw_resource_relocation_add()
428 list_add_tail(&rel->head, list); in vmw_resource_relocation_add()
440 struct vmw_resource_relocation *rel, *n; in vmw_resource_relocations_free() local
442 list_for_each_entry_safe(rel, n, list, head) { in vmw_resource_relocations_free()
443 list_del(&rel->head); in vmw_resource_relocations_free()
444 kfree(rel); in vmw_resource_relocations_free()
[all …]
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dcmpxchg.h117 ia64_cmpxchg(rel, (ptr), (o), (n), sizeof(*(ptr)))
Dintrinsics.h83 #define ia64_fetch_and_add(i,v) (ia64_fetchadd(i, v, rel) + (i)) /* return new value */
/linux-4.4.14/tools/lib/bpf/
Dlibbpf.c627 GElf_Rel rel; in bpf_program__collect_reloc() local
632 if (!gelf_getrel(data, i, &rel)) { in bpf_program__collect_reloc()
637 insn_idx = rel.r_offset / sizeof(struct bpf_insn); in bpf_program__collect_reloc()
641 GELF_R_SYM(rel.r_info), in bpf_program__collect_reloc()
644 GELF_R_SYM(rel.r_info)); in bpf_program__collect_reloc()
/linux-4.4.14/scripts/mod/
Dmodpost.c1828 Elf_Rel *rel; in section_rel() local
1842 for (rel = start; rel < stop; rel++) { in section_rel()
1843 r.r_offset = TO_NATIVE(rel->r_offset); in section_rel()
1847 r_sym = ELF64_MIPS_R_SYM(rel->r_info); in section_rel()
1849 r_typ = ELF64_MIPS_R_TYPE(rel->r_info); in section_rel()
1852 r.r_info = TO_NATIVE(rel->r_info); in section_rel()
1856 r.r_info = TO_NATIVE(rel->r_info); in section_rel()
1878 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
/linux-4.4.14/arch/ia64/lib/
Dcopy_user.S172 .pred.rel "mutex", p14, p15
209 .pred.rel "mutex", p14, p15
286 .pred.rel "mutex", p14, p15
Dclear_user.S197 .pred.rel "mutex", p6, p7
Dmemset.S322 .pred.rel "mutex",p_y, p_n
323 .pred.rel "mutex",p_yy, p_nn
/linux-4.4.14/drivers/net/wan/
Dhdlc_cisco.c46 __be16 rel; /* reliability */ member
116 data->rel = cpu_to_be16(0xFFFF); in cisco_keepalive_send()
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv_common.c1340 goto rel; in fm_power_up()
1347 goto rel; in fm_power_up()
1351 goto rel; in fm_power_up()
1362 goto rel; in fm_power_up()
1371 goto rel; in fm_power_up()
1374 rel: in fm_power_up()
/linux-4.4.14/fs/ceph/
Dcaps.c3671 struct ceph_mds_request_release *rel = *p; in ceph_encode_inode_release() local
3712 rel->ino = cpu_to_le64(ceph_ino(inode)); in ceph_encode_inode_release()
3713 rel->cap_id = cpu_to_le64(cap->cap_id); in ceph_encode_inode_release()
3714 rel->seq = cpu_to_le32(cap->seq); in ceph_encode_inode_release()
3715 rel->issue_seq = cpu_to_le32(cap->issue_seq); in ceph_encode_inode_release()
3716 rel->mseq = cpu_to_le32(cap->mseq); in ceph_encode_inode_release()
3717 rel->caps = cpu_to_le32(cap->implemented); in ceph_encode_inode_release()
3718 rel->wanted = cpu_to_le32(cap->mds_wanted); in ceph_encode_inode_release()
3719 rel->dname_len = 0; in ceph_encode_inode_release()
3720 rel->dname_seq = 0; in ceph_encode_inode_release()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dvmlinux.lds.S213 *(.data.rel*)
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dpxa27x-keypad.txt32 - marvell,rotary-rel-key : When rotary is used for relative axes
/linux-4.4.14/include/linux/
Disdnif.h268 __u8 rel; member
/linux-4.4.14/tools/perf/util/
Ddso.h163 u8 rel; member
Dintel-pt.c304 int32_t rel; member
389 e->rel = intel_pt_insn->rel; in intel_pt_cache_add()
467 intel_pt_insn->rel = e->rel; in intel_pt_walk_next_insn()
Dmap.c431 if (map->dso->rel) in map__rip_2objdump()
454 if (map->dso->rel) in map__objdump_2mem()
Ddso.c1057 dso->rel = 0; in dso__new()
Dsymbol-elf.c807 dso->rel = syms_ss->ehdr.e_type == ET_REL; in dso__load_sym()
/linux-4.4.14/Documentation/isdn/
DINTERFACE.fax152 - rel
/linux-4.4.14/drivers/scsi/cxlflash/
Dsuperpipe.c828 struct dk_cxlflash_release rel; in _cxlflash_disk_detach() local
853 marshal_det_to_rele(detach, &rel); in _cxlflash_disk_detach()
856 rel.rsrc_handle = i; in _cxlflash_disk_detach()
857 _cxlflash_disk_release(sdev, ctxi, &rel); in _cxlflash_disk_detach()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_ttyfax.c1060 sprintf(rs, "\r\n%d", f->rel); in isdn_tty_cmd_FCLASS2()
1073 f->rel = par; in isdn_tty_cmd_FCLASS2()
Disdn_tty.c1701 f->rel = 0; in isdn_tty_modem_reset_faxpar()
/linux-4.4.14/arch/ia64/mm/
Dtlb.c133 ia64_fetchadd(1, &ss->serve, rel); in up_spin()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsiena_sriov.c1540 unsigned int rel; in efx_siena_sriov_desc_fetch_err() local
1542 if (map_vi_index(efx, dmaq, &vf, &rel)) in efx_siena_sriov_desc_fetch_err()
1548 vf->index, rel); in efx_siena_sriov_desc_fetch_err()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164.h239 u32 rel; member
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_ctrl.c397 __s8 rel = (__s8)data[first]; in uvc_ctrl_get_rel_speed() local
401 return (rel == 0) ? 0 : (rel > 0 ? data[first+1] in uvc_ctrl_get_rel_speed()
/linux-4.4.14/Documentation/
Dkasan.txt79 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5-0-ge51488c-20140602_164612-ni…
Dmemory-barriers.txt2908 and st.rel instructions (respectively) that prevent such reordering.
/linux-4.4.14/mm/
Dmempolicy.c171 const nodemask_t *rel) in mpol_relative_nodemask() argument
174 nodes_fold(tmp, *orig, nodes_weight(*rel)); in mpol_relative_nodemask()
175 nodes_onto(*ret, tmp, *rel); in mpol_relative_nodemask()
/linux-4.4.14/drivers/input/
Dinput.c1478 INPUT_DEV_CAP_ATTR(REL, rel);
2006 INPUT_CLEANSE_BITMASK(dev, REL, rel); in input_cleanse_bitmasks()
/linux-4.4.14/Documentation/filesystems/caching/
Dfscache.txt289 rel=N Number of async ops released (should equal ini=N when idle)
/linux-4.4.14/arch/x86/kvm/
Demulate.c763 static inline int jmp_rel(struct x86_emulate_ctxt *ctxt, int rel) in jmp_rel() argument
765 return assign_eip_near(ctxt, ctxt->_eip + rel); in jmp_rel()
3352 long rel = ctxt->src.val; in em_call() local
3355 rc = jmp_rel(ctxt, rel); in em_call()
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c29 #define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq)) argument
/linux-4.4.14/drivers/tty/
Dsynclinkmp.c28 #define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq)) argument