Searched refs:displacement (Results 1 - 59 of 59) sorted by relevance

/linux-4.4.14/arch/alpha/include/asm/
H A Dpercpu.h6 * 32-bit displacement from the GP. Which doesn't work for per cpu
H A Delf.h21 #define R_ALPHA_GPDISP 6 /* Add displacement to GP */
/linux-4.4.14/arch/m68k/math-emu/
H A Dfp_decode.h167 | decode the base displacement size
174 | .long "reserved","null displacement"
175 | .long "word displacement","long displacement"
184 | .long "no memory indirect action/reserved","null outer displacement"
185 | .long "word outer displacement","long outer displacement"
290 | with 16bit displacement
346 | with index and 8bit displacement
356 | with base and/or outer displacement
368 1: printf PDECODE,"0" | null base displacement
371 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit base displacement
374 3: fp_get_instr_long %a0,fp_err_ua1 | 32bit base displacement
390 1: printf PDECODE,"0" | null outer displacement
393 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit outer displacement
396 3: fp_get_instr_long %a0,fp_err_ua1 | 32bit outer displacement
H A Dfp_move.S150 | addressing mode: address register indirect with 16bit displacement
H A Dfp_movem.S103 | with 16bit displacement
H A Dfp_scan.S187 | with 16bit displacement
/linux-4.4.14/arch/x86/math-emu/
H A Dget_address.c100 /* 8 bit signed displacement */ sib()
101 long displacement; sib() local
104 FPU_get_user(displacement, (signed char __user *)(*fpu_eip)); sib()
105 offset += displacement; sib()
109 /* 32 bit displacement */ sib()
110 long displacement; sib() local
113 FPU_get_user(displacement, (long __user *)(*fpu_eip)); sib()
114 offset += displacement; sib()
251 /* 8 bit signed displacement */ FPU_get_address()
259 /* 32 bit displacement */ FPU_get_address()
325 /* 8 bit signed displacement */ FPU_get_address_16()
333 /* 16 bit displacement */ FPU_get_address_16()
/linux-4.4.14/arch/x86/lib/
H A Dinsn.c338 * insn_get_displacement() - Get the displacement of instruction
349 if (insn->displacement.got) insn_get_displacement()
356 * mod = 00 - no displacement fields (exceptions below) insn_get_displacement()
357 * mod = 01 - 1-byte displacement field insn_get_displacement()
358 * mod = 10 - displacement field is 4 bytes, or 2 bytes if insn_get_displacement()
363 * mod = 00, r/m = 110 - displacement field is 2 bytes insn_get_displacement()
367 * mod = 00, SIB base = 101 - displacement field is 4 bytes insn_get_displacement()
368 * mod = 00, r/m = 101 - rip-relative addressing, displacement insn_get_displacement()
377 insn->displacement.value = get_next(char, insn); insn_get_displacement()
378 insn->displacement.nbytes = 1; insn_get_displacement()
381 insn->displacement.value = insn_get_displacement()
383 insn->displacement.nbytes = 2; insn_get_displacement()
388 insn->displacement.value = get_next(int, insn); insn_get_displacement()
389 insn->displacement.nbytes = 4; insn_get_displacement()
394 insn->displacement.got = 1; insn_get_displacement()
512 * displacement bytes.
520 if (!insn->displacement.got) insn_get_immediate()
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
H A Dinsn.c338 * insn_get_displacement() - Get the displacement of instruction
349 if (insn->displacement.got) insn_get_displacement()
356 * mod = 00 - no displacement fields (exceptions below) insn_get_displacement()
357 * mod = 01 - 1-byte displacement field insn_get_displacement()
358 * mod = 10 - displacement field is 4 bytes, or 2 bytes if insn_get_displacement()
363 * mod = 00, r/m = 110 - displacement field is 2 bytes insn_get_displacement()
367 * mod = 00, SIB base = 101 - displacement field is 4 bytes insn_get_displacement()
368 * mod = 00, r/m = 101 - rip-relative addressing, displacement insn_get_displacement()
377 insn->displacement.value = get_next(char, insn); insn_get_displacement()
378 insn->displacement.nbytes = 1; insn_get_displacement()
381 insn->displacement.value = insn_get_displacement()
383 insn->displacement.nbytes = 2; insn_get_displacement()
388 insn->displacement.value = get_next(int, insn); insn_get_displacement()
389 insn->displacement.nbytes = 4; insn_get_displacement()
394 insn->displacement.got = 1; insn_get_displacement()
512 * displacement bytes.
520 if (!insn->displacement.got) insn_get_immediate()
H A Dinsn.h50 struct insn_field displacement; member in struct:insn
140 insn->displacement.got && insn->immediate.got; insn_complete()
198 return insn_offset_displacement(insn) + insn->displacement.nbytes; insn_offset_immediate()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event_intel_bts.c46 unsigned long displacement; member in struct:bts_phys
112 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); bts_buffer_setup_aux()
113 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; bts_buffer_setup_aux()
131 return buf->buf[idx].offset + buf->buf[idx].displacement; bts_buffer_offset()
147 end = buf->end - phys->offset - phys->displacement; bts_config_buffer()
149 index -= phys->offset + phys->displacement; bts_config_buffer()
159 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; bts_config_buffer()
315 space = phys->offset + phys->displacement + phys->size - head; bts_buffer_reset()
327 gap = buf_size(phys->page) - phys->displacement - phys->size + bts_buffer_reset()
328 next_phys->displacement; bts_buffer_reset()
345 head = phys->offset + phys->displacement; bts_buffer_reset()
/linux-4.4.14/include/linux/
H A Delf-fdpic.h36 * displacement */
/linux-4.4.14/arch/s390/include/asm/
H A Ddis.h17 #define OPERAND_DISP 0x20 /* Operand printed as displacement */
/linux-4.4.14/arch/mn10300/proc-mn103e010/include/proc/
H A Dcache.h20 #define L1_CACHE_WAYDISP 0x1000 /* displacement of one way from the next */
/linux-4.4.14/arch/x86/tools/
H A Dtest_get_len.c79 dump_field(fp, "displacement", "\t", &insn->displacement); dump_insn()
H A Dinsn_sanity.c89 dump_field(fp, "displacement", "\t", &insn->displacement); dump_insn()
/linux-4.4.14/arch/frv/include/asm/
H A Datomic_defs.h49 * immediate displacement in the memory reference, so what we do is we read the
51 * _have_ to compute the correct address without displacement. This allows us
/linux-4.4.14/arch/x86/kernel/kprobes/
H A Dcommon.h75 * Copy an instruction and adjust the displacement if the instruction
H A Dcore.c247 * at different place, __copy_instruction() tweaks the displacement of __recover_probed_insn()
347 * Copy an instruction and adjust the displacement if the instruction
349 * If it does, Return the address of the 32-bit displacement word.
380 * mode. Adjust the displacement for the difference between __copy_instruction()
387 * extension of the original signed 32-bit displacement would __copy_instruction()
390 newdisp = (u8 *) src + (s64) insn.displacement.value - (u8 *) dest; __copy_instruction()
392 pr_err("Kprobes error: new displacement does not fit into s32 (%llx)\n", newdisp); __copy_instruction()
393 pr_err("\tSrc: %p, Dest: %p, old disp: %x\n", src, dest, insn.displacement.value); __copy_instruction()
413 * __copy_instruction can modify the displacement of the instruction, arch_copy_kprobe()
424 /* Also, displacement change doesn't affect the first byte */ arch_copy_kprobe()
/linux-4.4.14/arch/x86/include/asm/
H A Dinsn.h50 struct insn_field displacement; member in struct:insn
140 insn->displacement.got && insn->immediate.got; insn_complete()
198 return insn_offset_displacement(insn) + insn->displacement.nbytes; insn_offset_immediate()
/linux-4.4.14/arch/frv/kernel/
H A Dhead-mmu-fr451.S44 # GR11 - displacement of 2nd SDRAM addr reg from GR14
45 # GR12 - displacement of 3rd SDRAM addr reg from GR14
46 # GR13 - displacement of 4th SDRAM addr reg from GR14
H A Dhead-uc-fr401.S43 # GR11 - displacement of 2nd SDRAM addr reg from GR14
44 # GR12 - displacement of 3rd SDRAM addr reg from GR14
45 # GR13 - displacement of 4th SDRAM addr reg from GR14
H A Dhead-uc-fr555.S42 # GR11 - displacement of 2nd SDRAM addr reg from GR14
43 # GR12 - displacement of 3rd SDRAM addr reg from GR14
44 # GR13 - displacement of 4th SDRAM addr reg from GR14
H A Dhead.S165 # calculate the displacement required to get the SDRAM into the right place in memory
/linux-4.4.14/arch/arc/kernel/
H A Dvmlinux.lds.S51 * binary blob is tucked away to one side, reducing the displacement
/linux-4.4.14/arch/mn10300/mm/
H A Dmisalignment.c117 RD0, /* reg in displacement in bits 0-3 */
118 RD2, /* reg in displacement in bits 4-7 */
122 SD8, /* 8-bit signed displacement */
123 SD16, /* 16-bit signed displacement */
124 SD24, /* 24-bit signed displacement */
125 SIMM4_2, /* 4-bit signed displacement in opcode bits 4-7 */
133 IMM32_MEM, /* 32-bit unsigned displacement */
134 IMM32_HIGH8_MEM, /* 32-bit unsigned displacement, LSB in opcode */
459 /* grab the extra displacement (note it's LSB first) */ misalignment()
/linux-4.4.14/arch/sh/kernel/
H A Dtraps_64.c102 __s64 displacement; generate_and_check_address() local
103 displacement = (opcode >> 10) & 0x3ff; generate_and_check_address()
104 displacement = sign_extend64(displacement, 9); generate_and_check_address()
105 addr = (__u64)((__s64)base_address + (displacement << width_shift)); generate_and_check_address()
/linux-4.4.14/arch/sh/lib/
H A Dmcount.S191 * the displacement for the memory table and break the block replacement.
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dcache.S223 * experience data corruption. I'm adding a displacement flush along
250 lis r3,0xfff0 /* read from ROM for displacement flush */
/linux-4.4.14/arch/m68k/ifpsp060/src/
H A Disp.S439 # movep.w m2r 0000 ***1 00 001*** | <displacement> | #
440 # movep.l m2r 0000 ***1 01 001*** | <displacement> | #
441 # movep.w r2m 0000 ***1 10 001*** | <displacement> | #
442 # movep.l r2m 0000 ***1 11 001*** | <displacement> | #
1215 # Address register indirect w/ displacement: (d16, An) #
1225 mov.w %d0,%a0 # sign extend displacement
1237 mov.w %d0,%a0 # sign extend displacement
1249 mov.w %d0,%a0 # sign extend displacement
1261 mov.w %d0,%a0 # sign extend displacement
1273 mov.w %d0,%a0 # sign extend displacement
1285 mov.w %d0,%a0 # sign extend displacement
1297 mov.w %d0,%a0 # sign extend displacement
1309 mov.w %d0,%a0 # sign extend displacement
1314 # Address register indirect w/ index(8-bit displacement): (dn, An, Xn) #
1315 # " " " w/ " (base displacement): (bd, An, Xn) #
1362 extb.l %d0 # sign extend displacement
1411 # Program counter indirect w/ displacement: (d16, PC) #
1416 bsr.l _imem_read_word # fetch word displacement
1421 mov.w %d0,%a0 # sign extend displacement
1431 # PC indirect w/ index(8-bit displacement): (d8, PC, An) #
1432 # " " w/ " (base displacement): (bd, PC, An) #
1450 # the indexed addressing mode uses a base displacement of size
1478 extb.l %d0 # sign extend displacement
H A Dpfpsp.S4827 # Address register indirect w/ displacement: (d16, An) #
4837 mov.w %d0,%a0 # sign extend displacement
4850 mov.w %d0,%a0 # sign extend displacement
4863 mov.w %d0,%a0 # sign extend displacement
4876 mov.w %d0,%a0 # sign extend displacement
4889 mov.w %d0,%a0 # sign extend displacement
4902 mov.w %d0,%a0 # sign extend displacement
4915 mov.w %d0,%a0 # sign extend displacement
4928 mov.w %d0,%a0 # sign extend displacement
4934 # Address register indirect w/ index(8-bit displacement): (d8, An, Xn) #
4935 # " " " w/ " (base displacement): (bd, An, Xn) #
4978 extb.l %d2 # sign extend displacement
5014 # Program counter indirect w/ displacement: (d16, PC) #
5019 bsr.l _imem_read_word # fetch word displacement
5024 mov.w %d0,%a0 # sign extend displacement
5033 # PC indirect w/ index(8-bit displacement): (d8, PC, An) #
5034 # " " w/ " (base displacement): (bd, PC, An) #
5074 extb.l %d2 # sign extend displacement
5123 # base displacement:
5154 # outer displacement:
H A Dfpsp.S4317 bsr.l _imem_read_word # read displacement
4322 ext.l %d0 # sign extend displacement
4974 # the instruction fetch access for the displacement word for the
16258 # d0 = displacement #
16274 # the displacement value to the stacked PC so that when an "rte" is #
16280 mov.l %d0,L_SCR1(%a6) # save displacement
16845 # pc += sign_ext(16-bit displacement)
16863 mov.l L_SCR1(%a6),%d0 # fetch displacement
18778 # Address register indirect w/ displacement: (d16, An) #
18788 mov.w %d0,%a0 # sign extend displacement
18801 mov.w %d0,%a0 # sign extend displacement
18814 mov.w %d0,%a0 # sign extend displacement
18827 mov.w %d0,%a0 # sign extend displacement
18840 mov.w %d0,%a0 # sign extend displacement
18853 mov.w %d0,%a0 # sign extend displacement
18866 mov.w %d0,%a0 # sign extend displacement
18879 mov.w %d0,%a0 # sign extend displacement
18885 # Address register indirect w/ index(8-bit displacement): (d8, An, Xn) #
18886 # " " " w/ " (base displacement): (bd, An, Xn) #
18929 extb.l %d2 # sign extend displacement
18965 # Program counter indirect w/ displacement: (d16, PC) #
18970 bsr.l _imem_read_word # fetch word displacement
18975 mov.w %d0,%a0 # sign extend displacement
18984 # PC indirect w/ index(8-bit displacement): (d8, PC, An) #
18985 # " " w/ " (base displacement): (bd, PC, An) #
19025 extb.l %d2 # sign extend displacement
19074 # base displacement:
19105 # outer displacement:
/linux-4.4.14/arch/parisc/kernel/
H A Dmodule.c88 /* Maximum number of GOT entries. We use a long displacement ldd from
89 * the bottom of the table, which has a maximum signed displacement of
93 * To overcome this 14bit displacement with some kernel modules, we'll
94 * use instead the unusal 16bit displacement method (see reassemble_16a)
95 * which gives us a maximum positive displacement of 0x7fff, and as such
/linux-4.4.14/arch/s390/kernel/
H A Dkprobes.c84 * RI2 displacement field. We have already made sure that the insn copy_instruction()
87 * Therefore the new displacement will always fit. copy_instruction()
106 * instruction. That way instructions with a 32bit signed displacement s390_get_insn_slot()
H A Dsetup.c707 * Bit 19: the long-displacement facility is installed setup_hwcaps()
H A Ddis.c67 D20_20, /* 20 bit displacement starting at 20 */
1748 /* Check for special long displacement case. */ extract_operand()
/linux-4.4.14/arch/powerpc/xmon/
H A Dppc.h232 reg,displacement(reg)
256 /* This operand is a relative branch displacement. The disassembler
H A Dppc-opc.c235 /* The D field in a D form instruction. This is a displacement off
/linux-4.4.14/drivers/iio/gyro/
H A Dadis16260.c29 #define ADIS16260_ANGL_OUT 0x0E /* angle displacement */
/linux-4.4.14/drivers/input/touchscreen/
H A Dcyttsp4_core.h435 CY_EV_MOVE, /* significant displacement (> act dist) */
/linux-4.4.14/arch/s390/kvm/
H A Dkvm-s390.h126 /* The displacement is a 20bit _SIGNED_ value */ kvm_s390_get_base_disp_rsy()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_types.h511 * Indicates that this format can be sampled by the displacement map sampler
1196 SVGA3D_DECLMETHOD_LOOKUP, /* Lookup a displacement map */
1197 SVGA3D_DECLMETHOD_LOOKUPPRESAMPLED, /* Lookup a pre-sampled displacement */
/linux-4.4.14/arch/x86/kernel/
H A Duprobes.c335 * - The displacement is always 4 bytes.
449 * displacement. Beyond the displacement, for some instructions, riprel_analyze()
H A Dalternative.c275 * Are we looking at a near JMP with a 1 or 4-byte displacement.
/linux-4.4.14/fs/
H A Dbinfmt_elf_fdpic.c753 * - we assume the loadable parts of the image to require fixed displacement
936 * map a file with constant displacement under uClinux
1081 /* constant displacement elf_fdpic_map_file_by_direct_mmap()
/linux-4.4.14/drivers/input/
H A Dinput-mt.c409 * @dmax: maximum ABS_MT_POSITION displacement (zero for infinite)
/linux-4.4.14/arch/arm/probes/
H A Ddecode.c27 * a +8 or a +12 displacement from the current instruction's address.
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
H A Dtypes.h615 * The displacement (in bytes) into the memory region that the
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunhme.h110 #define ETX_BDISP 0x10UL /* Transmit buffer displacement */
/linux-4.4.14/arch/arm64/kernel/
H A Dinsn.c1097 * Encode the displacement of a branch in the imm field and return the
/linux-4.4.14/tools/lguest/
H A Dlguest.c1590 /* Get bytes of displacement appended to instruction, from r/m encoding */ insn_displacement_len()
1596 /* If mod == 0, and r/m == 101, 16-bit displacement follows */ insn_displacement_len()
1599 /* Normally, mod == 0 means no literal displacement */ insn_displacement_len()
1602 /* One byte displacement */ insn_displacement_len()
1605 /* Four byte displacement */ insn_displacement_len()
/linux-4.4.14/arch/x86/mm/
H A Dmpx.c172 addr += insn->displacement.value; mpx_get_addr_ref()
/linux-4.4.14/arch/sparc/kernel/
H A Dhead_64.S904 * displacement.
/linux-4.4.14/drivers/input/mouse/
H A Dsynaptics.c70 /* maximum ABS_MT_POSITION displacement (in mm) */
H A Dcyapa_gen5.c157 * 2 : significant displacement (> active distance)
/linux-4.4.14/drivers/video/fbdev/
H A Dfsl-diu-fb.c1948 * displacement flush fsl_diu_init()
/linux-4.4.14/drivers/s390/block/
H A Ddasd_3990_erp.c696 case 0x50: /* Format 5 - Data Check with displacement information */ dasd_3990_handle_env_data()
/linux-4.4.14/arch/x86/kvm/
H A Dvmx.c6548 * addressing components of the operand. Only the displacement part get_vmx_mem_address()
6568 /* offset = base + [index * scale] + displacement */ get_vmx_mem_address()
6569 off = exit_qualification; /* holds the displacement */ get_vmx_mem_address()
H A Demulate.c119 #define MemAbs (1<<12) /* Memory operand is absolute displacement */

Completed in 2837 milliseconds