/src/sys/arch/sparc/include/ |
elf_support.h | 38 unsigned int *where = (unsigned int *)where_; local in function:sparc_write_branch 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 in function:kobj_reloc 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 in typeref:typename:void
|
/src/lib/libkvm/ |
kvm_file.c | 87 char *where = kd->argspc; local in function:kvm_deadfiles 98 where += sizeof(fhead); 107 ((struct file *)(void *)where))) { 112 fp = (struct file *)(void *)where; 113 where += sizeof(struct file);
|
/src/sys/compat/common/ |
sysv_ipc_50.c | 79 void *where = oldp; local in function:sysctl_kern_sysvipc50 99 start = where; 137 if (where == NULL || *sizep > infosize) 142 if (where == NULL) {
|
/src/sys/arch/alpha/alpha/ |
kobj_machdep.c | 69 Elf_Addr *where; local in function:kobj_reloc 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 in function:kobj_reloc 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 in function:kobj_machdep [all...] |
/src/sys/arch/i386/i386/ |
kobj_machdep.c | 76 Elf_Addr *where; local in function:kobj_reloc 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 in function:kobj_machdep 154 where = xc_broadcast(0, (xcfunc_t)wbinvd, NULL, NULL); 155 xc_wait(where);
|
/src/sys/arch/powerpc/powerpc/ |
kobj_machdep.c | 72 Elf_Addr *where; local in function:kobj_reloc 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 in function:kobj_reloc 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/arch/m68k/m68k/ |
kobj_machdep.c | 44 Elf_Addr *where; local in function:kobj_reloc 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/sparc64/include/ |
elf_support.h | 34 * Create a jump to the location `target` starting at `where`. 56 unsigned int *where = (unsigned int *)where_; local in function:sparc_write_branch 58 unsigned long offset = value - (unsigned long)where; 64 where[0] = BAA | ((offset >> 2) & 0x3fffff); 65 __asm volatile("iflush %0+0" : : "r" (where)); 76 where[1] = JMP | LOVAL(value, 0); 77 __asm volatile("iflush %0+4" : : "r" (where)); 78 where[0] = SETHI | HIVAL(value, 10); 79 __asm volatile("iflush %0+0" : : "r" (where)); 90 where[2] = JMP [all...] |
/src/sys/external/bsd/drm2/dist/drm/mga/ |
mga_warp.c | 61 int n_pipes, where; local in function:mga_warp_install_microcode 92 where = 0; 97 where++; 100 if (where != n_pipes) { 116 where = 0; 123 dev_priv->warp_pipe_phys[where] = pcbase; 129 where++;
|
/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 in function:kobj_reloc 147 where = (Elf_Addr *) (relocbase + rela->r_offset) [all...] |
/src/sys/arch/mips/mips/ |
kobj_machdep.c | 66 Elf_Addr addr, addend, *where; local in function:kobj_reloc 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 in function:kobj_machdep [all...] |
/src/libexec/ld.elf_so/arch/sh3/ |
mdreloc.c | 72 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 86 where = (Elf_Addr *)(relocbase + rela->r_offset); 87 *where = (Elf_Addr)(relocbase + rela->r_addend); 100 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 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 in function:_rtld_relocate_plt_lazy 300 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_object [all...] |
/src/libexec/ld.elf_so/arch/vax/ |
mdreloc.c | 62 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 76 where = (Elf_Addr *)(relocbase + rela->r_offset); 77 *where = (Elf_Addr)(relocbase + rela->r_addend); 90 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 94 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); 122 if (*where != tmp) 123 *where = tmp; 126 obj->path, (void *)*where, defobj->path)); 131 if (*where != tmp) 132 *where = tmp 178 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_lazy 194 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_object [all...] |
/src/libexec/ld.elf_so/arch/m68k/ |
mdreloc.c | 76 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 90 where = (Elf_Addr *)(relocbase + rela->r_offset); 91 *where += (Elf_Addr)relocbase; 104 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 108 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); 138 rela->r_addend) - (Elf_Addr)where; 139 if (*where != tmp) 140 *where = tmp; 143 obj->path, (void *)*where, defobj->path)); 152 if (*where != tmp 234 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_lazy 250 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_object [all...] |
/src/sys/arch/acorn32/stand/lib/ |
rmreloc.c | 85 load_ptr(void *where) 89 memcpy(&res, where, sizeof(res)); 95 store_ptr(void *where, Elf_Addr val) 98 memcpy(where, &val, sizeof(val)); 134 Elf_Addr *where; local in function:relocate_self 137 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); 144 if (__predict_true(RELOC_ALIGNED_P(where))) { 145 tmp = *where + (Elf_Addr)obj->relocbase - 147 *where = tmp; 149 tmp = load_ptr(where) [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/ |
amdgpu_vector.c | 192 void *where = dal_vector_at_index(vector, index); local in function:dal_vector_set_at_index 194 if (!where) { 199 where,
|
/src/sys/kern/ |
subr_prof.c | 236 uint64_t where; local in function:sysctl_kern_profiling 325 where = xc_unicast(0, prof_set_state_xc, 327 xc_wait(where); 364 where = xc_broadcast(0, prof_set_state_xc, 366 xc_wait(where);
|
/src/usr.bin/finger/ |
finger.h | 54 struct where *whead, *wtail; /* list of where user is or has been */ 59 typedef struct where { struct 60 struct where *next; /* next place user is or has been */ 67 } WHERE;
|
/src/libexec/ld.elf_so/arch/aarch64/ |
mdreloc.c | 146 _rtld_tlsdesc_fill(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr *where, u_int flags) 160 where[0] = (Elf_Addr)_rtld_tlsdesc_undef; 161 where[1] = rela->r_addend; 165 obj->path, (void *)where[1])); 177 where[0] = (Elf_Addr)_rtld_tlsdesc_static; 178 where[1] = defobj->tlsoffset + offs + 182 obj->path, (void *)where[1])); 185 where[0] = (Elf_Addr)_rtld_tlsdesc_dynamic; 186 where[1] = (Elf_Addr)_rtld_tlsdesc_alloc(defobj->tlsindex, offs); 190 obj->path, (void *)where[1], defobj->tlsindex, (void *)offs)) 199 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 226 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 353 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_lazy 381 Elf_Addr *where, target; local in function:_rtld_call_ifunc 402 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_object [all...] |
/src/libexec/ld.elf_so/arch/arm/ |
mdreloc.c | 39 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 53 where = (Elf_Addr *)(relocbase + rel->r_offset); 54 *where += (Elf_Addr)relocbase; 66 load_ptr(void *where) 70 memcpy(&res, where, sizeof(res)); 76 store_ptr(void *where, Elf_Addr val) 79 memcpy(where, &val, sizeof(val)); 91 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 95 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); 129 addend = *where; 279 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rel->r_offset); local in function:_rtld_relocate_plt_lazy 299 Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rel->r_offset); local in function:_rtld_relocate_plt_object [all...] |
/src/libexec/ld.elf_so/arch/or1k/ |
mdreloc.c | 75 Elf_Addr *where; local in function:_rtld_relocate_nonplt_self 89 where = (Elf_Addr *)(relocbase + rela->r_offset); 90 *where = (Elf_Addr)(relocbase + rela->r_addend); 103 Elf_Addr *where; local in function:_rtld_relocate_nonplt_objects 107 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); 139 if (*where != tmp) 140 *where = tmp; 143 obj->path, (void *)*where, defobj->path)); 147 *where = (Elf_Addr)(obj->relocbase + rela->r_addend); 149 (void *)*where)); 221 Elf_Word *where = (Elf_Word *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_lazy 237 Elf_Word *where = (Elf_Word *)(obj->relocbase + rela->r_offset); local in function:_rtld_relocate_plt_object [all...] |