Searched refs:sem_b (Results 1 – 2 of 2) sorted by relevance
130 struct sembuf sem_b; in os_obtainmutex() local132 sem_b.sem_num = 0; in os_obtainmutex()133 sem_b.sem_op = -1; in os_obtainmutex()134 sem_b.sem_flg = SEM_UNDO; in os_obtainmutex()135 retVal = semop(semid, &sem_b, 1); in os_obtainmutex()141 struct sembuf sem_b; in os_releasemutex() local143 sem_b.sem_num = 0; in os_releasemutex()144 sem_b.sem_op = 1; in os_releasemutex()145 sem_b.sem_flg = SEM_UNDO; in os_releasemutex()146 retVal = semop(semid, &sem_b, 1); in os_releasemutex()
357 struct sembuf sem_b; in os_obtainmutex() local359 sem_b.sem_num = 0; in os_obtainmutex()360 sem_b.sem_op = -1; in os_obtainmutex()361 sem_b.sem_flg = SEM_UNDO; in os_obtainmutex()362 retVal = semop(semid, &sem_b, 1); in os_obtainmutex()368 struct sembuf sem_b; in os_releasemutex() local370 sem_b.sem_num = 0; in os_releasemutex()371 sem_b.sem_op = 1; in os_releasemutex()372 sem_b.sem_flg = SEM_UNDO; in os_releasemutex()373 retVal = semop(semid, &sem_b, 1); in os_releasemutex()