Home
last modified time | relevance | path

Searched refs:rip (Results 1 – 25 of 145) sorted by relevance

123456

/linux/arch/x86/purgatory/
H A Dentry64.S19 lgdt gdt(%rip)
30 leaq stack_init(%rip), %rsp
32 leaq new_cs_exit(%rip), %rax
38 movq rax(%rip), %rax
39 movq rbx(%rip), %rbx
40 movq rcx(%rip), %rcx
41 movq rdx(%rip), %rdx
42 movq rsi(%rip), %rsi
43 movq rdi(%rip), %rdi
44 movq rsp(%rip), %rsp
[all …]
H A Dsetup-x86_64.S19 lgdt gdt(%rip)
30 leaq lstack_end(%rip), %rsp
/linux/tools/perf/arch/x86/tests/
H A Dbp-modify.c63 unsigned long rip = 0, dr7 = 1; in bp_modify1() local
112 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify1()
113 offsetof(struct user_regs_struct, rip), NULL); in bp_modify1()
114 if (rip == (unsigned long) -1) { in bp_modify1()
120 pr_debug("rip %lx, bp_1 %p\n", rip, bp_1); in bp_modify1()
128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1()
140 unsigned long rip = 0, dr7 = 1; in bp_modify2() local
188 rip = ptrace(PTRACE_PEEKUSER, child, in bp_modify2()
189 offsetof(struct user_regs_struct, rip), NULL); in bp_modify2()
190 if (rip == (unsigned long) -1) { in bp_modify2()
[all …]
/linux/tools/testing/selftests/x86/
H A Dsysret_rip.c39 static volatile unsigned long rip; variable
45 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { in sigsegv_for_sigreturn_test()
47 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); in sigsegv_for_sigreturn_test()
54 printf("[OK]\tGot SIGSEGV at RIP=0x%lx\n", rip); in sigsegv_for_sigreturn_test()
64 ctx->uc_mcontext.gregs[REG_RIP] = rip; in sigusr1()
65 ctx->uc_mcontext.gregs[REG_RCX] = rip; in sigusr1()
78 rip = ip; in test_sigreturn_to()
89 if (rip != ctx->uc_mcontext.gregs[REG_RIP]) { in sigsegv_for_fallthrough()
91 rip, (unsigned long)ctx->uc_mcontext.gregs[REG_RIP]); in sigsegv_for_fallthrough()
122 rip = ip; in test_syscall_fallthrough_to()
/linux/arch/x86/kernel/acpi/
H A Dwakeup_64.S21 movq saved_magic(%rip), %rax
37 movq saved_rsp(%rip), %rsp
39 movq saved_rbx(%rip), %rbx
40 movq saved_rdi(%rip), %rdi
41 movq saved_rsi(%rip), %rsi
42 movq saved_rbp(%rip), %rbp
44 movq saved_rip(%rip), %rax
74 movq $.Lresume_point, saved_rip(%rip)
76 movq %rsp, saved_rsp(%rip)
77 movq %rbp, saved_rbp(%rip)
[all …]
/linux/arch/x86/kernel/
H A Drelocate_kernel_64.S92 movq kexec_pa_table_page(%rip), %r9
104 movq %r13, saved_cr4(%rip)
105 movq %rsp, saved_rsp(%rip)
106 movq %rax, saved_cr3(%rip)
108 movq %rax, saved_cr0(%rip)
111 movq %rdi, pa_backup_pages_map(%rip)
140 leaq kexec_debug_gdt(%rip), %rax
153 leaq kexec_debug_idt(%rip), %rsi
260 movq kexec_pa_swap_page(%rip), %r10
271 movq kexec_pa_swap_page(%rip), %r10
[all …]
H A Dhead_64.S62 leaq __top_init_kernel_stack(%rip), %rsp
78 leaq .Lon_kernel_cs(%rip), %rax
104 leaq common_startup_64(%rip), %rdi
105 subq .Lcommon_startup_64(%rip), %rdi
117 leaq early_top_pgt(%rip), %rcx
140 jmp *.Lcommon_startup_64(%rip)
182 movq phys_base(%rip), %rax
190 addq sme_me_mask(%rip), %rax
244 movl smpboot_control(%rip), %ecx
267 cmpl $0, x2apic_mode(%rip)
[all …]
H A Dsev_verify_cbit.S25 movq sme_me_mask(%rip), %rsi
30 movq sev_status(%rip), %rsi
53 movq %rdx, sev_check_data(%rip)
65 cmpq %rdx, sev_check_data(%rip)
/linux/arch/x86/power/
H A Dhibernate_asm_64.S34 movq mmu_cr4_features(%rip), %rax
68 movq %rax, in_suspend(%rip)
95 movq %rax, restore_cr3(%rip)
105 movq restore_jump_address(%rip), %r8
106 movq restore_cr3(%rip), %r9
109 movq temp_pgt(%rip), %rax
110 movq mmu_cr4_features(%rip), %rbx
113 movq restore_pblist(%rip), %rdx
116 movq relocated_restore_code(%rip), %rcx
/linux/arch/x86/crypto/
H A Ddes3_ede-asm_64.S132 leaq s8(%rip), RW1; \
134 leaq s6(%rip), RW1; \
139 leaq s4(%rip), RW1; \
141 leaq s2(%rip), RW1; \
145 leaq s7(%rip), RW1; \
147 leaq s5(%rip), RW1; \
149 leaq s3(%rip), RW1; \
153 leaq s1(%rip), RW1; \
366 leaq s8(%rip), RT2; \
368 leaq s6(%rip), RT2; \
[all …]
H A Dcast6-avx-x86_64-asm_64.S87 leaq s1(%rip), RID2; \
90 leaq s2(%rip), RID1; \
94 leaq s3(%rip), RID2; \
98 leaq s4(%rip), RID1; \
182 vpshufb mask(%rip), RKR, RKR;
185 vbroadcastss .L16_mask(%rip), RKR; \
265 vmovdqa .Lbswap_mask(%rip), RKM;
266 vmovd .Lfirst_mask(%rip), R1ST;
267 vmovd .L32_mask(%rip), R32;
291 vmovdqa .Lbswap_mask(%rip), RKM;
[all …]
H A Dcast5-avx-x86_64-asm_64.S87 leaq s1(%rip), RID2; \
90 leaq s2(%rip), RID1; \
94 leaq s3(%rip), RID2; \
98 leaq s4(%rip), RID1; \
158 vbroadcastss .L16_mask(%rip), RKR; \
163 vbroadcastss .L16_mask(%rip), RKR; \
166 vpshufb .Lbswap128_mask(%rip), RKR, RKR;
242 vmovdqa .Lbswap_mask(%rip), RKM;
243 vmovd .Lfirst_mask(%rip), R1ST;
244 vmovd .L32_mask(%rip), R32;
[all …]
H A Daes-gcm-aesni-x86_64.S355 movq .Lgfpoly(%rip), \t0
474 movq .Lgfpoly(%rip), TMP1
523 pshufb .Lbswap_mask(%rip), H_POW1
528 pand .Lgfpoly_and_internal_carrybit(%rip), %xmm0
535 movq .Lgfpoly(%rip), GFPOLY
588 movdqa .Lbswap_mask(%rip), BSWAP_MASK
592 movq .Lgfpoly(%rip), GFPOLY
626 movq .Lone(%rip), TMP0
724 movdqa .Lbswap_mask(%rip), BSWAP_MASK
847 movq .Lone(%rip), ONE
[all …]
H A Daes-gcm-avx10-x86_64.S362 vpshufb .Lbswap_mask(%rip), %xmm0, H_CUR_XMM
388 vpternlogd $0x78, .Lgfpoly_and_internal_carrybit(%rip), %xmm0, H_CUR_XMM
391 vbroadcasti32x4 .Lgfpoly(%rip), GFPOLY
702 vbroadcasti32x4 .Lbswap_mask(%rip), BSWAP_MASK
703 vbroadcasti32x4 .Lgfpoly(%rip), GFPOLY
720 vpaddd .Lctr_pattern(%rip), LE_CTR, LE_CTR
724 vbroadcasti32x4 .Linc_2blocks(%rip), LE_CTR_INC
726 vbroadcasti32x4 .Linc_4blocks(%rip), LE_CTR_INC
989 vmovdqa .Lgfpoly(%rip), GFPOLY
990 vmovdqa .Lbswap_mask(%rip), BSWAP_MASK
[all …]
/linux/drivers/net/vxlan/
H A Dvxlan_multicast.c17 int vxlan_igmp_join(struct vxlan_dev *vxlan, union vxlan_addr *rip, in vxlan_igmp_join() argument
20 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_join()
51 int vxlan_igmp_leave(struct vxlan_dev *vxlan, union vxlan_addr *rip, in vxlan_igmp_leave() argument
54 union vxlan_addr *ip = (rip ? : &vxlan->default_dst.remote_ip); in vxlan_igmp_leave()
86 union vxlan_addr *rip, int rifindex) in vxlan_group_used_match() argument
88 if (!vxlan_addr_multicast(rip)) in vxlan_group_used_match()
91 if (!vxlan_addr_equal(rip, ip)) in vxlan_group_used_match()
126 __be32 vni, union vxlan_addr *rip, int rifindex) in vxlan_group_used() argument
128 union vxlan_addr *ip = (rip ? : &dev->default_dst.remote_ip); in vxlan_group_used()
/linux/samples/fprobe/
H A Dfprobe_example.c73 unsigned long rip = ret_ip; in sample_exit_handler() local
81 (void *)ip, (void *)ip, (void *)rip, (void *)rip); in sample_exit_handler()
84 (void *)ip, (void *)ip, (void *)rip, (void *)rip); in sample_exit_handler()
/linux/tools/perf/util/
H A Damd-sample-raw.c239 __u64 *rip = (__u64 *)op_ctl + 1; in amd_dump_ibs_op() local
240 union ibs_op_data *op_data = (union ibs_op_data *)(rip + 1); in amd_dump_ibs_op()
241 union ibs_op_data3 *op_data3 = (union ibs_op_data3 *)(rip + 3); in amd_dump_ibs_op()
245 printf("IbsOpRip:\t%016llx\n", *rip); in amd_dump_ibs_op()
252 pr_ibs_op_data2(*(union ibs_op_data2 *)(rip + 2)); in amd_dump_ibs_op()
255 printf("IbsDCLinAd:\t%016llx\n", *(rip + 4)); in amd_dump_ibs_op()
257 printf("IbsDCPhysAd:\t%016llx\n", *(rip + 5)); in amd_dump_ibs_op()
258 if (op_data->op_brn_ret && *(rip + 6)) in amd_dump_ibs_op()
259 printf("IbsBrTarget:\t%016llx\n", *(rip + 6)); in amd_dump_ibs_op()
/linux/tools/testing/selftests/kvm/x86/
H A Dhyperv_svm_test.c99 vmcb->save.rip += 3; in guest_code()
106 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
112 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
121 vmcb->save.rip += 3; /* vmcall */ in guest_code()
127 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
136 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
H A Dsvm_nested_soft_inject_test.c36 GUEST_ASSERT_EQ(regs->rip, (unsigned long)l2_guest_code_int); in guest_int_handler()
101 vmcb->control.next_rip = vmcb->save.rip; in l1_guest_code()
124 vmcb->save.rip += 3; in l1_guest_code()
132 vmcb->control.next_rip = vmcb->save.rip + 2; in l1_guest_code()
/linux/arch/x86/platform/efi/
H A Defi_thunk_64.S38 movq efi_mixed_mode_stack_pa(%rip), %rsp
56 subq phys_base(%rip), %rax
58 leaq 1f(%rip), %rbp
59 leaq 2f(%rip), %rbx
/linux/arch/x86/realmode/rm/
H A Dtrampoline_64.S48 lock btsl $0, tr_lock(%rip)
211 jmpq *tr_start(%rip)
222 lidt tr_idt(%rip)
223 lgdt tr_gdt64(%rip)
227 xorl tr_cr4(%rip), %eax
247 pushq tr_start(%rip)
254 ljmpl *tr_compat(%rip)
/linux/lib/crypto/x86/
H A Dblake2s-core.S52 movdqa ROT16(%rip),%xmm12
53 movdqa ROR328(%rip),%xmm13
56 leaq SIGMA+0xa0(%rip),%r8
63 movdqa IV(%rip),%xmm2
65 pxor IV+0x10(%rip),%xmm3
66 leaq SIGMA(%rip),%rcx
180 vmovdqa IV(%rip),%xmm14
181 vmovdqa IV+16(%rip),%xmm15
193 leaq SIGMA2(%rip),%rax
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh585 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2\
599 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\
623 ip netns exec "$ns1" ./pm_nl_ctl csf lip dead:beef:2::1 lid 23 rip\
637 ip netns exec "$ns1" ./pm_nl_ctl dsf lip dead:beef:2::1 lport "$sport" rip\
662 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport\
676 ip netns exec "$ns1" ./pm_nl_ctl dsf lip 10.0.2.1 lport "$sport" rip 10.0.2.2 rport\
701 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\
714 ip netns exec "$ns2" ./pm_nl_ctl dsf lip 10.0.2.2 lport "$sport" rip 10.0.2.1 rport\
738 ip netns exec "$ns2" ./pm_nl_ctl csf lip dead:beef:2::2 lid 23 rip\
753 ip netns exec "$ns2" ./pm_nl_ctl dsf lip dead:beef:2::2 lport "$sport" rip\
[all …]
/linux/arch/x86/kvm/
H A Dtrace.h30 __field( unsigned long, rip )
38 __entry->rip = tracing_kvm_rip_read(vcpu);
46 __entry->vcpu_id, __entry->rip,
703 TP_PROTO(__u64 rip, __u64 vmcb, __u64 nested_rip, __u32 int_ctl,
706 TP_ARGS(rip, vmcb, nested_rip, int_ctl, event_inj, tdp_enabled,
710 __field( __u64, rip )
721 __entry->rip = rip;
733 __entry->rip,
819 TP_PROTO(__u64 rip),
820 TP_ARGS(rip),
[all …]
/linux/arch/x86/boot/compressed/
H A Dhead_64.S316 leaq startup_32(%rip) /* - $startup_32 */, %rbp
358 leaq gdt64(%rip), %rax
364 leaq .Lon_kernel_cs(%rip), %rax
419 leaq (_bss-8)(%rip), %rsi
451 leaq _bss(%rip), %rdi
452 leaq _ebss(%rip), %rcx

123456