Lines Matching refs:undo_list
200 * * undo_list->lock for write
1838 /* If the task doesn't already have a undo_list, then allocate one
1851 struct sem_undo_list *undo_list;
1853 undo_list = current->sysvsem.undo_list;
1854 if (!undo_list) {
1855 undo_list = kzalloc(sizeof(*undo_list), GFP_KERNEL_ACCOUNT);
1856 if (undo_list == NULL)
1858 spin_lock_init(&undo_list->lock);
1859 refcount_set(&undo_list->refcnt, 1);
1860 INIT_LIST_HEAD(&undo_list->list_proc);
1862 current->sysvsem.undo_list = undo_list;
1864 *undo_listp = undo_list;
2289 struct sem_undo_list *undo_list;
2293 error = get_undo_list(&undo_list);
2296 refcount_inc(&undo_list->refcnt);
2297 tsk->sysvsem.undo_list = undo_list;
2299 tsk->sysvsem.undo_list = NULL;
2320 ulp = tsk->sysvsem.undo_list;
2323 tsk->sysvsem.undo_list = NULL;