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

/linux-4.4.14/ipc/
H A Dsem.c161 * sem_array.sem_undo: global sem_lock() for read/write
165 * global or semaphore sem_lock() for read/write
298 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, sem_lock() function
409 *locknum = sem_lock(sma, sops, nsops); sem_obtain_lock()
411 /* ipc_rmid() may have already freed the ID while sem_lock sem_obtain_lock()
444 sem_lock(sma, NULL, -1); sem_lock_and_putref()
1313 sem_lock(sma, NULL, -1); semctl_setval()
1374 sem_lock(sma, NULL, -1); semctl_main()
1467 sem_lock(sma, NULL, -1); semctl_main()
1562 sem_lock(sma, NULL, -1); semctl_down()
1567 sem_lock(sma, NULL, -1); semctl_down()
1878 locknum = sem_lock(sma, sops, nsops); SYSCALL_DEFINE4()
1885 * entangled here and why it's RMID race safe on comments at sem_lock() SYSCALL_DEFINE4()
2115 sem_lock(sma, NULL, -1); exit_sem()
2187 * The proc interface isn't aware of sem_lock(), it calls sysvipc_sem_proc_show()
2189 * In order to stay compatible with sem_lock(), we must wait until sysvipc_sem_proc_show()
H A Dutil.c40 * see sem_lock().

Completed in 44 milliseconds