/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/ |
H A D | tst.helper.c | 46 uint32_t instr[] = { local 53 uint32_t *fp = malloc(sizeof (instr)); 58 instr[1] |= ((uintptr_t)baz - (uintptr_t)&fp[1]) >> 2; 64 bcopy(instr, fp, sizeof (instr));
|
/freebsd-11-stable/contrib/llvm-project/lld/ELF/ |
H A D | AArch64ErrataFix.cpp | 56 static bool isADRP(uint32_t instr) { argument 57 return (instr & 0x9f000000) == 0x90000000; 66 static bool isLoadStoreClass(uint32_t instr) { argument 67 return (instr & 0x0a000000) == 0x08000000; 82 static bool isST1MultipleOpcode(uint32_t instr) { argument 83 return (instr & 0x0000f000) == 0x00002000 || 84 (instr & 0x0000f000) == 0x00006000 || 85 (instr & 0x0000f000) == 0x00007000 || 86 (instr & 0x0000f000) == 0x0000a000; 89 static bool isST1Multiple(uint32_t instr) { argument 94 isST1MultiplePost(uint32_t instr) argument 110 isST1SingleOpcode(uint32_t instr) argument 116 isST1Single(uint32_t instr) argument 121 isST1SinglePost(uint32_t instr) argument 125 isST1(uint32_t instr) argument 133 isLoadStoreExclusive(uint32_t instr) argument 137 isLoadExclusive(uint32_t instr) argument 143 isLoadLiteral(uint32_t instr) argument 152 isSTNP(uint32_t instr) argument 161 isSTPPost(uint32_t instr) argument 167 isSTPOffset(uint32_t instr) argument 174 isSTPPre(uint32_t instr) argument 178 isSTP(uint32_t instr) argument 185 isLoadStoreUnscaled(uint32_t instr) argument 191 isLoadStoreImmediatePost(uint32_t instr) argument 197 isLoadStoreUnpriv(uint32_t instr) argument 203 isLoadStoreImmediatePre(uint32_t instr) argument 209 isLoadStoreRegisterOff(uint32_t instr) argument 215 isLoadStoreRegisterUnsigned(uint32_t instr) argument 220 getRt(uint32_t instr) argument 223 getRn(uint32_t instr) argument 232 isBranch(uint32_t instr) argument 239 isV8SingleRegisterNonStructureLoadStore(uint32_t instr) argument 249 isV8NonStructureLoad(uint32_t instr) argument 275 hasWriteback(uint32_t instr) argument 284 doesLoadStoreWriteToReg(uint32_t instr, uint32_t reg) argument [all...] |
H A D | ARMErrataFix.cpp | 76 Patch657417Section(InputSection *p, uint64_t off, uint32_t instr, bool isARM); 96 uint32_t instr; member in class:lld::elf::Patch657417Section 124 static bool isBcc(uint32_t instr) { argument 125 return (instr & 0xf800d000) == 0xf0008000 && 126 (instr & 0x03800000) != 0x03800000; 129 static bool isB(uint32_t instr) { return (instr & 0xf800d000) == 0xf0009000; } argument 131 static bool isBLX(uint32_t instr) { return (instr & 0xf800d000) == 0xf000c000; } argument 133 static bool isBL(uint32_t instr) { retur argument 135 is32bitBranch(uint32_t instr) argument 139 Patch657417Section(InputSection *p, uint64_t off, uint32_t instr, bool isARM) argument 157 getThumbDestAddr(uint64_t sourceAddr, uint32_t instr) argument 198 branchDestInFirstRegion(const InputSection *isec, uint64_t off, uint32_t instr, const Relocation *r) argument 221 patchInRange(const InputSection *isec, uint64_t off, uint32_t instr) argument 237 uint32_t instr; member in struct:lld::elf::ScanResult [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/ustack/ |
H A D | tst.helper.c | 46 uint8_t instr[] = { local 54 uint8_t *fp = malloc(sizeof (instr)); 59 *((int *)&instr[4]) = (uintptr_t)baz - (uintptr_t)&fp[8]; 65 bcopy(instr, fp, sizeof (instr));
|
/freebsd-11-stable/sys/cddl/dev/fbt/x86/ |
H A D | fbt_isa.c | 159 uint8_t *instr, *limit; local 179 instr = (uint8_t *) symval->value; 183 while (instr < limit) { 184 if (*instr == FBT_PUSHL_EBP) 187 if ((size = dtrace_instr_size(instr)) <= 0) 190 instr += size; 193 if (instr >= limit || *instr != FBT_PUSHL_EBP) { 202 if (instr[0] != FBT_PUSHL_EBP) 205 if (!(instr[ [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/arm/ |
H A D | fbt_isa.c | 95 uint32_t *instr, *limit; local 109 instr = (uint32_t *)symval->value; 116 if ((*instr & 0xfffff000) == FBT_SUBSP) 117 instr++; 122 if ((*instr & 0xffff0000) != FBT_PUSHM || 123 (*instr & (1 << LR)) == 0) 130 fbt->fbtp_patchpoint = instr; 133 fbt->fbtp_savedval = *instr; 138 fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; 139 fbt_probetab[FBT_ADDR2NDX(instr)] [all...] |
/freebsd-11-stable/sys/cddl/dev/dtrace/amd64/ |
H A D | instr_size.c | 83 uchar_t **instr = p; local 85 ret = **instr; 86 *instr += 1; 101 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) argument 111 x.d86_data = (void **)&instr; 129 dtrace_instr_size_isa(uchar_t *instr, model_t model, int *rmindex) argument 131 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, model, rmindex)); 135 dtrace_instr_size(uchar_t *instr) argument 137 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, DATAMODEL_NATIVE,
|
/freebsd-11-stable/sys/cddl/dev/dtrace/i386/ |
H A D | instr_size.c | 83 uchar_t **instr = p; local 85 ret = **instr; 86 *instr += 1; 101 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) argument 111 x.d86_data = (void **)&instr; 129 dtrace_instr_size_isa(uchar_t *instr, model_t model, int *rmindex) argument 131 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, model, rmindex)); 135 dtrace_instr_size(uchar_t *instr) argument 137 return (dtrace_dis_isize(instr, DIS_ISIZE_INSTR, DATAMODEL_NATIVE,
|
/freebsd-11-stable/usr.sbin/jail/ |
H A D | jaillex.l | 45 static int instr; 60 <_>[ \t]+ instr = 0; 69 instr = 0; 73 instr = 0; 78 instr = 0; 82 instr = 0; 91 return instr ? STR1 : (instr = 1, STR); 97 return instr ? STR1 : (instr [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 87 uint32_t *instr, *limit; local 99 instr = (uint32_t *)(symval->value); 103 for (; instr < limit; instr++) { 104 if ((*instr & LDP_STP_MASK) == STP_64) 108 if (instr >= limit) 115 fbt->fbtp_patchpoint = instr; 118 fbt->fbtp_savedval = *instr; 123 fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; 124 fbt_probetab[FBT_ADDR2NDX(instr)] [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/powerpc/ |
H A D | fbt_isa.c | 47 #define FBT_IS_JUMP(instr) ((instr & ~FBT_BR_MASK) == FBT_BRANCH) 116 uint32_t *instr, *limit; local 141 instr = (uint32_t *) symval->value; 144 for (; instr < limit; instr++) 145 if (*instr == FBT_MFLR_R0) 148 if (*instr != FBT_MFLR_R0) 155 fbt->fbtp_patchpoint = instr; 158 fbt->fbtp_savedval = *instr; [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/riscv/ |
H A D | fbt_isa.c | 86 uint32_t *instr, *limit; local 98 instr = (uint32_t *)(symval->value); 102 for (; instr < limit; instr++) { 103 if ((*instr & SD_RA_SP_MASK) == SD_RA_SP) 107 if (instr >= limit) 114 fbt->fbtp_patchpoint = instr; 117 fbt->fbtp_savedval = *instr; 122 fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; 123 fbt_probetab[FBT_ADDR2NDX(instr)] [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/mips/ |
H A D | fbt_isa.c | 85 uint32_t *instr, *limit; local 96 instr = (uint32_t *)(symval->value); 100 for (; instr < limit; instr++) { 101 if ((*instr & LDSD_RA_SP_MASK) == SD_RA_SP) 105 if (instr >= limit) 112 fbt->fbtp_patchpoint = instr; 115 fbt->fbtp_savedval = *instr; 120 fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; 121 fbt_probetab[FBT_ADDR2NDX(instr)] [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cg.c | 50 dt_cg_node_alloc(uint_t label, dif_instr_t instr) argument 58 dip->di_instr = instr; 97 dif_instr_t instr = DIF_INSTR_SETX((uint_t)intoff, reg); local 105 dt_irlist_append(dlp, dt_cg_node_alloc(lbl, instr)); 193 dif_instr_t instr; local 217 instr = DIF_INSTR_FMT(op, dreg, sreg, dreg); 218 dt_irlist_append(dlp, dt_cg_node_alloc(DT_LBL_NONE, instr)); 244 dif_instr_t instr; local 276 instr = DIF_INSTR_FMT(DIF_OP_SLL, r1, r2, r1); 277 dt_irlist_append(dlp, dt_cg_node_alloc(DT_LBL_NONE, instr)); 328 dif_instr_t instr; local 408 dif_instr_t instr; local 473 dif_instr_t instr; local 555 dif_instr_t instr; local 600 dif_instr_t instr; local 643 dif_instr_t instr; local 700 dif_instr_t instr; local 782 dif_instr_t instr; local 827 dif_instr_t instr; local 866 dif_instr_t instr; local 901 dif_instr_t instr; local 937 dif_instr_t instr; local 972 dif_instr_t instr; local 996 dif_instr_t instr; local 1154 dif_instr_t instr; local 1231 dif_instr_t instr; local 1411 uint32_t instr; local 1515 uint32_t instr; local 1554 dif_instr_t instr; local 2118 dif_instr_t instr; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/ |
H A D | fasttrap_isa.c | 50 fasttrap_instr_t instr = FASTTRAP_INSTR; local 52 if (uwrite(p, &instr, 4, tp->ftt_pc) != 0) 61 uint32_t instr; local 67 if (uread(p, &instr, 4, tp->ftt_pc) != 0) 69 if (instr != FASTTRAP_INSTR) 81 uint32_t instr; local 90 if (uread(p, &instr, 4, pc) != 0) 106 tp->ftt_instr = instr; 108 switch (OP(instr)) { 123 if (OPX(instr) [all...] |
/freebsd-11-stable/contrib/ntp/html/hints/ |
H A D | solaris.xtra.patchfreq | 60 instr=`echo setcpudelay+34?X | adb $kernel | cut -d: -f 2 | nawk '{ print $1 }'` 62 if [ $instr = $nop ]; then 65 let masked="(16#$store_mask & 16#$instr) - 16#$store"
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_x86.c | 81 uint32_t instr; local 98 if (copyin((void *) pc, &instr, sizeof(instr)) != 0) 101 if (PMC_AT_FUNCTION_PROLOGUE_PUSH_BP(instr) || 102 PMC_AT_FUNCTION_EPILOGUE_RET(instr)) { /* ret */ 105 } else if (PMC_AT_FUNCTION_PROLOGUE_MOV_SP_BP(instr)) { 161 uint32_t instr; local 189 instr = *(uint32_t *) pc; 200 if (PMC_AT_FUNCTION_PROLOGUE_PUSH_BP(instr) || 201 PMC_AT_FUNCTION_EPILOGUE_RET(instr)) [all...] |
/freebsd-11-stable/sys/powerpc/fpu/ |
H A D | fpu_extern.h | 36 union instr; 42 int fpu_execute(struct trapframe *, struct fpemu *, union instr *);
|
H A D | fpu_emu.c | 188 union instr insn; 270 fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn) 273 union instr instr = *insn; local 290 cond = instr.i_any.i_rc; 299 opc_disasm(loc, instr.i_int); 307 if ((instr.i_any.i_opcd >= OPC_LFS && instr.i_any.i_opcd <= OPC_STFDU) || 308 instr.i_any.i_opcd == OPC_integer_31) { 322 if (instr [all...] |
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 163 uint32_t instr; local 166 instr = get_unaligned_be32(buf + i); 167 if ((instr & 0xFC000003) == 0x48000001) { 168 instr &= 0x03FFFFFC; 169 instr -= s->pos + (uint32_t)i; 170 instr &= 0x03FFFFFC; 171 instr |= 0x48000001; 172 put_unaligned_be32(instr, buf + i); 217 uint64_t instr; local 230 instr 319 uint32_t instr; local [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | db_disasm.c | 83 void disasm_fields(const struct opcode *popcode, instr_t instr, vm_offset_t loc, 85 void dis_ppc(const struct opcode *opcodeset, instr_t instr, vm_offset_t loc); 603 op_ill(instr_t instr, vm_offset_t loc) argument 605 db_printf("illegal instruction %x\n", instr); 618 disasm_fields(const struct opcode *popcode, instr_t instr, vm_offset_t loc, argument 638 BO = extract_field(instr, 31 - 10, 5); 639 BI = extract_field(instr, 31 - 15, 5); 677 OE = extract_field(instr, 31 - 21, 1); 685 if (instr & 0x1) 689 if (instr 999 op_base(instr_t instr, vm_offset_t loc) argument 1005 op_cl_x13(instr_t instr, vm_offset_t loc) argument 1011 op_cl_x1e(instr_t instr, vm_offset_t loc) argument 1017 op_cl_x1f(instr_t instr, vm_offset_t loc) argument 1023 op_cl_x3a(instr_t instr, vm_offset_t loc) argument 1029 op_cl_x3b(instr_t instr, vm_offset_t loc) argument 1035 op_cl_x3e(instr_t instr, vm_offset_t loc) argument 1041 op_cl_x3f(instr_t instr, vm_offset_t loc) argument 1047 dis_ppc(const struct opcode *opcodeset, instr_t instr, vm_offset_t loc) argument [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 278 uint8_t instr[FASTTRAP_MAX_INSTR_SIZE + 10]; local 293 if (uread(p, &instr[0], first, pc) != 0) 296 uread(p, &instr[first], len - first, pc + first) != 0) { 297 bzero(&instr[first], len - first); 304 if ((size = dtrace_instr_size_isa(instr, p->p_model, &rmindex)) <= 0) 330 switch (instr[start]) { 375 if (p->p_model == DATAMODEL_LP64 && (instr[start] & 0xf0) == 0x40) 376 rex = instr[start++]; 383 bcopy(instr, tp->ftt_instr, FASTTRAP_MAX_INSTR_SIZE); 386 if (instr[star 653 fasttrap_instr_t instr = FASTTRAP_INSTR; local 664 uint8_t instr; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | ia64-tdep.c | 405 replace_slotN_contents (char *bundle, long long instr, int slotnum) argument 407 replace_bit_field (bundle, instr, 5+41*slotnum, 41); 450 fetch_instruction (CORE_ADDR addr, instruction_type *it, long long *instr) argument 484 *instr = slotN_contents (bundle, slotnum); 525 long long instr; local 544 instr = slotN_contents (bundle, slotnum); 545 memcpy(contents_cache, &instr, sizeof(instr)); 558 long long instr; local 574 memcpy (&instr, contents_cach 1045 long long instr; local [all...] |
/freebsd-11-stable/contrib/amd/libamu/ |
H A D | mtab.c | 103 haseq(char *instr) argument 105 if (instr) { 106 char *eq = strchr(instr, '=');
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 469 uchar_t *instr; member in struct:dtrace_dis 479 int ret = *dis->instr; 482 fasttrap_instr_query_t instr; local 484 instr.ftiq_pid = dis->pid; 485 instr.ftiq_pc = dis->addr; 495 if (ioctl(dis->dtp->dt_ftfd, FASTTRAPIOC_GETINSTR, &instr) == 0) 496 ret = instr.ftiq_instr; 500 dis->instr++; 506 dt_instr_size(uchar_t *instr, dtrace_hdl_t *dtp, pid_t pid, uintptr_t addr, argument 513 data.instr [all...] |