/arch/ia64/kernel/ |
D | mca.c | 857 u64 fslot, tslot, nat; in copy_reg() local 862 nat = (fnat >> fslot) & 1; in copy_reg() 863 *tnat |= (nat << tslot); in copy_reg() 894 unsigned long *nat) in finish_pt_regs() argument 918 copy_reg(&ms->pmsa_gr[1-1], ms->pmsa_nat_bits, ®s->r1, nat); in finish_pt_regs() 919 copy_reg(&ms->pmsa_gr[2-1], ms->pmsa_nat_bits, ®s->r2, nat); in finish_pt_regs() 920 copy_reg(&ms->pmsa_gr[3-1], ms->pmsa_nat_bits, ®s->r3, nat); in finish_pt_regs() 921 copy_reg(&ms->pmsa_gr[8-1], ms->pmsa_nat_bits, ®s->r8, nat); in finish_pt_regs() 922 copy_reg(&ms->pmsa_gr[9-1], ms->pmsa_nat_bits, ®s->r9, nat); in finish_pt_regs() 923 copy_reg(&ms->pmsa_gr[10-1], ms->pmsa_nat_bits, ®s->r10, nat); in finish_pt_regs() [all …]
|
D | unaligned.c | 305 set_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long val, int nat) in set_rse_reg() argument 339 if (nat) in set_rse_reg() 364 (void *) rnat_addr, rnats, nat, (rnats >> ia64_rse_slot_num(addr)) & 1); in set_rse_reg() 367 if (nat) in set_rse_reg() 378 get_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long *val, int *nat) in get_rse_reg() argument 407 if (nat) { in get_rse_reg() 412 *nat = (*rnat_addr & nat_mask) != 0; in get_rse_reg() 431 if (nat) { in get_rse_reg() 438 *nat = (rnats & nat_mask) != 0; in get_rse_reg() 444 if (nat) in get_rse_reg() [all …]
|
D | ptrace.c | 113 ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat) in ia64_put_scratch_nat_bits() argument 115 # define PUT_BITS(first, last, nat) \ in ia64_put_scratch_nat_bits() argument 125 ia64_rotl(nat & mask, dist); \ in ia64_put_scratch_nat_bits() 134 scratch_unat = PUT_BITS( 1, 1, nat); in ia64_put_scratch_nat_bits() 135 scratch_unat |= PUT_BITS( 2, 3, nat); in ia64_put_scratch_nat_bits() 136 scratch_unat |= PUT_BITS(12, 13, nat); in ia64_put_scratch_nat_bits() 137 scratch_unat |= PUT_BITS(14, 14, nat); in ia64_put_scratch_nat_bits() 138 scratch_unat |= PUT_BITS(15, 15, nat); in ia64_put_scratch_nat_bits() 139 scratch_unat |= PUT_BITS( 8, 11, nat); in ia64_put_scratch_nat_bits() 140 scratch_unat |= PUT_BITS(16, 31, nat); in ia64_put_scratch_nat_bits() [all …]
|
D | signal.c | 54 unsigned long ip, flags, nat, um, cfm, rsc; in restore_sigcontext() local 62 err |= __get_user(nat, &sc->sc_nat); in restore_sigcontext() 86 scr->scratch_unat = ia64_put_scratch_nat_bits(&scr->pt, nat); in restore_sigcontext() 246 unsigned long flags = 0, ifs, cfm, nat; in setup_sigcontext() local 263 nat = ia64_get_scratch_nat_bits(&scr->pt, scr->scratch_unat); in setup_sigcontext() 266 err |= __put_user(nat, &sc->sc_nat); in setup_sigcontext()
|
D | process.c | 521 char nat; in do_copy_task_regs() local 553 unw_get_gr(info, i, &dst[i], &nat); in do_copy_task_regs() 554 if (nat) in do_copy_task_regs()
|
D | unwind.c | 283 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument 292 *nat = 0; in unw_access_gr() 306 nat_addr = addr + ireg->nat.off; in unw_access_gr() 307 switch (ireg->nat.type) { in unw_access_gr() 311 if (*nat) { in unw_access_gr() 322 *nat = 1; in unw_access_gr() 390 if (*nat) in unw_access_gr() 398 *nat = 0; in unw_access_gr() 401 *nat = 1; in unw_access_gr()
|
/arch/ia64/include/asm/ |
D | unwind.h | 86 } nat; member 198 unw_set_gr (struct unw_frame_info *i, int n, unsigned long v, char nat) in unw_set_gr() argument 200 return unw_access_gr(i, n, &v, &nat, 1); in unw_set_gr() 227 #define unw_get_gr(i,n,v,nat) unw_access_gr(i,n,v,nat,0) argument
|
D | ptrace.h | 316 extern unsigned long ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat); 338 unsigned long nat; member
|
D | processor.h | 620 ia64_set_unat (__u64 *unat, void *spill_addr, unsigned long nat) in ia64_set_unat() argument 625 *unat = (*unat & ~mask) | (nat << bit); in ia64_set_unat()
|
/arch/ia64/kvm/ |
D | vcpu.c | 297 unsigned long *val, int *nat) in get_rse_reg() argument 328 if (nat) { in get_rse_reg() 330 *nat = (int)!!(ia64_getreg(_IA64_REG_AR_RNAT) in get_rse_reg() 333 *nat = (int)!!((*rnat_addr) & nat_mask); in get_rse_reg() 339 unsigned long val, unsigned long nat) in set_rse_reg() argument 397 int *nat, struct kvm_pt_regs *regs) in getreg() argument 401 get_rse_reg(regs, regnum, val, nat); in getreg() 417 if (nat) in getreg() 418 *nat = (*unat >> ((addr >> 3) & 0x3f)) & 0x1UL; in getreg() 422 int nat, struct kvm_pt_regs *regs) in setreg() argument [all …]
|
D | vcpu.h | 698 u64 val, int nat);
|