Lines Matching refs:base

262  * The operand register, @regoff, is represented as the offset from the base of
492 * If ModRM.mod is 0 and SIB.base == 5, the base of the
633 * from the base of the GDT. As bits [15:3] of the segment selector
647 * insn_get_seg_base() - Obtain base address of segment descriptor.
651 * Obtain the base address of the segment as indicated by the segment descriptor
657 * In protected mode, base address of the segment. Zero in long mode,
681 * Only FS or GS will have a base address, the rest of
684 unsigned long base;
687 rdmsrl(MSR_FS_BASE, base);
691 * MSR_KERNEL_GS_BASE will have the user-space GS base.
694 rdmsrl(MSR_KERNEL_GS_BASE, base);
696 rdmsrl(MSR_GS_BASE, base);
698 base = 0;
700 return base;
833 * register is obtained as an offset from the base of pt_regs. In specific
850 * register is obtained as an offset from the base of pt_regs.
858 * get_seg_base_limit() - obtain base address and limit of a segment
862 * @base: Obtained segment base
865 * Obtain the base address and limit of the segment associated with the operand
873 * 0 on success. @base and @limit will contain the base address and of the
879 int regoff, unsigned long *base,
884 if (!base)
891 *base = insn_get_seg_base(regs, seg_reg_idx);
892 if (*base == -1L)
915 * register operand, as an offset from the base of pt_regs, is saved in @regoff;
924 * the base of pt_regs.
972 * will have a register, as an offset from the base of pt_regs, that can be used
1039 * will have a register, as an offset from the base of pt_regs, that can be used
1107 * @base_offset will have a register, as an offset from the base of pt_regs,
1115 long base, indx;
1143 * Negative values in the base and index offset means an error when
1148 base = 0;
1152 base = regs_get_register(regs, *base_offset);
1164 base32 = base & 0xffffffff;
1172 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value));
1186 * segment used as base is determined by either any segment override prefixes in
1251 * displacement bytes and segment base address, as applicable. If in protected
1340 * displacement bytes and segment base address, as applicable.
1398 * displacement bytes, and segment base, as applicable. In protected mode,