tag | line | file | source code |
context | 143 | arch/alpha/kernel/process.c | p->mm->context = 0; |
context | 87 | arch/i386/kernel/signal.c | #define COPY(x) regs->x = context.x |
context | 89 | arch/i386/kernel/signal.c | if ((context.x & 0xfffc) && (context.x & 3) != 3) goto badframe; COPY(x); |
context | 91 | arch/i386/kernel/signal.c | if (!(context.x & 0xfffc) || (context.x & 3) != 3) goto badframe; COPY(x); |
context | 92 | arch/i386/kernel/signal.c | struct sigcontext_struct context; |
context | 96 | arch/i386/kernel/signal.c | if (verify_area(VERIFY_READ, (void *) regs->esp, sizeof(context))) |
context | 98 | arch/i386/kernel/signal.c | memcpy_fromfs(&context,(void *) regs->esp, sizeof(context)); |
context | 99 | arch/i386/kernel/signal.c | current->blocked = context.oldmask & _BLOCKABLE; |
context | 112 | arch/i386/kernel/signal.c | regs->eflags |= context.eflags & 0x40DD5; |
context | 114 | arch/i386/kernel/signal.c | if (context.fpstate) { |
context | 115 | arch/i386/kernel/signal.c | struct _fpstate * buf = context.fpstate; |
context | 120 | arch/i386/kernel/signal.c | return context.eax; |
context | 82 | arch/m68k/kernel/signal.c | struct sigcontext_struct context; |
context | 99 | arch/m68k/kernel/signal.c | if (verify_area(VERIFY_READ, (void *)usp, sizeof(context))) |
context | 102 | arch/m68k/kernel/signal.c | memcpy_fromfs(&context,(void *)usp, sizeof(context)); |
context | 104 | arch/m68k/kernel/signal.c | fp = usp + sizeof (context); |
context | 107 | arch/m68k/kernel/signal.c | current->blocked = context.sc_mask & _BLOCKABLE; |
context | 110 | arch/m68k/kernel/signal.c | regs->ptregs.d0 = context.sc_d0; |
context | 111 | arch/m68k/kernel/signal.c | regs->ptregs.d1 = context.sc_d1; |
context | 112 | arch/m68k/kernel/signal.c | regs->ptregs.a0 = context.sc_a0; |
context | 113 | arch/m68k/kernel/signal.c | regs->ptregs.a1 = context.sc_a1; |
context | 114 | arch/m68k/kernel/signal.c | regs->ptregs.sr = (regs->ptregs.sr & 0xff00)|(context.sc_sr & 0xff); |
context | 115 | arch/m68k/kernel/signal.c | regs->ptregs.pc = context.sc_pc; |
context | 117 | arch/m68k/kernel/signal.c | wrusp(context.sc_usp); |
context | 118 | arch/m68k/kernel/signal.c | formatvec = context.sc_formatvec; |
context | 121 | arch/m68k/kernel/signal.c | if (context.sc_fpstate[0]) |
context | 124 | arch/m68k/kernel/signal.c | if (context.sc_fpstate[0] != fpu_version){ |
context | 126 | arch/m68k/kernel/signal.c | printk("fpregs=%08x fpcntl=%08x\n", context.sc_fpregs, |
context | 127 | arch/m68k/kernel/signal.c | context.sc_fpcntl); |
context | 129 | arch/m68k/kernel/signal.c | (unsigned) context.sc_fpstate[0], (unsigned) fpu_version); |
context | 134 | arch/m68k/kernel/signal.c | printk("%02x ", context.sc_fpstate[i]); |
context | 143 | arch/m68k/kernel/signal.c | if (context.sc_fpstate[1] != 0x18 |
context | 144 | arch/m68k/kernel/signal.c | && context.sc_fpstate[1] != 0xb4) |
context | 149 | arch/m68k/kernel/signal.c | if (context.sc_fpstate[1] != 0x38 |
context | 150 | arch/m68k/kernel/signal.c | && context.sc_fpstate[1] != 0xd4){ |
context | 159 | arch/m68k/kernel/signal.c | if (!((context.sc_fpstate[1] == 0x00)|| \ |
context | 160 | arch/m68k/kernel/signal.c | (context.sc_fpstate[1] == 0x28)|| \ |
context | 161 | arch/m68k/kernel/signal.c | (context.sc_fpstate[1] == 0x60))){ |
context | 170 | arch/m68k/kernel/signal.c | if (!((context.sc_fpstate[1] == 0x00)|| \ |
context | 171 | arch/m68k/kernel/signal.c | (context.sc_fpstate[1] == 0x60)|| \ |
context | 172 | arch/m68k/kernel/signal.c | (context.sc_fpstate[1] == 0xe0))){ |
context | 182 | arch/m68k/kernel/signal.c | : "m" (*context.sc_fpregs), |
context | 183 | arch/m68k/kernel/signal.c | "m" (*context.sc_fpcntl)); |
context | 185 | arch/m68k/kernel/signal.c | __asm__ volatile ("frestore %0" : : "m" (*context.sc_fpstate)); |
context | 282 | arch/m68k/kernel/signal.c | struct sigcontext_struct context; |
context | 322 | arch/m68k/kernel/signal.c | context.sc_mask = oldmask; |
context | 323 | arch/m68k/kernel/signal.c | context.sc_usp = (unsigned long)*fp; |
context | 324 | arch/m68k/kernel/signal.c | context.sc_d0 = regs->ptregs.d0; |
context | 325 | arch/m68k/kernel/signal.c | context.sc_d1 = regs->ptregs.d1; |
context | 326 | arch/m68k/kernel/signal.c | context.sc_a0 = regs->ptregs.a0; |
context | 327 | arch/m68k/kernel/signal.c | context.sc_a1 = regs->ptregs.a1; |
context | 328 | arch/m68k/kernel/signal.c | context.sc_sr = regs->ptregs.sr; |
context | 329 | arch/m68k/kernel/signal.c | context.sc_pc = pc; |
context | 330 | arch/m68k/kernel/signal.c | context.sc_formatvec = (regs->ptregs.format << 12 | |
context | 333 | arch/m68k/kernel/signal.c | printk("formatvec: %02x\n", (unsigned) context.sc_formatvec); |
context | 335 | arch/m68k/kernel/signal.c | __asm__ volatile ("fsave %0" : : "m" (*context.sc_fpstate) : "memory"); |
context | 336 | arch/m68k/kernel/signal.c | if (context.sc_fpstate[0]) |
context | 338 | arch/m68k/kernel/signal.c | fpu_version = context.sc_fpstate[0]; |
context | 344 | arch/m68k/kernel/signal.c | printk("%02x ", context.sc_fpstate[i]); |
context | 348 | arch/m68k/kernel/signal.c | printk("fpregs=%08x fpcntl=%08x\n", context.sc_fpregs, |
context | 349 | arch/m68k/kernel/signal.c | context.sc_fpcntl); |
context | 354 | arch/m68k/kernel/signal.c | : "m" (*context.sc_fpregs), |
context | 355 | arch/m68k/kernel/signal.c | "m" (*context.sc_fpcntl) |
context | 363 | arch/m68k/kernel/signal.c | printk("%02x ", context.sc_fpstate[i]); |
context | 368 | arch/m68k/kernel/signal.c | memcpy_tofs (tframe, &context, sizeof(context)); |
context | 50 | arch/mips/kernel/signal.c | struct sigcontext_struct *context; |
context | 57 | arch/mips/kernel/signal.c | context = (struct sigcontext_struct *) regs->reg29; |
context | 58 | arch/mips/kernel/signal.c | if (verify_area(VERIFY_READ, context, sizeof(struct sigcontext_struct)) || |
context | 62 | arch/mips/kernel/signal.c | current->blocked = context->sc_oldmask & _BLOCKABLE; |
context | 63 | arch/mips/kernel/signal.c | regs->reg1 = context->sc_at; |
context | 64 | arch/mips/kernel/signal.c | regs->reg2 = context->sc_v0; |
context | 65 | arch/mips/kernel/signal.c | regs->reg3 = context->sc_v1; |
context | 66 | arch/mips/kernel/signal.c | regs->reg4 = context->sc_a0; |
context | 67 | arch/mips/kernel/signal.c | regs->reg5 = context->sc_a1; |
context | 68 | arch/mips/kernel/signal.c | regs->reg6 = context->sc_a2; |
context | 69 | arch/mips/kernel/signal.c | regs->reg7 = context->sc_a3; |
context | 70 | arch/mips/kernel/signal.c | regs->reg8 = context->sc_t0; |
context | 71 | arch/mips/kernel/signal.c | regs->reg9 = context->sc_t1; |
context | 72 | arch/mips/kernel/signal.c | regs->reg10 = context->sc_t2; |
context | 73 | arch/mips/kernel/signal.c | regs->reg11 = context->sc_t3; |
context | 74 | arch/mips/kernel/signal.c | regs->reg12 = context->sc_t4; |
context | 75 | arch/mips/kernel/signal.c | regs->reg13 = context->sc_t5; |
context | 76 | arch/mips/kernel/signal.c | regs->reg14 = context->sc_t6; |
context | 77 | arch/mips/kernel/signal.c | regs->reg15 = context->sc_t7; |
context | 78 | arch/mips/kernel/signal.c | regs->reg16 = context->sc_s0; |
context | 79 | arch/mips/kernel/signal.c | regs->reg17 = context->sc_s1; |
context | 80 | arch/mips/kernel/signal.c | regs->reg18 = context->sc_s2; |
context | 81 | arch/mips/kernel/signal.c | regs->reg19 = context->sc_s3; |
context | 82 | arch/mips/kernel/signal.c | regs->reg20 = context->sc_s4; |
context | 83 | arch/mips/kernel/signal.c | regs->reg21 = context->sc_s5; |
context | 84 | arch/mips/kernel/signal.c | regs->reg22 = context->sc_s6; |
context | 85 | arch/mips/kernel/signal.c | regs->reg23 = context->sc_s7; |
context | 86 | arch/mips/kernel/signal.c | regs->reg24 = context->sc_t8; |
context | 87 | arch/mips/kernel/signal.c | regs->reg25 = context->sc_t9; |
context | 91 | arch/mips/kernel/signal.c | regs->reg28 = context->sc_gp; |
context | 92 | arch/mips/kernel/signal.c | regs->reg29 = context->sc_sp; |
context | 93 | arch/mips/kernel/signal.c | regs->reg30 = context->sc_fp; |
context | 94 | arch/mips/kernel/signal.c | regs->reg31 = context->sc_ra; |
context | 95 | arch/mips/kernel/signal.c | regs->cp0_epc = context->sc_epc; |
context | 96 | arch/mips/kernel/signal.c | regs->cp0_cause = context->sc_cause; |
context | 102 | arch/mips/kernel/signal.c | return context->sc_v0; |
context | 531 | arch/sparc/kernel/smp.c | if(mm->context != NO_CONTEXT) |
context | 537 | arch/sparc/kernel/smp.c | if(mm->context != NO_CONTEXT) |
context | 544 | arch/sparc/kernel/smp.c | if(mm->context != NO_CONTEXT) |
context | 552 | arch/sparc/kernel/smp.c | if(mm->context != NO_CONTEXT) |
context | 208 | arch/sparc/mm/fault.c | (unsigned long) current->mm->context); |
context | 238 | arch/sparc/mm/srmmu.c | if(tsk->mm->context != NO_CONTEXT) |
context | 239 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[tsk->mm->context], pgdp); |
context | 437 | arch/sparc/mm/srmmu.c | mm->context = ctxp->ctx_number; |
context | 450 | arch/sparc/mm/srmmu.c | ctxp->ctx_mm->context = NO_CONTEXT; |
context | 452 | arch/sparc/mm/srmmu.c | mm->context = ctxp->ctx_number; |
context | 465 | arch/sparc/mm/srmmu.c | if(tsk->mm->context == NO_CONTEXT) { |
context | 467 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[tsk->mm->context], tsk->mm->pgd); |
context | 469 | arch/sparc/mm/srmmu.c | srmmu_set_context(tsk->mm->context); |
context | 562 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 575 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 589 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 640 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 653 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 668 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 672 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 701 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 713 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 726 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 763 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) |
context | 772 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) |
context | 781 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) |
context | 816 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 827 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 839 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 952 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 955 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 969 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 972 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 991 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 994 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1021 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1024 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1038 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1041 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1060 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1063 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1082 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1095 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1115 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1119 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1173 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1177 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1192 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1196 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1216 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1220 | arch/sparc/mm/srmmu.c | srmmu_set_context(mm->context); |
context | 1242 | arch/sparc/mm/srmmu.c | if(tsk->mm->context != NO_CONTEXT) { |
context | 1244 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[tsk->mm->context], pgdp); |
context | 1273 | arch/sparc/mm/srmmu.c | if(tsk->mm->context == NO_CONTEXT) { |
context | 1275 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[tsk->mm->context], tsk->mm->pgd); |
context | 1277 | arch/sparc/mm/srmmu.c | srmmu_set_context(tsk->mm->context); |
context | 1944 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1946 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[mm->context], swapper_pg_dir); |
context | 1948 | arch/sparc/mm/srmmu.c | ctx_old = ctx_list_pool + mm->context; |
context | 1951 | arch/sparc/mm/srmmu.c | mm->context = NO_CONTEXT; |
context | 1959 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[current->mm->context], current->mm->pgd); |
context | 1960 | arch/sparc/mm/srmmu.c | srmmu_set_context(current->mm->context); |
context | 1969 | arch/sparc/mm/srmmu.c | if(mm->context != NO_CONTEXT) { |
context | 1976 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[mm->context], swapper_pg_dir); |
context | 1978 | arch/sparc/mm/srmmu.c | ctx_old = ctx_list_pool + mm->context; |
context | 1981 | arch/sparc/mm/srmmu.c | mm->context = NO_CONTEXT; |
context | 1990 | arch/sparc/mm/srmmu.c | ctxd_set(&srmmu_context_table[current->mm->context], current->mm->pgd); |
context | 1991 | arch/sparc/mm/srmmu.c | srmmu_set_context(current->mm->context); |
context | 974 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 979 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 994 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 1005 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 1042 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 1047 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 1097 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 1099 | arch/sparc/mm/sun4c.c | crp = &sun4c_context_ring[mm->context]; |
context | 1101 | arch/sparc/mm/sun4c.c | ctx = mm->context; |
context | 1103 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 1122 | arch/sparc/mm/sun4c.c | if(mm->context == NO_CONTEXT) |
context | 1127 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 1135 | arch/sparc/mm/sun4c.c | free_user_entry(mm->context, this_entry); |
context | 1148 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 1151 | arch/sparc/mm/sun4c.c | sun4c_set_context(mm->context); |
context | 1196 | arch/sparc/mm/sun4c.c | mm->context = ctxp->ctx_number; |
context | 1207 | arch/sparc/mm/sun4c.c | ctxp->ctx_mm->context = NO_CONTEXT; |
context | 1209 | arch/sparc/mm/sun4c.c | mm->context = ctxp->ctx_number; |
context | 1238 | arch/sparc/mm/sun4c.c | if(tsk->mm->context == NO_CONTEXT) |
context | 1241 | arch/sparc/mm/sun4c.c | sun4c_set_context(tsk->mm->context); |
context | 1248 | arch/sparc/mm/sun4c.c | sun4c_set_context(current->mm->context); |
context | 1257 | arch/sparc/mm/sun4c.c | if(mm->context != NO_CONTEXT) { |
context | 1258 | arch/sparc/mm/sun4c.c | sun4c_demap_context(&sun4c_context_ring[mm->context], mm->context); |
context | 1259 | arch/sparc/mm/sun4c.c | ctx_old = ctx_list_pool + mm->context; |
context | 1262 | arch/sparc/mm/sun4c.c | mm->context = NO_CONTEXT; |
context | 61 | include/asm-alpha/mmu_context.h | mm->context = asn; /* full version + asn */ |
context | 84 | include/asm-alpha/mmu_context.h | if ((mm->context ^ asn) & ASN_VERSION_MASK) |
context | 51 | include/asm-alpha/pgtable.h | #define flush_tlb_other(mm) do { (mm)->context = 0; } while (0) |
context | 12 | include/asm-sparc/mmu_context.h | #define init_new_context(mm) ((mm)->context = NO_CONTEXT) |
context | 182 | include/asm-sparc/oplib.h | int context, char *program_counter); |
context | 208 | include/asm-sparc/oplib.h | extern void prom_putsegment(int context, unsigned long virt_addr, |
context | 41 | include/asm-sparc/page.h | int context; |
context | 131 | include/asm-sparc/pgtsrmmu.h | extern inline void srmmu_set_context(int context) |
context | 134 | include/asm-sparc/pgtsrmmu.h | "r" (context), "r" (SRMMU_CTX_REG), |
context | 146 | include/linux/sched.h | unsigned long context; |
context | 117 | include/linux/sysctl.h | void **context); |
context | 136 | include/linux/sysctl.h | void *newval, size_t newlen, void ** context); |
context | 172 | kernel/sysctl.c | void *context; |
context | 193 | kernel/sysctl.c | context = 0; |
context | 195 | kernel/sysctl.c | newval, newlen, root_table, &context); |
context | 196 | kernel/sysctl.c | if (context) |
context | 197 | kernel/sysctl.c | kfree(context); |
context | 253 | kernel/sysctl.c | ctl_table *table, void **context) |
context | 270 | kernel/sysctl.c | newval, newlen, context); |
context | 281 | kernel/sysctl.c | newval, newlen, context); |
context | 292 | kernel/sysctl.c | void *newval, size_t newlen, void **context) |
context | 305 | kernel/sysctl.c | newval, newlen, context); |
context | 340 | kernel/sysctl.c | void *newval, size_t newlen, void **context) |
context | 726 | kernel/sysctl.c | void *newval, size_t newlen, void **context) |
context | 762 | kernel/sysctl.c | void *newval, size_t newlen, void **context) |