Searched refs:mm_ctx (Results 1 – 1 of 1) sorted by relevance
77 mm_context_t *mm_ctx = ¤t->mm->context; in alloc_emuframe() local81 spin_lock(&mm_ctx->bd_emupage_lock); in alloc_emuframe()84 if (!mm_ctx->bd_emupage_allocmap) { in alloc_emuframe()85 mm_ctx->bd_emupage_allocmap = bitmap_zalloc(emupage_frame_count, in alloc_emuframe()87 if (!mm_ctx->bd_emupage_allocmap) { in alloc_emuframe()94 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()105 spin_unlock(&mm_ctx->bd_emupage_lock); in alloc_emuframe()106 if (!wait_event_killable(mm_ctx->bd_emupage_queue, in alloc_emuframe()107 !bitmap_full(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()118 spin_unlock(&mm_ctx->bd_emupage_lock); in alloc_emuframe()[all …]