Home
last modified time | relevance | path

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

/arch/ia64/kernel/
Dmca.c860 u64 fslot, tslot, nat; in copy_reg() local
865 nat = (fnat >> fslot) & 1; in copy_reg()
866 *tnat |= (nat << tslot); in copy_reg()
897 unsigned long *nat) in finish_pt_regs() argument
921 copy_reg(&ms->pmsa_gr[1-1], ms->pmsa_nat_bits, &regs->r1, nat); in finish_pt_regs()
922 copy_reg(&ms->pmsa_gr[2-1], ms->pmsa_nat_bits, &regs->r2, nat); in finish_pt_regs()
923 copy_reg(&ms->pmsa_gr[3-1], ms->pmsa_nat_bits, &regs->r3, nat); in finish_pt_regs()
924 copy_reg(&ms->pmsa_gr[8-1], ms->pmsa_nat_bits, &regs->r8, nat); in finish_pt_regs()
925 copy_reg(&ms->pmsa_gr[9-1], ms->pmsa_nat_bits, &regs->r9, nat); in finish_pt_regs()
926 copy_reg(&ms->pmsa_gr[10-1], ms->pmsa_nat_bits, &regs->r10, nat); in finish_pt_regs()
[all …]
Dunaligned.c308 set_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long val, int nat) in set_rse_reg() argument
342 if (nat) in set_rse_reg()
367 (void *) rnat_addr, rnats, nat, (rnats >> ia64_rse_slot_num(addr)) & 1); in set_rse_reg()
370 if (nat) in set_rse_reg()
381 get_rse_reg (struct pt_regs *regs, unsigned long r1, unsigned long *val, int *nat) in get_rse_reg() argument
410 if (nat) { in get_rse_reg()
415 *nat = (*rnat_addr & nat_mask) != 0; in get_rse_reg()
434 if (nat) { in get_rse_reg()
441 *nat = (rnats & nat_mask) != 0; in get_rse_reg()
447 if (nat) in get_rse_reg()
[all …]
Dsignal.c46 unsigned long ip, flags, nat, um, cfm, rsc; in restore_sigcontext() local
54 err |= __get_user(nat, &sc->sc_nat); in restore_sigcontext()
78 scr->scratch_unat = ia64_put_scratch_nat_bits(&scr->pt, nat); in restore_sigcontext()
168 unsigned long flags = 0, ifs, cfm, nat; in setup_sigcontext() local
185 nat = ia64_get_scratch_nat_bits(&scr->pt, scr->scratch_unat); in setup_sigcontext()
188 err |= __put_user(nat, &sc->sc_nat); in setup_sigcontext()
Dptrace.c112 ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat) in ia64_put_scratch_nat_bits() argument
114 # define PUT_BITS(first, last, nat) \ in ia64_put_scratch_nat_bits() argument
124 ia64_rotl(nat & mask, dist); \ in ia64_put_scratch_nat_bits()
133 scratch_unat = PUT_BITS( 1, 1, nat); in ia64_put_scratch_nat_bits()
134 scratch_unat |= PUT_BITS( 2, 3, nat); in ia64_put_scratch_nat_bits()
135 scratch_unat |= PUT_BITS(12, 13, nat); in ia64_put_scratch_nat_bits()
136 scratch_unat |= PUT_BITS(14, 14, nat); in ia64_put_scratch_nat_bits()
137 scratch_unat |= PUT_BITS(15, 15, nat); in ia64_put_scratch_nat_bits()
138 scratch_unat |= PUT_BITS( 8, 11, nat); in ia64_put_scratch_nat_bits()
139 scratch_unat |= PUT_BITS(16, 31, nat); in ia64_put_scratch_nat_bits()
[all …]
Dprocess.c425 char nat; in do_copy_task_regs() local
457 unw_get_gr(info, i, &dst[i], &nat); in do_copy_task_regs()
458 if (nat) in do_copy_task_regs()
Dunwind.c284 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument
293 *nat = 0; in unw_access_gr()
307 nat_addr = addr + ireg->nat.off; in unw_access_gr()
308 switch (ireg->nat.type) { in unw_access_gr()
312 if (*nat) { in unw_access_gr()
323 *nat = 1; in unw_access_gr()
391 if (*nat) in unw_access_gr()
399 *nat = 0; in unw_access_gr()
402 *nat = 1; in unw_access_gr()
/arch/ia64/include/asm/
Dunwind.h87 } nat; member
199 unw_set_gr (struct unw_frame_info *i, int n, unsigned long v, char nat) in unw_set_gr() argument
201 return unw_access_gr(i, n, &v, &nat, 1); in unw_set_gr()
228 #define unw_get_gr(i,n,v,nat) unw_access_gr(i,n,v,nat,0) argument
Dptrace.h126 extern unsigned long ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat);
Dprocessor.h587 ia64_set_unat (__u64 *unat, void *spill_addr, unsigned long nat) in ia64_set_unat() argument
592 *unat = (*unat & ~mask) | (nat << bit); in ia64_set_unat()
/arch/ia64/include/uapi/asm/
Dptrace.h210 unsigned long nat; member