Lines Matching refs:distance_end
159 int distance_end; in kvm_patch_ins_mtmsrd() local
169 distance_end = next_inst - (ulong)&p[kvm_emulate_mtmsrd_branch_offs]; in kvm_patch_ins_mtmsrd()
179 p[kvm_emulate_mtmsrd_branch_offs] |= distance_end & KVM_INST_B_MASK; in kvm_patch_ins_mtmsrd()
212 int distance_end; in kvm_patch_ins_mtmsr() local
222 distance_end = next_inst - (ulong)&p[kvm_emulate_mtmsr_branch_offs]; in kvm_patch_ins_mtmsr()
232 p[kvm_emulate_mtmsr_branch_offs] |= distance_end & KVM_INST_B_MASK; in kvm_patch_ins_mtmsr()
273 int distance_end; in kvm_patch_ins_wrtee() local
283 distance_end = next_inst - (ulong)&p[kvm_emulate_wrtee_branch_offs]; in kvm_patch_ins_wrtee()
293 p[kvm_emulate_wrtee_branch_offs] |= distance_end & KVM_INST_B_MASK; in kvm_patch_ins_wrtee()
330 int distance_end; in kvm_patch_ins_wrteei_0() local
340 distance_end = next_inst - (ulong)&p[kvm_emulate_wrteei_0_branch_offs]; in kvm_patch_ins_wrteei_0()
349 p[kvm_emulate_wrteei_0_branch_offs] |= distance_end & KVM_INST_B_MASK; in kvm_patch_ins_wrteei_0()
371 int distance_end; in kvm_patch_ins_mtsrin() local
381 distance_end = next_inst - (ulong)&p[kvm_emulate_mtsrin_branch_offs]; in kvm_patch_ins_mtsrin()
391 p[kvm_emulate_mtsrin_branch_offs] |= distance_end & KVM_INST_B_MASK; in kvm_patch_ins_mtsrin()