/linux-4.4.14/arch/x86/um/asm/ |
H A D | elf.h | 150 #define ELF_CORE_COPY_REGS(pr_reg, _regs) \ 151 (pr_reg)[0] = (_regs)->regs.gp[0]; \ 152 (pr_reg)[1] = (_regs)->regs.gp[1]; \ 153 (pr_reg)[2] = (_regs)->regs.gp[2]; \ 154 (pr_reg)[3] = (_regs)->regs.gp[3]; \ 155 (pr_reg)[4] = (_regs)->regs.gp[4]; \ 156 (pr_reg)[5] = (_regs)->regs.gp[5]; \ 157 (pr_reg)[6] = (_regs)->regs.gp[6]; \ 158 (pr_reg)[7] = (_regs)->regs.gp[7]; \ 159 (pr_reg)[8] = (_regs)->regs.gp[8]; \ 160 (pr_reg)[9] = (_regs)->regs.gp[9]; \ 161 (pr_reg)[10] = (_regs)->regs.gp[10]; \ 162 (pr_reg)[11] = (_regs)->regs.gp[11]; \ 163 (pr_reg)[12] = (_regs)->regs.gp[12]; \ 164 (pr_reg)[13] = (_regs)->regs.gp[13]; \ 165 (pr_reg)[14] = (_regs)->regs.gp[14]; \ 166 (pr_reg)[15] = (_regs)->regs.gp[15]; \ 167 (pr_reg)[16] = (_regs)->regs.gp[16]; \ 168 (pr_reg)[17] = (_regs)->regs.gp[17]; \ 169 (pr_reg)[18] = (_regs)->regs.gp[18]; \ 170 (pr_reg)[19] = (_regs)->regs.gp[19]; \ 171 (pr_reg)[20] = (_regs)->regs.gp[20]; \
|
/linux-4.4.14/arch/h8300/include/asm/ |
H A D | processor.h | 85 #define start_thread(_regs, _pc, _usp) \ 87 (_regs)->pc = (_pc); \ 88 (_regs)->ccr = 0x00; /* clear all flags */ \ 89 (_regs)->er5 = current->mm->start_data; /* GOT base */ \ 90 (_regs)->sp = ((unsigned long)(_usp)) - sizeof(unsigned long) * 3; \ 94 #define start_thread(_regs, _pc, _usp) \ 96 (_regs)->pc = (_pc); \ 97 (_regs)->ccr = 0x00; /* clear kernel flag */ \ 98 (_regs)->exr = 0x78; /* enable all interrupts */ \ 99 (_regs)->er5 = current->mm->start_data; /* GOT base */ \ 101 (_regs)->sp = ((unsigned long)(_usp)) - 14; \
|
/linux-4.4.14/arch/c6x/include/asm/ |
H A D | elf.h | 36 #define ELF_FDPIC_PLAT_INIT(_regs, _exec_map, _interp_map, _dynamic_addr) \ 38 _regs->b4 = (_exec_map); \ 39 _regs->a6 = (_interp_map); \ 40 _regs->b6 = (_dynamic_addr); \ 65 #define ELF_CORE_COPY_REGS(_dest, _regs) \ 66 memcpy((char *) &_dest, (char *) _regs, \
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | processor.h | 108 #define setframeformat(_regs) do { (_regs)->format = 0x4; } while(0) 110 #define setframeformat(_regs) do { } while (0) 130 #define start_thread(_regs, _pc, _usp) \ 132 (_regs)->pc = (_pc); \ 133 setframeformat(_regs); \ 135 (_regs)->d5 = current->mm->start_data; \ 136 (_regs)->sr &= ~0x2000; \
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | processor.h | 80 #define start_thread(_regs, _pc, _usp) \ 82 _regs->pc = (_pc); \ 83 _regs->psr &= ~PSR_S; \ 84 _regs->sp = (_usp); \
|
H A D | elf.h | 101 #define ELF_FDPIC_PLAT_INIT(_regs, _exec_map_addr, _interp_map_addr, _dynamic_addr) \
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | elf.h | 53 #define ELF_FDPIC_PLAT_INIT(_regs, _exec_map_addr, _interp_map_addr, _dynamic_addr) \ 55 _regs->r7 = 0; \ 56 _regs->p0 = _exec_map_addr; \ 57 _regs->p1 = _interp_map_addr; \ 58 _regs->p2 = _dynamic_addr; \
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | processor_64.h | 159 #define start_thread(_regs, new_pc, new_sp) \ 160 _regs->sr = SR_USER; /* User mode. */ \ 161 _regs->pc = new_pc - 4; /* Compensate syscall exit */ \ 162 _regs->pc |= 1; /* Set SHmedia ! */ \ 163 _regs->regs[18] = 0; \ 164 _regs->regs[15] = new_sp
|
H A D | ptrace.h | 16 #define kernel_stack_pointer(_regs) ((unsigned long)(_regs)->regs[15])
|
H A D | elf.h | 116 #define ELF_CORE_COPY_REGS(_dest,_regs) \ 117 memcpy((char *) &_dest, (char *) _regs, \
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
H A D | debug.h | 100 u32 name##_sum[ARRAY_SIZE(name##_regs)], \ 101 name##_counter[ARRAY_SIZE(name##_regs)] \ 104 u32 name##_counter[ARRAY_SIZE(name##_regs)] \
|
H A D | debug.c | 462 u32 __tmp[ARRAY_SIZE(name##_regs)]; \ 465 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \ 466 __tmp[__i] = name##_regs[__i].reg; \ 471 __err = carl9170_read_mreg(ar, ARRAY_SIZE(name##_regs), \ 478 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \ 491 max_len = ARRAY_SIZE(name##_regs) * 80; \ 504 for (i = 0; i < ARRAY_SIZE(name##_regs); i++) { \ 506 name##_regs[i].nreg, ar->debug.stats.name ##_sum[i],\ 521 max_len = ARRAY_SIZE(name##_regs) * 80; \ 532 for (i = 0; i < ARRAY_SIZE(name##_regs); i++) { \ 534 name##_regs[i].nreg, \
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | ptrace.h | 95 struct pt_regs *_regs = (regs); \ 96 !user_mode(_regs) && user_stack(_task, _regs); \
|
H A D | elf.h | 193 #define ELF_CORE_COPY_REGS(_dest,_regs) ia64_elf_core_copy_regs(_regs, _dest);
|
H A D | processor.h | 349 struct pt_regs *_regs = task_pt_regs(tsk); \ 350 _regs->cr_iip + ia64_psr(_regs)->ri; \
|
/linux-4.4.14/arch/metag/include/asm/ |
H A D | elf.h | 89 #define ELF_CORE_COPY_REGS(_dest, _regs) \ 90 memcpy((char *)&_dest, (char *)_regs, sizeof(struct pt_regs));
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
H A D | elf.h | 86 #define ELF_CORE_COPY_REGS(_dest, _regs) \ 87 memcpy((char *) &_dest, (char *) _regs, \
|
/linux-4.4.14/arch/arm/probes/ |
H A D | decode.h | 335 #define DECODE_HEADER(_type, _mask, _value, _regs) \ 336 {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \ 366 #define DECODE_SIMULATEX(_mask, _value, _handler, _regs) \ 367 DECODE_HEADER(DECODE_TYPE_SIMULATE, _mask, _value, _regs), \ 379 #define DECODE_EMULATEX(_mask, _value, _handler, _regs) \ 380 DECODE_HEADER(DECODE_TYPE_EMULATE, _mask, _value, _regs), \
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | elf.h | 96 #define ELF_CORE_COPY_REGS(_dest, _regs) \ 97 memcpy((char *) &_dest, (char *) _regs, \
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | kvm_emulate.h | 325 /* bitmaps of registers in _regs[] that can be read */ 327 /* bitmaps of registers in _regs[] that have been written */ 340 unsigned long _regs[NR_VCPU_REGS]; member in struct:x86_emulate_ctxt
|
/linux-4.4.14/drivers/ptp/ |
H A D | ptp_pch.c | 614 if (!request_mem_region(chip->mem_base, chip->mem_size, "1588_regs")) { pch_probe()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | traps.c | 456 #define una_reg(r) (_regs[(r) >= 16 && (r) <= 18 ? (r)+19 : (r)]) 465 unsigned long *_regs = regs->regs; do_entUna() local
|
/linux-4.4.14/include/linux/ |
H A D | trace_events.h | 463 * Helper function for event_trigger_unlock_commit{_regs}().
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | debug-mmrs.c | 41 #define REGS_OFF(peri, mmr) offsetof(struct bfin_##peri##_regs, mmr) 44 struct bfin_##peri##_regs r; \
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | emulate.c | 265 ctxt->_regs[nr] = ctxt->ops->read_gpr(ctxt, nr); reg_read() 267 return ctxt->_regs[nr]; reg_read() 274 return &ctxt->_regs[nr]; reg_write() 288 ctxt->ops->write_gpr(ctxt, reg, ctxt->_regs[reg]); writeback_registers()
|