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