Searched defs:file_lock (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c101 mutex_t file_lock = DEFAULTMUTEX; variable
747 (void) mutex_lock(&file_lock);
763 (void) mutex_unlock(&file_lock);
772 (void) mutex_unlock(&file_lock);
966 (void) mutex_unlock(&file_lock);
/osnet-11/usr/src/lib/libpkg/common/
H A Dkeystore.c96 static int file_lock(int, int, int);
1215 if (file_lock(newfd, F_WRLCK, 1) == -1) {
1500 if (file_lock(keystore->cafd, F_RDLCK,
1550 if (file_lock(keystore->cafd, F_WRLCK,
2309 file_lock(int fd, int type, int wait) function

Completed in 52 milliseconds