Searched defs:lock_file (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 90 char lock_file[MAXPATHLEN], buf[MAXPATHLEN]; local 122 (void) snprintf(lock_file, MAXPATHLEN, _PATH_SYSVOL "/%s.lock", p); 124 if ((fd = open(lock_file, mode, 0644)) == -1)
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 645 i_dladm_lock_db(const char *lock_file, short type) argument 650 if ((lock_fd = open(lock_file, O_RDWR | O_CREAT | O_TRUNC, 663 (void) unlink(lock_file); 671 i_dladm_unlock_db(const char *lock_file, int fd) argument 685 (void) unlink(lock_file);
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_util.c | 1512 smb_file_lock(char *lock_file, smb_lockinfo_t *lockinfo) argument 1525 if ((lockinfo->l_fildes = creat(lock_file, 0600)) == -1)
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 286 lock_file(int fd, boolean_t read_lock, boolean_t set_lock) function 378 if (lock_file(fd, B_FALSE, B_TRUE) != 0) { 388 (void) lock_file(fd, B_FALSE, B_FALSE); 398 (void) lock_file(fd, B_FALSE, B_FALSE); 478 (void) lock_file(fd, B_FALSE, B_FALSE); 486 (void) lock_file(fd, B_FALSE, B_FALSE); 539 if (lock_file(*fd, read_lock, B_TRUE) != 0) { 548 (void) lock_file(*fd, B_TRUE, B_FALSE); /* unlock file */ 559 if (lock_file(*fd, B_TRUE, B_FALSE) != 0) { 572 if (lock_file(*f [all...] |
Completed in 41 milliseconds