Home
last modified time | relevance | path

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

/Linux-v5.10/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 = in alloc_emuframe()
90 if (!mm_ctx->bd_emupage_allocmap) { in alloc_emuframe()
97 idx = bitmap_find_free_region(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
108 spin_unlock(&mm_ctx->bd_emupage_lock); in alloc_emuframe()
109 if (!wait_event_killable(mm_ctx->bd_emupage_queue, in alloc_emuframe()
110 !bitmap_full(mm_ctx->bd_emupage_allocmap, in alloc_emuframe()
121 spin_unlock(&mm_ctx->bd_emupage_lock); in alloc_emuframe()
[all …]