Lines Matching refs:d_fd
70 int d_fd;
380 if (state->d_fd < 0)
407 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) {
443 if ((state->d_fd = get_dev_crypto()) < 0)
450 if (ioctl(state->d_fd, CIOCGSESSION, sess) == -1) {
451 close(state->d_fd);
452 state->d_fd = -1;
469 if (state->d_fd < 0)
483 if (ioctl(state->d_fd, CIOCFSESSION, &sess->ses) == -1) {
488 close(state->d_fd);
489 state->d_fd = -1;