Searched refs:user_mm (Results 1 – 1 of 1) sorted by relevance
707 struct user_event_mm *user_mm; in user_event_mm_alloc() local709 user_mm = kzalloc(sizeof(*user_mm), GFP_KERNEL_ACCOUNT); in user_event_mm_alloc()711 if (!user_mm) in user_event_mm_alloc()714 user_mm->mm = t->mm; in user_event_mm_alloc()715 INIT_LIST_HEAD(&user_mm->enablers); in user_event_mm_alloc()716 refcount_set(&user_mm->refcnt, 1); in user_event_mm_alloc()717 refcount_set(&user_mm->tasks, 1); in user_event_mm_alloc()727 mmgrab(user_mm->mm); in user_event_mm_alloc()729 return user_mm; in user_event_mm_alloc()732 static void user_event_mm_attach(struct user_event_mm *user_mm, struct task_struct *t) in user_event_mm_attach() argument[all …]