Home
last modified time | relevance | path

Searched refs:sem_b (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libima/common/
H A Dsunima-lib.c130 struct sembuf sem_b; in os_obtainmutex() local
132 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() local
143 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()
H A Dima-lib.c357 struct sembuf sem_b; in os_obtainmutex() local
359 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() local
370 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()