Lines Matching refs:cafd
62 int cafd; member
445 tmpstore->cafd = -1; in new_keystore()
1470 if ((keystore->cafd = in lock_keystore()
1480 if ((keystore->cafd = in lock_keystore()
1498 if (fstat(keystore->cafd, &buf) != -1) { in lock_keystore()
1500 if (file_lock(keystore->cafd, F_RDLCK, in lock_keystore()
1526 if ((keystore->cafd = open(keystore->capath, in lock_keystore()
1530 if ((keystore->cafd = in lock_keystore()
1548 if (fstat(keystore->cafd, &buf) != -1) { in lock_keystore()
1550 if (file_lock(keystore->cafd, F_WRLCK, in lock_keystore()
1585 if (keystore->cafd > 0) { in lock_keystore()
1586 (void) file_unlock(keystore->cafd); in lock_keystore()
1587 (void) close(keystore->cafd); in lock_keystore()
1588 keystore->cafd = -1; in lock_keystore()
1628 (void) file_unlock(keystore->cafd); in unlock_keystore()
1629 (void) close(keystore->cafd); in unlock_keystore()