Home
last modified time | relevance | path

Searched refs:nat (Results 1 – 11 of 11) sorted by relevance

/arch/ia64/kernel/
Dmca.c857 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, &regs->r1, nat); in finish_pt_regs()
919 copy_reg(&ms->pmsa_gr[2-1], ms->pmsa_nat_bits, &regs->r2, nat); in finish_pt_regs()
920 copy_reg(&ms->pmsa_gr[3-1], ms->pmsa_nat_bits, &regs->r3, nat); in finish_pt_regs()
921 copy_reg(&ms->pmsa_gr[8-1], ms->pmsa_nat_bits, &regs->r8, nat); in finish_pt_regs()
922 copy_reg(&ms->pmsa_gr[9-1], ms->pmsa_nat_bits, &regs->r9, nat); in finish_pt_regs()
923 copy_reg(&ms->pmsa_gr[10-1], ms->pmsa_nat_bits, &regs->r10, nat); in finish_pt_regs()
[all …]
Dunaligned.c305 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 …]
Dptrace.c113 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 …]
Dsignal.c54 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()
Dprocess.c521 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()
Dunwind.c283 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/
Dunwind.h86 } 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
Dptrace.h316 extern unsigned long ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat);
338 unsigned long nat; member
Dprocessor.h620 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/
Dvcpu.c297 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 …]
Dvcpu.h698 u64 val, int nat);