Searched refs:sem_undo (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/include/uapi/linux/
H A Dsem.h30 struct sem_undo *undo; /* undo requests on this array */
89 #define SEMUSZ 20 /* sizeof struct sem_undo */
/linux-4.4.14/ipc/
H A Dsem.c108 struct sem_undo *undo; /* undo structure */
120 struct sem_undo { struct
124 struct rcu_head rcu; /* rcu struct for sem_undo */
133 /* sem_undo_list controls shared access to the list of sem_undo structures
158 * sem_undo.id_next,
161 * sem_array.sem_undo: global sem_lock() for read/write
162 * sem_undo.proc_next: only "current" is allowed to read/write that field.
619 struct sem_undo *un; perform_atomic_semop()
1089 struct sem_undo *un, *tu; freeary()
1270 struct sem_undo *un; semctl_setval()
1411 struct sem_undo *un; semctl_main()
1652 static struct sem_undo *__lookup_undo(struct sem_undo_list *ulp, int semid) __lookup_undo()
1654 struct sem_undo *un; __lookup_undo()
1663 static struct sem_undo *lookup_undo(struct sem_undo_list *ulp, int semid) lookup_undo()
1665 struct sem_undo *un; lookup_undo()
1685 * Lifetime-rules: sem_undo is rcu-protected, on success, the function
1688 static struct sem_undo *find_alloc_undo(struct ipc_namespace *ns, int semid) find_alloc_undo()
1692 struct sem_undo *un, *new; find_alloc_undo()
1723 new = kzalloc(sizeof(struct sem_undo) + sizeof(short)*nsems, GFP_KERNEL); find_alloc_undo()
1799 struct sem_undo *un; SYSCALL_DEFINE4()
2080 struct sem_undo *un; exit_sem()
2086 struct sem_undo, list_proc); exit_sem()
2090 * in case we raced with last sem_undo. There is a small exit_sem()

Completed in 39 milliseconds