Searched refs:rel (Results 1 - 25 of 34) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/kern/x86_64/
H A Ddl.c75 Elf64_Rela *rel, *max; local
77 for (rel = (Elf64_Rela *) ((char *) e + s->sh_offset),
78 max = rel + s->sh_size / s->sh_entsize;
79 rel < max;
80 rel++)
86 if (seg->size < rel->r_offset)
90 addr32 = (Elf64_Word *) ((char *) seg->addr + rel->r_offset);
93 + entsize * ELF_R_SYM (rel->r_info));
95 switch (ELF_R_TYPE (rel->r_info))
98 *addr64 += rel
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/i386/
H A Dloadcore32.c68 Elf32_Rel *rel, *max; local
70 for (rel = (Elf32_Rel *) ((char *) e + s->sh_offset),
71 max = rel + s->sh_size / s->sh_entsize;
72 rel < max;
73 rel++)
77 if (seg->size < rel->r_offset)
83 + seg->off + rel->r_offset);
84 sym = elfsyms[ELF32_R_SYM (rel->r_info)];
86 switch (ELF32_R_TYPE (rel->r_info))
98 (addr, sym.off + *addr - rel
[all...]
H A Dloadcore64.c64 Elf64_Rela *rel, *max; local
66 for (rel = (Elf64_Rela *) ((char *) e + s->sh_offset),
67 max = rel + (unsigned long) s->sh_size
69 rel < max;
70 rel++)
76 if (seg->size < rel->r_offset)
82 + seg->off + rel->r_offset);
85 sym = elfsyms[ELF64_R_SYM (rel->r_info)];
87 switch (ELF64_R_TYPE (rel->r_info))
91 (addr, *addr64 + rel
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/
H A Ddl.c75 Elf_Rel *rel, *max; local
77 for (rel = (Elf_Rel *) ((char *) e + s->sh_offset),
78 max = rel + s->sh_size / s->sh_entsize;
79 rel < max;
80 rel++)
85 if (seg->size < rel->r_offset)
89 addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset);
91 + entsize * ELF_R_SYM (rel->r_info));
93 switch (ELF_R_TYPE (rel->r_info))
101 - rel
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/sparc64/
H A Ddl.c76 Elf_Rela *rel, *max; local
78 for (rel = (Elf_Rela *) ((char *) e + s->sh_offset),
79 max = rel + s->sh_size / s->sh_entsize;
80 rel < max;
81 rel++)
87 if (seg->size < rel->r_offset)
91 addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset);
93 + entsize * ELF_R_SYM (rel->r_info));
95 value = sym->st_value + rel->r_addend;
96 switch (ELF_R_TYPE (rel
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/powerpc/
H A Ddl.c66 const Elf_Rela *rel, *max; local
68 for (rel = (const Elf_Rela *) ((const char *) e + s->sh_offset),
69 max = rel + s->sh_size / s->sh_entsize;
70 rel < max;
71 rel++)
72 if (ELF_R_TYPE (rel->r_info) == R_PPC_REL24)
133 Elf_Rela *rel, *max; local
135 for (rel = (Elf_Rela *) ((char *) e + s->sh_offset),
136 max = rel + s->sh_size / s->sh_entsize;
137 rel < ma
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/ia64/
H A Ddl_helper.c50 Elf64_Rela *rel, *max; local
52 for (rel = (Elf64_Rela *) ((char *) e + grub_le_to_cpu32 (s->sh_offset)),
53 max = rel + grub_le_to_cpu32 (s->sh_size) / grub_le_to_cpu16 (s->sh_entsize);
54 rel < max; rel++)
55 switch (ELF64_R_TYPE (grub_le_to_cpu32 (rel->r_info)))
H A Ddl.c202 Elf_Rela *rel, *max; local
204 for (rel = (Elf_Rela *) ((char *) e + s->sh_offset),
205 max = rel + s->sh_size / s->sh_entsize;
206 rel < max;
207 rel++)
213 if (seg->size < (rel->r_offset & ~3))
217 addr = (grub_addr_t) seg->addr + rel->r_offset;
219 + entsize * ELF_R_SYM (rel->r_info));
223 value = sym->st_value + rel->r_addend;
225 switch (ELF_R_TYPE (rel
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Drelocator.h34 grub_relocator_alloc_chunk_addr (struct grub_relocator *rel,
44 grub_relocator_alloc_chunk_align (struct grub_relocator *rel,
56 grub_relocator_unload (struct grub_relocator *rel);
H A Drelocator_private.h34 grub_relocator_prepare_relocs (struct grub_relocator *rel,
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/
H A Ddl.c102 Elf_Rel *rel, *max; local
104 for (rel = (Elf_Rel *) ((char *) e + s->sh_offset),
105 max = rel + s->sh_size / s->sh_entsize;
106 rel < max;
107 rel++)
108 switch (ELF_R_TYPE (rel->r_info))
140 Elf_Rel *rel, *max; local
142 for (rel = (Elf_Rel *) ((char *) e + s->sh_offset),
143 max = rel + s->sh_size / s->sh_entsize;
144 rel < ma
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/
H A Dntldr.c40 static struct grub_relocator *rel; variable in typeref:struct:grub_relocator
62 return grub_relocator16_boot (rel, state);
68 grub_relocator_unload (rel);
69 rel = NULL;
89 rel = grub_relocator_new ();
90 if (!rel)
99 err = grub_relocator_alloc_chunk_addr (rel, &ch, 0x7C00,
126 err = grub_relocator_alloc_chunk_addr (rel, &ch, GRUB_NTLDR_SEGMENT << 4,
H A Dfreedos.c39 static struct grub_relocator *rel; variable in typeref:struct:grub_relocator
64 return grub_relocator16_boot (rel, state);
70 grub_relocator_unload (rel);
71 rel = NULL;
90 rel = grub_relocator_new ();
91 if (!rel)
103 err = grub_relocator_alloc_chunk_addr (rel, &ch, GRUB_FREEDOS_SEGMENT << 4,
H A Dchainloader.c48 static struct grub_relocator *rel; variable in typeref:struct:grub_relocator
74 return grub_relocator16_boot (rel, state);
80 grub_relocator_unload (rel);
81 rel = NULL;
153 rel = grub_relocator_new ();
154 if (!rel)
168 err = grub_relocator_alloc_chunk_addr (rel, &ch, 0x7C00,
173 err = grub_relocator_alloc_chunk_addr (rel, &ch,
H A Dplan9.c40 static struct grub_relocator *rel; variable in typeref:struct:grub_relocator
87 return grub_relocator32_boot (rel, state);
93 grub_relocator_unload (rel);
94 rel = NULL;
348 rel = grub_relocator_new ();
349 if (!rel)
420 err = grub_relocator_alloc_chunk_addr (rel, &ch, GRUB_PLAN9_CONFIG_ADDR,
451 err = grub_relocator_alloc_chunk_addr (rel, &ch, GRUB_PLAN9_TARGET,
/osnet-11/usr/src/grub/grub2/include/grub/mips/
H A Drelocator.h35 grub_relocator32_boot (struct grub_relocator *rel,
/osnet-11/usr/src/grub/grub2/include/grub/powerpc/
H A Drelocator.h34 grub_relocator32_boot (struct grub_relocator *rel,
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathprog.c108 char* rel; local
111 if ((n = prog(command, path, size)) > 0 && n < size && *path != '/' && (rel = strdup(path)))
113 n = pathpath(rel, NiL, PATH_REGULAR|PATH_EXECUTE, path, size) ? strlen(path) : 0;
114 free(rel);
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/
H A DMakefile.PL47 my $rel = qx{uname -r}; chomp($rel);
68 print(STDERR "Warning: No config file for OS version $rel, " .
70 $rel = $old_rel;
71 $configpm = "config/$pver/$rel/$arch/Config.pm";
74 "$pver/$rel/$arch\n");
/osnet-11/usr/src/grub/grub2/include/grub/i386/
H A Drelocator.h67 grub_err_t grub_relocator16_boot (struct grub_relocator *rel,
70 grub_err_t grub_relocator32_boot (struct grub_relocator *rel,
73 grub_err_t grub_relocator64_boot (struct grub_relocator *rel,
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Drelocator.c416 malloc_in_range (struct grub_relocator *rel, argument
460 if (collisioncheck && rel)
463 for (chunk = rel->chunks; chunk; chunk = chunk->next)
511 if (collisioncheck && rel)
514 for (chunk = rel->chunks; chunk; chunk = chunk->next)
1177 adjust_limits (struct grub_relocator *rel, argument
1184 *max_addr = rel->postchunks;
1187 for (chunk = rel->chunks; chunk; chunk = chunk->next)
1190 && chunk->src < rel->postchunks)
1194 && chunk->src < rel
1200 grub_relocator_alloc_chunk_addr(struct grub_relocator *rel, grub_relocator_chunk_t *out, grub_phys_addr_t target, grub_size_t size) argument
1305 grub_relocator_alloc_chunk_align(struct grub_relocator *rel, grub_relocator_chunk_t *out, grub_phys_addr_t min_addr, grub_phys_addr_t max_addr, grub_size_t size, grub_size_t align, int preference) argument
1448 grub_relocator_unload(struct grub_relocator *rel) argument
1467 grub_relocator_prepare_relocs(struct grub_relocator *rel, grub_addr_t addr, void **relstart, grub_size_t *relsize) argument
[all...]
/osnet-11/usr/src/lib/libdll/common/
H A Ddllplug.c36 dllplugin(const char* lib, const char* name, const char* ver, unsigned long rel, unsigned long* cur, int flags, char* path, size_t size) argument
57 if (!dllcheck(dll, dle->path, rel, cur))
111 if (!dllcheck(dll, name, rel, cur))
/osnet-11/usr/src/grub/grub2/grub-core/lib/i386/
H A Drelocator.c154 grub_relocator32_boot (struct grub_relocator *rel, argument
161 err = grub_relocator_alloc_chunk_align (rel, &ch, 0,
181 err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch),
194 grub_relocator16_boot (struct grub_relocator *rel, argument
202 err = grub_relocator_alloc_chunk_align (rel, &ch, 0x8010,
229 err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch),
242 grub_relocator64_boot (struct grub_relocator *rel, argument
250 err = grub_relocator_alloc_chunk_align (rel, &ch, min_addr,
269 err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch),
/osnet-11/usr/src/grub/grub2/grub-core/lib/powerpc/
H A Drelocator.c107 grub_relocator32_boot (struct grub_relocator *rel, argument
118 err = grub_relocator_alloc_chunk_align (rel, &ch, 0,
131 err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch),
/osnet-11/usr/src/grub/grub2/grub-core/lib/mips/
H A Drelocator.c111 grub_relocator32_boot (struct grub_relocator *rel, argument
123 err = grub_relocator_alloc_chunk_align (rel, &ch, 0,
139 err = grub_relocator_prepare_relocs (rel, vtarget, &relst, &relsize);

Completed in 294 milliseconds

12