| /src/sys/arch/sparc/include/ |
| elf_support.h | 38 unsigned int *where = (unsigned int *)where_; local 40 unsigned long offset = value - (unsigned long)where; 46 where[0] = BAA | ((offset >> 2) & 0x3fffff); 47 __asm volatile("iflush %0+0" : : "r" (where)); 57 where[1] = JMP | LOVAL(value, 0); 58 __asm volatile("iflush %0+4" : : "r" (where)); 59 where[0] = SETHI | HIVAL(value, 10); 60 __asm volatile("iflush %0+0" : : "r" (where));
|
| elf_support.h | 38 unsigned int *where = (unsigned int *)where_; local 40 unsigned long offset = value - (unsigned long)where; 46 where[0] = BAA | ((offset >> 2) & 0x3fffff); 47 __asm volatile("iflush %0+0" : : "r" (where)); 57 where[1] = JMP | LOVAL(value, 0); 58 __asm volatile("iflush %0+4" : : "r" (where)); 59 where[0] = SETHI | HIVAL(value, 10); 60 __asm volatile("iflush %0+0" : : "r" (where));
|
| /src/sys/arch/vax/vax/ |
| kobj_machdep.c | 49 Elf_Addr *where = (Elf_Addr *)(relocbase + rela->r_offset); local 72 addr -= (Elf_Addr)where + 4; 74 *where = addr;
|
| kobj_machdep.c | 49 Elf_Addr *where = (Elf_Addr *)(relocbase + rela->r_offset); local 72 addr -= (Elf_Addr)where + 4; 74 *where = addr;
|
| /src/games/monop/ |
| print.c | 64 * This routine lists where each player is. 67 where(void) function
|
| print.c | 64 * This routine lists where each player is. 67 where(void) function
|
| /src/lib/libkvm/ |
| kvm_file.c | 87 char *where = kd->argspc; local 98 where += sizeof(fhead); 107 ((struct file *)(void *)where))) { 112 fp = (struct file *)(void *)where; 113 where += sizeof(struct file);
|
| kvm_file.c | 87 char *where = kd->argspc; local 98 where += sizeof(fhead); 107 ((struct file *)(void *)where))) { 112 fp = (struct file *)(void *)where; 113 where += sizeof(struct file);
|
| /src/sys/arch/alpha/alpha/ |
| kobj_machdep.c | 69 Elf_Addr *where; local 79 where = (Elf_Addr *) (relocbase + rela->r_offset); 85 where = (Elf_Addr *) (relocbase + rel->r_offset); 86 addend = *where; 106 if (*where != addr) 107 *where = addr; 115 if (*where != addr) 116 *where = addr; 124 if (*where != addr) 125 *where = addr [all...] |
| kobj_machdep.c | 69 Elf_Addr *where; local 79 where = (Elf_Addr *) (relocbase + rela->r_offset); 85 where = (Elf_Addr *) (relocbase + rel->r_offset); 86 addend = *where; 106 if (*where != addr) 107 *where = addr; 115 if (*where != addr) 116 *where = addr; 124 if (*where != addr) 125 *where = addr [all...] |
| /src/sys/arch/amd64/amd64/ |
| kobj_machdep.c | 76 Elf64_Addr *where, val; local 87 where = (Elf64_Addr *)(relocbase + rela->r_offset); 93 where = (Elf64_Addr *)(relocbase + rel->r_offset); 101 addend = *(Elf32_Addr *)where; 104 addend = *where; 124 memcpy(where, &val, sizeof(val)); 132 where32 = (Elf32_Addr *)where; 133 val32 = (Elf32_Addr)(addr + addend - (Elf64_Addr)where); 143 where32 = (Elf32_Addr *)where; 152 memcpy(where, &addr, sizeof(addr)) 172 uint64_t where; local [all...] |
| kobj_machdep.c | 76 Elf64_Addr *where, val; local 87 where = (Elf64_Addr *)(relocbase + rela->r_offset); 93 where = (Elf64_Addr *)(relocbase + rel->r_offset); 101 addend = *(Elf32_Addr *)where; 104 addend = *where; 124 memcpy(where, &val, sizeof(val)); 132 where32 = (Elf32_Addr *)where; 133 val32 = (Elf32_Addr)(addr + addend - (Elf64_Addr)where); 143 where32 = (Elf32_Addr *)where; 152 memcpy(where, &addr, sizeof(addr)) 172 uint64_t where; local [all...] |
| /src/sys/arch/i386/i386/ |
| kobj_machdep.c | 76 Elf_Addr *where; local 86 where = (Elf_Addr *) (relocbase + rela->r_offset); 92 where = (Elf_Addr *) (relocbase + rel->r_offset); 93 addend = *where; 119 addr += addend - (Elf_Addr)where; 137 *where = addr; 144 uint64_t where; local 154 where = xc_broadcast(0, (xcfunc_t)wbinvd, NULL, NULL); 155 xc_wait(where);
|
| kobj_machdep.c | 76 Elf_Addr *where; local 86 where = (Elf_Addr *) (relocbase + rela->r_offset); 92 where = (Elf_Addr *) (relocbase + rel->r_offset); 93 addend = *where; 119 addr += addend - (Elf_Addr)where; 137 *where = addr; 144 uint64_t where; local 154 where = xc_broadcast(0, (xcfunc_t)wbinvd, NULL, NULL); 155 xc_wait(where);
|
| /src/sys/arch/m68k/m68k/ |
| kobj_machdep.c | 44 Elf_Addr *where; local 56 where = (Elf_Addr *)(relocbase + rela->r_offset); 74 tmp = (Elf_Addr)(addr + rela->r_addend) - (Elf_Addr)where; 75 if (*where != tmp) 76 *where = tmp; 84 tmp = (Elf_Addr)(addr + *where + rela->r_addend); 85 *where = tmp; 89 *where += (Elf_Addr)(relocbase + rela->r_addend);
|
| kobj_machdep.c | 44 Elf_Addr *where; local 56 where = (Elf_Addr *)(relocbase + rela->r_offset); 74 tmp = (Elf_Addr)(addr + rela->r_addend) - (Elf_Addr)where; 75 if (*where != tmp) 76 *where = tmp; 84 tmp = (Elf_Addr)(addr + *where + rela->r_addend); 85 *where = tmp; 89 *where += (Elf_Addr)(relocbase + rela->r_addend);
|
| /src/sys/arch/powerpc/powerpc/ |
| kobj_machdep.c | 72 Elf_Addr *where; local 85 where = (Elf_Addr *) (relocbase + rela->r_offset); 131 * (i.e. .rodata) in rela, where in reality they 155 *where = addend;
|
| kobj_machdep.c | 72 Elf_Addr *where; local 85 where = (Elf_Addr *) (relocbase + rela->r_offset); 131 * (i.e. .rodata) in rela, where in reality they 155 *where = addend;
|
| /src/sys/arch/sh3/sh3/ |
| kobj_machdep.c | 47 Elf_Addr *where; local 58 where = (Elf_Addr *)(relocbase + rela->r_offset); 78 tmp = (Elf_Addr)(addr + *where + rela->r_addend); 80 tmp -= (uintptr_t)where; 81 *where = tmp;
|
| kobj_machdep.c | 47 Elf_Addr *where; local 58 where = (Elf_Addr *)(relocbase + rela->r_offset); 78 tmp = (Elf_Addr)(addr + *where + rela->r_addend); 80 tmp -= (uintptr_t)where; 81 *where = tmp;
|
| /src/sys/compat/common/ |
| sysv_ipc_50.c | 79 void *where = oldp; local 99 start = where; 137 if (where == NULL || *sizep > infosize) 142 if (where == NULL) {
|
| sysv_ipc_50.c | 79 void *where = oldp; local 99 start = where; 137 if (where == NULL || *sizep > infosize) 142 if (where == NULL) {
|
| /src/libexec/ld.elf_so/arch/sh3/ |
| mdreloc.c | 72 Elf_Addr *where; local 86 where = (Elf_Addr *)(relocbase + rela->r_offset); 87 *where = (Elf_Addr)(relocbase + rela->r_addend); 100 Elf_Addr *where; local 104 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); 135 if (*where != tmp) 136 *where = tmp; 139 obj->path, (void *)*where, defobj->path)); 144 rela->r_addend) - (Elf_Addr)where; 145 if (*where != tmp 255 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local 300 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local [all...] |
| /src/sys/arch/hppa/hppa/ |
| kobj_machdep.c | 108 load_ptr(void *where) 110 if (__predict_true(RELOC_ALIGNED_P(where))) 111 return *(Elf_Addr *)where; 115 (void)memcpy(&res, where, sizeof(res)); 121 store_ptr(void *where, Elf_Addr val) 123 if (__predict_true(RELOC_ALIGNED_P(where))) 124 *(Elf_Addr *)where = val; 126 (void)memcpy(where, &val, sizeof(val)); 133 Elf_Addr *where; local 147 where = (Elf_Addr *) (relocbase + rela->r_offset) [all...] |
| /src/sys/arch/mips/mips/ |
| kobj_machdep.c | 66 Elf_Addr addr, addend, *where; local 82 where = (Elf_Addr *)(relocbase + rela->r_offset); 94 insn = (void *)where; 97 KASSERT(((intptr_t)where & (sizeof(int32_t) - 1)) == 0); 110 where32 = (void *)where; 126 addr += ((intptr_t)where & 0xf0000000) | addend; 177 DPRINTF(" orig = 0x%016lx\n", *where); 178 *where = addr; 179 DPRINTF(" new = 0x%016lx\n", *where); 229 __func__, rtype, where); 248 uint64_t where; local [all...] |