Lines Matching refs:undo_list
1834 struct sem_undo_list *undo_list; in get_undo_list() local
1836 undo_list = current->sysvsem.undo_list; in get_undo_list()
1837 if (!undo_list) { in get_undo_list()
1838 undo_list = kzalloc(sizeof(*undo_list), GFP_KERNEL); in get_undo_list()
1839 if (undo_list == NULL) in get_undo_list()
1841 spin_lock_init(&undo_list->lock); in get_undo_list()
1842 refcount_set(&undo_list->refcnt, 1); in get_undo_list()
1843 INIT_LIST_HEAD(&undo_list->list_proc); in get_undo_list()
1845 current->sysvsem.undo_list = undo_list; in get_undo_list()
1847 *undo_listp = undo_list; in get_undo_list()
2271 struct sem_undo_list *undo_list; in copy_semundo() local
2275 error = get_undo_list(&undo_list); in copy_semundo()
2278 refcount_inc(&undo_list->refcnt); in copy_semundo()
2279 tsk->sysvsem.undo_list = undo_list; in copy_semundo()
2281 tsk->sysvsem.undo_list = NULL; in copy_semundo()
2302 ulp = tsk->sysvsem.undo_list; in exit_sem()
2305 tsk->sysvsem.undo_list = NULL; in exit_sem()