Home
last modified time | relevance | path

Searched refs:pr_reg (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/arch/csky/abiv2/inc/abi/
Delf.h7 #define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ argument
8 pr_reg[0] = regs->pc; \
9 pr_reg[1] = regs->a1; \
10 pr_reg[2] = regs->a0; \
11 pr_reg[3] = regs->sr; \
12 pr_reg[4] = regs->a2; \
13 pr_reg[5] = regs->a3; \
14 pr_reg[6] = regs->regs[0]; \
15 pr_reg[7] = regs->regs[1]; \
16 pr_reg[8] = regs->regs[2]; \
[all …]
/Linux-v5.10/arch/nios2/include/asm/
Delf.h35 #define ELF_CORE_COPY_REGS(pr_reg, regs) \ argument
38 pr_reg[0] = regs->r8; \
39 pr_reg[1] = regs->r9; \
40 pr_reg[2] = regs->r10; \
41 pr_reg[3] = regs->r11; \
42 pr_reg[4] = regs->r12; \
43 pr_reg[5] = regs->r13; \
44 pr_reg[6] = regs->r14; \
45 pr_reg[7] = regs->r15; \
46 pr_reg[8] = regs->r1; \
[all …]
/Linux-v5.10/arch/x86/um/asm/
Delf.h48 #define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ argument
49 pr_reg[0] = PT_REGS_BX(regs); \
50 pr_reg[1] = PT_REGS_CX(regs); \
51 pr_reg[2] = PT_REGS_DX(regs); \
52 pr_reg[3] = PT_REGS_SI(regs); \
53 pr_reg[4] = PT_REGS_DI(regs); \
54 pr_reg[5] = PT_REGS_BP(regs); \
55 pr_reg[6] = PT_REGS_AX(regs); \
56 pr_reg[7] = PT_REGS_DS(regs); \
57 pr_reg[8] = PT_REGS_ES(regs); \
[all …]
/Linux-v5.10/arch/x86/include/asm/
Delf.h119 #define ELF_CORE_COPY_REGS_COMMON(pr_reg, regs) \ argument
121 pr_reg[0] = regs->bx; \
122 pr_reg[1] = regs->cx; \
123 pr_reg[2] = regs->dx; \
124 pr_reg[3] = regs->si; \
125 pr_reg[4] = regs->di; \
126 pr_reg[5] = regs->bp; \
127 pr_reg[6] = regs->ax; \
128 pr_reg[7] = regs->ds; \
129 pr_reg[8] = regs->es; \
[all …]
Dcompat.h168 #define PRSTATUS_SIZE(S, R) (R != sizeof(S.pr_reg) ? 144 : 296)
170 do { *(int *) (((void *) &((S)->pr_reg)) + R) = (V); } \
/Linux-v5.10/arch/csky/abiv1/inc/abi/
Delf.h6 #define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ argument
7 pr_reg[0] = regs->pc; \
8 pr_reg[1] = regs->regs[9]; \
9 pr_reg[2] = regs->usp; \
10 pr_reg[3] = regs->sr; \
11 pr_reg[4] = regs->a0; \
12 pr_reg[5] = regs->a1; \
13 pr_reg[6] = regs->a2; \
14 pr_reg[7] = regs->a3; \
15 pr_reg[8] = regs->regs[0]; \
[all …]
/Linux-v5.10/drivers/target/
Dtarget_core_pr.c44 struct t10_pr_registration *pr_reg, in core_pr_dump_initiator_port() argument
48 if (!pr_reg->isid_present_at_reg) { in core_pr_dump_initiator_port()
53 snprintf(buf, size, ",i,0x%s", pr_reg->pr_reg_isid); in core_pr_dump_initiator_port()
72 struct t10_pr_registration *pr_reg) in is_reservation_holder() argument
79 return pr_res_holder == pr_reg || in is_reservation_holder()
123 struct t10_pr_registration *pr_reg; in target_check_scsi2_reservation_conflict() local
127 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in target_check_scsi2_reservation_conflict()
129 if (pr_reg) { in target_check_scsi2_reservation_conflict()
151 if (pr_reg->pr_res_holder) { in target_check_scsi2_reservation_conflict()
152 core_scsi3_put_pr_reg(pr_reg); in target_check_scsi2_reservation_conflict()
[all …]
Dtarget_core_fabric_lib.c130 struct t10_pr_registration *pr_reg, in iscsi_get_pr_transport_id() argument
156 if ((*format_code == 1) && (pr_reg->isid_present_at_reg)) { in iscsi_get_pr_transport_id()
190 isid_len = sprintf(buf + off, "%s", pr_reg->pr_reg_isid); in iscsi_get_pr_transport_id()
218 struct t10_pr_registration *pr_reg, in iscsi_get_pr_transport_id_len() argument
236 if (pr_reg->isid_present_at_reg) { in iscsi_get_pr_transport_id_len()
238 len += strlen(pr_reg->pr_reg_isid); in iscsi_get_pr_transport_id_len()
346 struct t10_pr_registration *pr_reg, int *format_code) in target_get_pr_transport_id_len() argument
355 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len()
369 struct t10_pr_registration *pr_reg, int *format_code, in target_get_pr_transport_id() argument
382 return iscsi_get_pr_transport_id(nacl, pr_reg, format_code, in target_get_pr_transport_id()
Dtarget_core_configfs.c1665 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_spc3_res() local
1670 pr_reg = dev->dev_pr_res_holder; in target_core_dev_pr_show_spc3_res()
1671 if (!pr_reg) in target_core_dev_pr_show_spc3_res()
1674 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_spc3_res()
1675 core_pr_dump_initiator_port(pr_reg, i_buf, PR_REG_ISID_ID_LEN); in target_core_dev_pr_show_spc3_res()
1755 struct t10_pr_registration *pr_reg; in target_pr_res_pr_holder_tg_port_show() local
1760 pr_reg = dev->dev_pr_res_holder; in target_pr_res_pr_holder_tg_port_show()
1761 if (!pr_reg) { in target_pr_res_pr_holder_tg_port_show()
1766 se_nacl = pr_reg->pr_reg_nacl; in target_pr_res_pr_holder_tg_port_show()
1775 " %s Logical Unit: %llu\n", pr_reg->tg_pt_sep_rtpi, in target_pr_res_pr_holder_tg_port_show()
[all …]
Dtarget_core_internal.h101 struct t10_pr_registration *pr_reg, int *format_code);
103 struct t10_pr_registration *pr_reg, int *format_code,
/Linux-v5.10/arch/m68k/include/asm/
Delf.h80 #define ELF_CORE_COPY_REGS(pr_reg, regs) \ argument
82 pr_reg[0] = regs->d1; \
83 pr_reg[1] = regs->d2; \
84 pr_reg[2] = regs->d3; \
85 pr_reg[3] = regs->d4; \
86 pr_reg[4] = regs->d5; \
87 pr_reg[7] = regs->a0; \
88 pr_reg[8] = regs->a1; \
89 pr_reg[9] = regs->a2; \
90 pr_reg[14] = regs->d0; \
[all …]
/Linux-v5.10/drivers/iommu/
Domap-iommu-debug.c30 #define pr_reg(name) \ macro
48 pr_reg(REVISION); in omap2_iommu_dump_ctx()
49 pr_reg(IRQSTATUS); in omap2_iommu_dump_ctx()
50 pr_reg(IRQENABLE); in omap2_iommu_dump_ctx()
51 pr_reg(WALKING_ST); in omap2_iommu_dump_ctx()
52 pr_reg(CNTL); in omap2_iommu_dump_ctx()
53 pr_reg(FAULT_AD); in omap2_iommu_dump_ctx()
54 pr_reg(TTB); in omap2_iommu_dump_ctx()
55 pr_reg(LOCK); in omap2_iommu_dump_ctx()
56 pr_reg(LD_TLB); in omap2_iommu_dump_ctx()
[all …]
/Linux-v5.10/include/linux/
Delfcore-compat.h34 compat_elf_gregset_t pr_reg; member
Delfcore.h46 elf_gregset_t pr_reg; /* GP registers */ member
/Linux-v5.10/arch/mips/kernel/
Dbinfmt_elfn32.c61 elf_gregset_t pr_reg; /* GP registers */ member
Dbinfmt_elfo32.c66 elf_gregset_t pr_reg; /* GP registers */ member
/Linux-v5.10/arch/ia64/kernel/
Dcrash.c44 elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg); in crash_save_this_cpu()
/Linux-v5.10/arch/s390/kernel/
Dcrash_dump.c365 memcpy(&nt_prstatus.pr_reg.gprs, sa->gprs, sizeof(sa->gprs)); in fill_cpu_elf_notes()
366 memcpy(&nt_prstatus.pr_reg.psw, sa->psw, sizeof(sa->psw)); in fill_cpu_elf_notes()
367 memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs)); in fill_cpu_elf_notes()
/Linux-v5.10/fs/
Dbinfmt_elf.c1742 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in fill_thread_core_info()
1965 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status()
2044 elf_core_copy_regs(&info->prstatus->pr_reg, regs); in fill_note_info()
Dbinfmt_elf_fdpic.c1206 elf_gregset_t pr_reg; /* GP registers */ member
1410 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in elf_dump_thread_status()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dopal-core.c115 elf_core_copy_kernel_regs(&(prstatus->pr_reg), regs); in fill_prstatus()
/Linux-v5.10/kernel/
Dkexec_core.c1081 elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); in crash_save_cpu()
/Linux-v5.10/arch/powerpc/kernel/
Dfadump.c749 elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); in fadump_regs_to_elf_notes()