Home
last modified time | relevance | path

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

/linux-6.1.9/arch/mips/math-emu/
Ddsemul.c77 mm_context_t *mm_ctx = &current->mm->context; in alloc_emuframe() local
81 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 …]