Searched refs:semaphore (Results 1 – 1 of 1) sorted by relevance
2419 struct sem *semaphore = &sma->sems[i]; in exit_sem() local2421 semaphore->semval += un->semadj[i]; in exit_sem()2435 if (semaphore->semval < 0) in exit_sem()2436 semaphore->semval = 0; in exit_sem()2437 if (semaphore->semval > SEMVMX) in exit_sem()2438 semaphore->semval = SEMVMX; in exit_sem()2439 ipc_update_pid(&semaphore->sempid, task_tgid(current)); in exit_sem()