Lines Matching refs:context
135 if (mm->context.tag_store) { in find_tag_store()
136 tag_desc = mm->context.tag_store; in find_tag_store()
137 spin_lock_irqsave(&mm->context.tag_lock, flags); in find_tag_store()
144 spin_unlock_irqrestore(&mm->context.tag_lock, flags); in find_tag_store()
174 spin_lock_irqsave(&mm->context.tag_lock, flags); in alloc_tag_store()
175 if (mm->context.tag_store) { in alloc_tag_store()
176 tag_desc = mm->context.tag_store; in alloc_tag_store()
205 mm->context.tag_store = kzalloc(size, GFP_NOWAIT|__GFP_NOWARN); in alloc_tag_store()
206 if (mm->context.tag_store == NULL) { in alloc_tag_store()
210 tag_desc = mm->context.tag_store; in alloc_tag_store()
213 open_desc = mm->context.tag_store; in alloc_tag_store()
295 spin_unlock_irqrestore(&mm->context.tag_lock, flags); in alloc_tag_store()
304 spin_lock_irqsave(&mm->context.tag_lock, flags); in del_tag_store()
312 if (tag_desc != mm->context.tag_store) { in del_tag_store()
317 spin_unlock_irqrestore(&mm->context.tag_lock, flags); in del_tag_store()