Lines Matching defs:context
70 #define FLUSH_BEGIN(mm) if((mm)->context != NO_CONTEXT) {
125 /* The context table is a nocache user with the biggest alignment needs. */
535 mm->context = ctxp->ctx_number;
548 ctxp->ctx_mm->context = NO_CONTEXT;
550 mm->context = ctxp->ctx_number;
553 static inline void free_context(int context)
557 ctx_old = ctx_list_pool + context;
566 if(mm->context == NO_CONTEXT) {
570 srmmu_ctxd_set(&srmmu_context_table[mm->context], mm->pgd);
579 srmmu_set_context(mm->context);
739 if ((ctx1 = vma->vm_mm->context) != -1) {
741 /* Is context # ever different from current context? P3 */
799 srmmu_set_context(mm->context);
836 srmmu_set_context(mm->context);
878 srmmu_set_context(mm->context);
961 : "r" (SRMMU_CTX_REG), "r" (0x300), "r" (mm->context),
984 : "r" (SRMMU_CTX_REG), "r" (mm->context), "r" (start | 0x200),
1002 : "r" (SRMMU_CTX_REG), "r" (mm->context), "r" (page & PAGE_MASK),
1382 if(mm->context != NO_CONTEXT) {
1384 srmmu_ctxd_set(&srmmu_context_table[mm->context], srmmu_swapper_pg_dir);
1387 free_context(mm->context);
1389 mm->context = NO_CONTEXT;