Lines Matching refs:crioc
1299 struct strioctl crioc; in stop_stream() local
1302 crioc.ic_cmd = CRYPTIOCSTOP; in stop_stream()
1303 crioc.ic_timout = -1; in stop_stream()
1304 crioc.ic_len = sizeof (stopdir); in stop_stream()
1305 crioc.ic_dp = (char *)&stopdir; in stop_stream()
1307 if (ioctl(fd, I_STR, &crioc)) { in stop_stream()
1324 struct strioctl crioc; in start_stream() local
1326 crioc.ic_cmd = (dir == CRYPT_ENCRYPT ? CRYPTIOCSTARTENC : in start_stream()
1328 crioc.ic_timout = -1; in start_stream()
1329 crioc.ic_len = datalen; in start_stream()
1330 crioc.ic_dp = data; in start_stream()
1332 if (ioctl(fd, I_STR, &crioc)) { in start_stream()
1348 struct strioctl crioc; in encrypt_start_output() local
1436 crioc.ic_cmd = CRYPTIOCSETUP; in encrypt_start_output()
1437 crioc.ic_timout = -1; in encrypt_start_output()
1438 crioc.ic_len = sizeof (struct cr_info_t); in encrypt_start_output()
1439 crioc.ic_dp = (char *)&cki; in encrypt_start_output()
1441 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_start_output()
1491 struct strioctl crioc; in encrypt_end() local
1512 crioc.ic_cmd = CRYPTIOCSETUP; in encrypt_end()
1513 crioc.ic_timout = -1; in encrypt_end()
1514 crioc.ic_len = sizeof (cki); in encrypt_end()
1515 crioc.ic_dp = (char *)&cki; in encrypt_end()
1517 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_end()
1585 struct strioctl crioc; in encrypt_start() local
1634 crioc.ic_cmd = CRYPTIOCSETUP; in encrypt_start()
1635 crioc.ic_timout = -1; in encrypt_start()
1636 crioc.ic_len = sizeof (struct cr_info_t); in encrypt_start()
1637 crioc.ic_dp = (char *)&cki; in encrypt_start()
1639 if (ioctl(cryptmod_fd, I_STR, &crioc)) { in encrypt_start()