tag | line | file | source code |
ctx | 179 | arch/sparc/mm/sun4c.c | static inline void add_pseg_ctxlist(struct pseg_list *entry, int ctx) |
ctx | 181 | arch/sparc/mm/sun4c.c | struct pseg_list *head = &s4cpseg_per_context[ctx]; |
ctx | 186 | arch/sparc/mm/sun4c.c | pseg_count_per_context[ctx]++; |
ctx | 189 | arch/sparc/mm/sun4c.c | static inline void remove_pseg_ctxlist(struct pseg_list *entry, int ctx) |
ctx | 193 | arch/sparc/mm/sun4c.c | pseg_count_per_context[ctx]--; |
ctx | 221 | arch/sparc/mm/sun4c.c | int ctx, save_ctx; |
ctx | 226 | arch/sparc/mm/sun4c.c | for(ctx = 0; ctx < num_contexts; ctx++) { |
ctx | 227 | arch/sparc/mm/sun4c.c | set_context(ctx); |
ctx | 237 | arch/sparc/mm/sun4c.c | int ctx, save_ctx; |
ctx | 245 | arch/sparc/mm/sun4c.c | for(ctx = 0; ctx < num_contexts; ctx++) { |
ctx | 246 | arch/sparc/mm/sun4c.c | set_context(ctx); |
ctx | 303 | arch/sparc/mm/sun4c.c | static inline void sun4c_unload_context_from_tlb(unsigned char ctx) |
ctx | 307 | arch/sparc/mm/sun4c.c | if(pseg_count_per_context[ctx]) { |
ctx | 309 | arch/sparc/mm/sun4c.c | psegp = s4cpseg_per_context[ctx].ctx_next; |
ctx | 310 | arch/sparc/mm/sun4c.c | while(psegp != &s4cpseg_per_context[ctx]) { |
ctx | 315 | arch/sparc/mm/sun4c.c | remove_pseg_ctxlist(psegp, ctx); |
ctx | 320 | arch/sparc/mm/sun4c.c | if(pseg_count_per_context[ctx]) |
ctx | 481 | arch/sparc/mm/sun4c.c | int ctx = tsk->tss.context; |
ctx | 487 | arch/sparc/mm/sun4c.c | if(tsk->pid == 0 || ctx != -1) |
ctx | 492 | arch/sparc/mm/sun4c.c | ctx = ctxp->ctx_number; |
ctx | 495 | arch/sparc/mm/sun4c.c | tsk->tss.context = ctx; |
ctx | 757 | arch/sparc/mm/sun4c.c | int ctx; |
ctx | 765 | arch/sparc/mm/sun4c.c | for(ctx=0;ctx<num_contexts;ctx++) |
ctx | 766 | arch/sparc/mm/sun4c.c | prom_putsegment(ctx,a,psegp->pseg); |
ctx | 807 | arch/sparc/mm/sun4c.c | int phys_seg, i, ctx; |
ctx | 820 | arch/sparc/mm/sun4c.c | for(ctx=0; ctx<num_contexts;ctx++) |
ctx | 821 | arch/sparc/mm/sun4c.c | prom_putsegment(ctx,kern_begin,pseg); |
ctx | 826 | arch/sparc/mm/sun4c.c | for(ctx=0; ctx<num_contexts;ctx++) |
ctx | 827 | arch/sparc/mm/sun4c.c | prom_putsegment(ctx, kern_begin, invalid_segment); |
ctx | 835 | arch/sparc/mm/sun4c.c | for(ctx=0; ctx<num_contexts; ctx++) |
ctx | 836 | arch/sparc/mm/sun4c.c | prom_putsegment(ctx,prom_begin,pseg); |
ctx | 840 | arch/sparc/mm/sun4c.c | for(ctx=0; ctx<num_contexts;ctx++) { |
ctx | 841 | arch/sparc/mm/sun4c.c | set_context(ctx); |
ctx | 934 | arch/sparc/mm/sun4c.c | for(ctx = 0; ctx < num_contexts; ctx++) { |
ctx | 937 | arch/sparc/mm/sun4c.c | clist = (ctx_list_pool + ctx); |
ctx | 938 | arch/sparc/mm/sun4c.c | clist->ctx_number = ctx; |
ctx | 943 | arch/sparc/mm/sun4c.c | for(ctx = 0; ctx < num_contexts; ctx++) |
ctx | 944 | arch/sparc/mm/sun4c.c | add_to_free_ctxlist(ctx_list_pool + ctx); |
ctx | 17 | arch/sparc/prom/mp.c | prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) |
ctx | 25 | arch/sparc/prom/mp.c | return (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc); |
ctx | 16 | arch/sparc/prom/segment.c | prom_putsegment(int ctx, unsigned long vaddr, int segment) |
ctx | 18 | arch/sparc/prom/segment.c | (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment); |
ctx | 298 | include/asm-sparc/page.h | register int ctx; |
ctx | 301 | include/asm-sparc/page.h | "=r" (ctx) : |
ctx | 304 | include/asm-sparc/page.h | return ctx; |
ctx | 307 | include/asm-sparc/page.h | extern __inline__ int set_context(int ctx) |
ctx | 310 | include/asm-sparc/page.h | "r" (ctx), "r" (AC_CONTEXT), "i" (ASI_CONTROL)); |
ctx | 312 | include/asm-sparc/page.h | return ctx; |