Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c172 int fd_mpconf; in InitLibrary() local
194 if ((fd_mpconf = open(mpConfFilePath, O_RDONLY)) < 0) { in InitLibrary()
199 if (lock_register(fd_mpconf, F_SETLKW, F_RDLCK, 0, SEEK_SET, 0) < 0) { in InitLibrary()
200 close(fd_mpconf); in InitLibrary()
205 if ((mpconf = fdopen(fd_mpconf, "r")) == NULL) { in InitLibrary()
206 lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0); in InitLibrary()
207 close(fd_mpconf); in InitLibrary()
284 if (lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in InitLibrary()
286 close(fd_mpconf); in InitLibrary()
291 close(fd_mpconf); in InitLibrary()