Searched refs:semaphore (Results 1 – 1 of 1) sorted by relevance
2379 struct sem *semaphore = &sma->sems[i]; in exit_sem() local2381 semaphore->semval += un->semadj[i]; in exit_sem()2395 if (semaphore->semval < 0) in exit_sem()2396 semaphore->semval = 0; in exit_sem()2397 if (semaphore->semval > SEMVMX) in exit_sem()2398 semaphore->semval = SEMVMX; in exit_sem()2399 ipc_update_pid(&semaphore->sempid, task_tgid(current)); in exit_sem()