Lines Matching refs:to
81 * address to be that of an instruction preceding the actual branch
82 * when instruction fusion occurs. If fusion is expected, attempt to
87 static int get_branch_type(unsigned long from, unsigned long to, int abort,
102 to_plm = kernel_ip(to) ? X86_BR_KERNEL : X86_BR_USER;
109 if (from == 0 || to == 0)
144 * executing up next to a memory hole, but
145 * it is very unlikely to be a problem.
154 * decoder needs to know the ABI especially
184 * occur on any instructions. Thus, to classify them correctly,
185 * we need to first look at the from and to priv levels. If they
186 * are different and to is in the kernel, then it indicates
191 * we have no way of detecting kernel to kernel faults.
207 int branch_type(unsigned long from, unsigned long to, int abort)
209 return get_branch_type(from, to, abort, false, NULL);
212 int branch_type_fused(unsigned long from, unsigned long to, int abort,
215 return get_branch_type(from, to, abort, true, offset);